Packagecom.asterisq.graph
Interfacepublic interface IEdge extends IGraphItem, flash.events.IEventDispatcher
ImplementorsEdge, LinkedEdge

Interface for an edge in a graph.



Public Properties
 PropertyDefined by
 Inheriteddata : Object
The graph item's data.
IGraphItem
  headNodeID : String
[read-only] The ID of this edge's head node.
IEdge
 Inheritedid : String
A permanent, unique identifier for this graph item.
IGraphItem
  tailNodeID : String
[read-only] The ID of this edge's tail node.
IEdge
Public Methods
 MethodDefined by
 Inherited
getDataProperty(propertyName:String):*
Fetches the value of a particular property of this graph item's data.
IGraphItem
  
getOtherNodeID(nodeID:String):String
Fetches the ID of the other node in this edge, given one of their IDs.
IEdge
 Inherited
setDataProperty(propertyName:String, value:*):void
Sets the value of a particular property of this graph item's data.
IGraphItem
Property detail
headNodeIDproperty
headNodeID:String  [read-only]

The ID of this edge's head node.

Implementation
    public function get headNodeID():String
tailNodeIDproperty 
tailNodeID:String  [read-only]

The ID of this edge's tail node.

Implementation
    public function get tailNodeID():String
Method detail
getOtherNodeID()method
public function getOtherNodeID(nodeID:String):String

Fetches the ID of the other node in this edge, given one of their IDs.

Parameters
nodeID:String

Returns
String