Packageorg.un.flex.graphLayout.visual
Interfacepublic interface IVisualItem
SubinterfacesIVisualEdge, IVisualNode

Interface for any visual item, provides access to an internal id, a data object and a related VisualGraph.



Public Properties
 PropertyDefined by
  data : Object
Access to the items data object.
IVisualItem
  id : int
[read-only] Access to the item's unique id.
IVisualItem
  vgraph : IVisualGraph
[read-only] Access to the associated VisualGraph of this item.
IVisualItem
Property detail
dataproperty
data:Object  [read-write]

Access to the items data object.

Implementation
    public function get data():Object
    public function set data(value:Object):void
idproperty 
id:int  [read-only]

Access to the item's unique id. Every item has one. This interface does not support the direct setting of the id, this should rather happen through the constructor.

Implementation
    public function get id():int
vgraphproperty 
vgraph:IVisualGraph  [read-only]

Access to the associated VisualGraph of this item.

Implementation
    public function get vgraph():IVisualGraph