new info field on every node
authorMalcolm.Wallace@cs.york.ac.uk
local dateTue, 27 Sep 2005 15:35:05
dateTue, 27 Sep 2005 14:35:05
hash20050927143505-6871e-4d35150602fce1444684d8d5189882928ec00332
new info field on every node

Add a new polymorphic info field on every node of the graph. The class
InfoKind constrains the info type, and eventually (in module Main), the
type must be resolved to something concrete, for now just ().
Meanwhile, the info field can be displayed on the diagram (there is a
new View menu, controlling the value of DisplayOptions), and edited as
if it were text (parsed back via Read class).
17 file(s) changed:
Makefile +20 -2
simple.blobpalette +8 -4
src/CommonIO.hs +8 -3
src/ContextMenu.hs +12 -7
src/DisplayOptions.hs [added]
src/Document.hs +12 -10
src/GUIEvents.hs +18 -9
src/InfoKind.hs [added]
src/Main.hs +3 -1
src/Network.hs +12 -25
src/NetworkControl.hs +45 -20
src/NetworkUI.hs +49 -24
src/NetworkView.hs +28 -17
src/Node.hs +15 -6
src/Palette.hs +7 -6
src/State.hs +28 -17
src/StateUtil.hs +2 -2