Go up to 4.2 Constructing the Network Go forward to link : Linking Nodes |
node
: Creating Nodesn = node(p) Node n Program p n = node(p, t, x, y) Node n Program p String t int x int y
Both functions create a new network node n executing the program denoted by p.
The first function may be used only if the program is not visualized.
The second function tells the visualizer to label the visual representation of n with text t and put it at the screen coordinates x/y. This function may be also used if the program is not visualized.