]> git.entuzijast.net Git - imunes.git/commit
Implement a generic proc splitLink { link node_type } for splitting a link
authormarko <marko>
Sun, 6 Nov 2005 10:28:19 +0000 (10:28 +0000)
committermarko <marko>
Sun, 6 Nov 2005 10:28:19 +0000 (10:28 +0000)
commit2da6da6e09ba0d2e679791dbb69e6023d781ffbf
tree974f0938d774926c6095a625219aa4aef011059c
parentd142a721767f37fb97103352e570b4a4b81d8a00
Implement a generic proc splitLink { link node_type } for splitting a link
in two.  The proc creates two nodes of type $node_type and replaces the
current $link with two new ones, connecting existing link endpoints to the
newly created nodes.

Implement a "move to another canvas" operation on selected nodes.

Speedup the loadCfg proc by a factor of two by replacing iterative removal
of existing nodes / links with an atomic clearing of *_list globals.  This
particularly speeds up the undo / redo operations which rely on loadCfg.

TODO: merging of cross-canvas links when moving existing nodes from one
canvas to another.  NB this means currently moving "pseudo" nodes over
cross-canvas boundaries is not yet handled properly and will yield
undefined / unexpected results.

Bug found by:
Submitted by:
Requested by: Gordan Gledec
Reviewed by:
Approved by:
Obtained from:
cfgparse.tcl
editor.tcl
initgui.tcl
linkcfg.tcl
nodecfg.tcl