\"  nnet_edit.roff from ObjectProDSP 0.1
\"  Copyright (C) 1994, Mountain Math Software, All rights reserved.
\"  Licensed for free use and distribution under version 2 of the Gnu General
\"  Public License. Please see file COPYING for details and restrictions.
\"  
\"  ObjectProDSP is a trademark of Mountain Math Software.
\"  
.H 1 "Graphically editing a network"

You can create and edit a network using the keyboard or mouse.
The `Edit' button in the upper left hand corner
of the network window must be depressed to enable editing.
To select editing press and release any mouse button with
the cursor in the `Edit' button.
Only one network can be edited at a time.

To create a new network disable editing on any existing network
and  create an instance of a node. When a network window is first
displayed, editing will be enabled unless there is existing network
with editing enabled.
Instances of nodes can be created and added to a network
from the menu database.
Select `menu database' under the `Help' pull down menu for a description.
Or try the example described in the `introduction' help window.


Once a node is in the network window you can connect it to other nodes
in the same window. Nodes can be connected either to an output channel
or a buffer for an output channel. There are fixed number of unique
output channels (most commonly one) for each node. You can have 
many taps from a single output channel.
Use the middle mouse button to select the next unused output
channel. Use the right mouse button to add a tap to the buffer
in the current output channel.
(For all network editing operations with the mouse you must
hold the shift key down.)

The buffers are represented by a small box
with a number in it if there is more than one connection for the buffer.
If you want to tap into a node for a channel that is already connected
press the right mouse button in the box representing the buffer you want
to connect to. If there is more than one input or output channel for a node
the channel number will appear in front of (output channel) or
after (input) channel the buffer for the connection.

A single node can be replaced with a different compatible node.
To replace a node hold both the control and shift keys down and
press and release the right mouse button on the node to be replaced.
Then do the same thing to select the replacement node.

You can remove a node from a network. This will force any node in the
network that is only connected through that node to also be removed
from the network. Most removed nodes  will be available
for reuse but some will be deleted because they cannot be reconnected.
You can also clear all nodes in a network with the `Network' and
`DataFlow' member function `ClearNetwork'.

An existing node can be added to a network with member function `edit'.

