Adding Links

Netica

Adding Links

To add a link from one node to another, first click the image\LinkArrowTOOL.gif  toolbar button, choose Modify Add Link, or press the f10 key.  When you next move the cursor to the = 4 && typeof(BSPSPopupOnMouseOver) == 'function') BSPSPopupOnMouseOver(event);" class="BSSCPopup" onclick="BSSCPopup('X_PU_active_window.htm');return false;">active net window, it will change to a link shape indicating that it is ready to add a link.  Click on the node that you wish to be the = 4 && typeof(BSPSPopupOnMouseOver) == 'function') BSPSPopupOnMouseOver(event);" class="BSSCPopup" onclick="BSSCPopup('X_PU_parent_node.htm');return false;">parent, and then click on the = 4 && typeof(BSPSPopupOnMouseOver) == 'function') BSPSPopupOnMouseOver(event);" class="BSSCPopup" onclick="BSSCPopup('X_PU_child_node.htm');return false;">child node.  Alternately, you can click down on the parent, and while holding the mouse button down, move to the child and then release it.  The link will appear.  If you want, you can then change the shape of the link.

Adding-Mode:  To add a series of links, double-click the image\LinkArrowTOOL.gif  button, or double-press the f10 button (i.e. press it twice in quick succession).  The cursor will change to a link shape as before, but now it will stay that way as you add multiple links.  To exit this link-adding mode, click the image\LinkArrowTOOL.gif  button again, or press the f10 key again, or click the image\SelectTOOL.gif button (or click on a node-adding tool button or press a node-adding key).

Several at Once:  To add links from one node to many, = 4 && typeof(BSPSPopupOnMouseOver) == 'function') BSPSPopupOnMouseOver(event);" class="BSSCPopup" onclick="BSSCPopup('X_PU_select_link.htm');return false;">select all the nodes you want the links to go to, then draw a link from the desired parent to one of them, and all the links will be created.

To add links from many nodes to one, select all the nodes you want the links to come from, then draw a link from one of them to the desired child, and all the links will be created.

Deleting:  To delete links, simply select all the links you wish to delete, and then press the delete key or choose Edit Delete.  Alternately, you can = 4 && typeof(BSPSPopupOnMouseOver) == 'function') BSPSPopupOnMouseOver(event);" class="BSSCPopup" onclick="BSSCPopup('X_PU_right_click.htm');return false;">right-click on a link and choose Delete.

Overlapping and Cycles:  It is possible to add more than one link between the same two nodes, or to create = 4 && typeof(BSPSPopupOnMouseOver) == 'function') BSPSPopupOnMouseOver(event);" class="BSSCPopup" onclick="BSSCPopup('X_PU_directed_cycle.htm');return false;">directed cycles.  For most Bayes net work, you don't want to do either of these, and so Netica will beep and put a warning in the = 4 && typeof(BSPSPopupOnMouseOver) == 'function') BSPSPopupOnMouseOver(event);" class="BSSCPopup" onclick="BSSCPopup('X_PU_Messages_window.htm');return false;">Messages window (it doesn't stop you, since these may be valid operations when creating a DBN or net fragment, but if you try to = 4 && typeof(BSPSPopupOnMouseOver) == 'function') BSPSPopupOnMouseOver(event);" class="BSSCPopup" onclick="BSSCPopup('X_PU_compile_net.htm');return false;">compile the net it will give you an error message).  To remove an overlapping link, just click on it and press the delete key; you might not notice it disappearing, since after it is gone, you will still see the link under it.

Right-clicking Options:  For an unselected node, you can right-click on it and choose to Add Link To or From any of the other nodes in the net.  

Once you select a node or group of nodes, right-clicking will allow you to add links To or From any other node in the net.  If a group of nodes is selected, you can also right-click on an unselected node and choose to Links Add Link To or From Selected Nodes.  More Info