public function draw(g:Graphics, edge:IEdge, displayLabel:Boolean = false):void
Draws an edge.
The way how the colouring is currently handled, with the distinguished
parameter is not appropriate, this may need to change to something more
flexible.
Parameters
| g:Graphics — Reference to the Graphics object of the Drawing surface.
|
| |
| edge:IEdge — The edge to draw, it needs to provide all the information required, i.e. locations.
|
| |
| displayLabel:Boolean (default = false) — If set, it displays a label in the middle of the egde, provided the edge
has an edge renderer (UIComponent) associated with it.
|