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
-
setFrom: from Designate the node that will be the source of the link.
-
setTo: to Designate the node that will be the destination of the link.
-
createItem Create a the lines that make up the link item.
-
createBindings A LinkItem is passive; disable the mouse bindings.
Phase: Using
-
setColor: (const char *)
aColor Set the color of the link.
-
update Redraw the link (especially due to the motion of nodes).
- (void)
drop Delete the lines that make up a LinkItem.