Packageorg.un.flex.graphLayout.visual
Interfacepublic interface IEdgeRenderer
ImplementorsCircularEdgeRenderer, DefaultEdgeRenderer, DirectedEdgeRenderer, FlowCurveEdgeRenderer, FlowEdgeRenderer, HyperbolicEdgeRenderer, OrthogonalEdgeRenderer

Interface for any Edge renderers, basically this is very simple as it just requires a draw() method.



Public Methods
 MethodDefined by
  
draw(g:Graphics, edge:IEdge, displayLabel:Boolean = false):void
Draws an edge.
IEdgeRenderer
Method detail
draw()method
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.