Packagecom.asterisq.graph
Interfacepublic interface IGraphItem extends flash.events.IEventDispatcher
SubinterfacesIEdge, INode

Interface for an item in a graph.



Public Properties
 PropertyDefined by
  data : Object
The graph item's data.
IGraphItem
  id : String
[read-only] A permanent, unique identifier for this graph item.
IGraphItem
Public Methods
 MethodDefined by
  
getDataProperty(propertyName:String):*
Fetches the value of a particular property of this graph item's data.
IGraphItem
  
setDataProperty(propertyName:String, value:*):void
Sets the value of a particular property of this graph item's data.
IGraphItem
Property detail
dataproperty
data:Object  [read-write]

The graph item's data. Use this property to store any information associated with this item.

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

A permanent, unique identifier for this graph item.

Implementation
    public function get id():String
Method detail
getDataProperty()method
public function getDataProperty(propertyName:String):*

Fetches the value of a particular property of this graph item's data.

Parameters
propertyName:String

Returns
*
setDataProperty()method 
public function setDataProperty(propertyName:String, value:*):void

Sets the value of a particular property of this graph item's data.

Parameters
propertyName:String
 
value:*