| Package | com.asterisq.graph |
| Class | public class LinkedEdge |
| Inheritance | LinkedEdge Edge GraphItem flash.events.EventDispatcher |
| Implements | IEdge |
| Property | Defined by | ||
|---|---|---|---|
![]() | data : Object | GraphItem | |
| headNode : INode
[read-only]
Fetches the head node.
| LinkedEdge | ||
| headNodeID : String [read-only]
Fetches the ID of the head node.
| LinkedEdge | ||
![]() | id : String | GraphItem | |
| nodes : Array [read-only]
Fetches an ordered list of node IDs in this edge.
| LinkedEdge | ||
| tailNode : INode
[read-only]
Fetches the tail node.
| LinkedEdge | ||
| tailNodeID : String [read-only]
Fetches the ID of the tail node.
| LinkedEdge | ||
| Method | Defined by | ||
|---|---|---|---|
|
Creates a new linked node.
| LinkedEdge | ||
![]() |
getDataProperty(propertyName:String):*
Fetches the value of a particular property of this graph item's data.
| GraphItem | |
![]() |
getNodeIDs():Array
Fetches an ordered list of node IDs in this edge.
| Edge | |
|
Fetches the other node in this edge, given one of them.
| LinkedEdge | ||
![]() |
getOtherNodeID(nodeID:String):String
Fetches the ID of the other node in this edge, given one of their IDs.
| Edge | |
![]() |
setDataProperty(propertyName:String, value:*):void
Sets the value of a particular property of this graph item's data.
| GraphItem | |
|
Converts this
LinkedEdge instance to an Edge. | LinkedEdge | ||
|
toString():String
| LinkedEdge | ||
| headNode | property |
headNode:INode [read-only]Fetches the head node.
Implementation public function get headNode():INode
| headNodeID | property |
headNodeID:String [read-only]Fetches the ID of the head node.
Implementation public function get headNodeID():String
| nodes | property |
nodes:Array [read-only]Fetches an ordered list of node IDs in this edge. The first element is the tail node ID and the second element is the head node ID.
Implementation public function get nodes():Array
| tailNode | property |
tailNode:INode [read-only]Fetches the tail node.
Implementation public function get tailNode():INode
| tailNodeID | property |
tailNodeID:String [read-only]Fetches the ID of the tail node.
Implementation public function get tailNodeID():String
| LinkedEdge | () | constructor |
public function LinkedEdge(id:String, tailNode:LinkedNode, headNode:LinkedNode, data:Object = null)Creates a new linked node.
Parametersid:String |
|
tailNode:LinkedNode |
|
headNode:LinkedNode |
|
data:Object (default = null) |
| getOtherNode | () | method |
public function getOtherNode(node:INode):INodeFetches the other node in this edge, given one of them.
Parametersnode:INode |
INode |
| toEdge | () | method |
| toString | () | method |
public override function toString():StringReturns
String |