LinkItem
Name
LinkItem -- A canvas item for displaying a link between two nodes.
Description
A CompositeCanvasItem for displaying a link between two NodeItems.
Methods
Phase: Creating
-
setDirectedFlag: (BOOL)
directedFlag For disabling directed link items.
-
setTo: (id <NodeItem>)
to Designate the node that will be the destination of the link.
-
setFrom: (id <NodeItem>)
from Designate the node that will be the source of the link.
Phase: Using
- (void)
update Redraw the link (especially due to the motion of nodes).
- (void)
setColor: (const char *)
aColor Set the color of the link.