Ports in nodes
authorMiguel Vilaca <jmvilaca@di.uminho.pt>
local dateThu, 19 Jan 2006 19:43:08
dateThu, 19 Jan 2006 19:43:08
hash20060119194308-970b1-d4abf8d75030adb7ffc4d0941d78751d87324f68
Ports in nodes

This changes the notion of node.
A node now can have ports which are the places where edges can be connected.
Those ports are optional to continue allowing simple graphs.
This implies big changes in the Network, the Palette, the selection mechanism, the read/write to file operations and the display on canvas feature.
13 file(s) changed:
NatExample.INblobs [added]
NatIN.INblobpalette [added]
src/ContextMenu.hs +1 -1
src/Document.hs +2 -1
src/GUIEvents.hs +18 -15
src/Network.hs +114 -36
src/NetworkControl.hs +34 -12
src/NetworkFile.hs +10 -3
src/NetworkUI.hs +12 -5
src/NetworkView.hs +54 -9
src/Palette.hs +7 -4
src/Ports.hs [added]
src/State.hs +1 -1