Packageorg.un.flex.graphLayout.visual
Interfacepublic interface IVisualEdge extends IVisualItem
ImplementorsVisualEdge

Interface for a visual edge. This does not do a lot. In fact, since the avgNodeSideLength() method is only used by the ForceDirected layouter, maybe this could be eliminated in a future version.



Public Properties
 PropertyDefined by
 Inheriteddata : Object
Access to the items data object.
IVisualItem
  edge : IEdge
[read-only] Access to the associated graph Edge.
IVisualEdge
 Inheritedid : int
Access to the item's unique id.
IVisualItem
  labelView : UIComponent
Access to an associated UIComponent to display a label.
IVisualEdge
  lineStyle : Object
Set the lineStyle of the edge.
IVisualEdge
 Inheritedvgraph : IVisualGraph
Access to the associated VisualGraph of this item.
IVisualItem
Property detail
edgeproperty
edge:IEdge  [read-only]

Access to the associated graph Edge.

Implementation
    public function get edge():IEdge
labelViewproperty 
labelView:UIComponent  [read-write]

Access to an associated UIComponent to display a label.

Implementation
    public function get labelView():UIComponent
    public function set labelView(value:UIComponent):void
lineStyleproperty 
lineStyle:Object  [read-write]

Set the lineStyle of the edge. The parameter passed must be an object, containing a mapping. The properties (keys) in the mapping must match the lineStyle() parameters of Graphics.

Implementation
    public function get lineStyle():Object
    public function set lineStyle(value:Object):void

See also

flash.display.Graphics.lineStyle()