| Package | com.asterisq.constellation |
| Class | public class Constellation |
| Inheritance | Constellation mx.core.UIComponent |
| Implements | IConstellation |
| Property | Defined by | ||
|---|---|---|---|
| behaviors : Array
An ordered list of behaviors which affect nodes in the visualization.
| Constellation | ||
| center : Point [read-only]
| Constellation | ||
| dataProvider : IGraph
The graph data provider.
| Constellation | ||
| edgeRendererFactory : IEdgeRendererFactory
The factory instance used to instantiate edge renderers.
| Constellation | ||
| edgeRenderers : Array [read-only]
A list of all edge renderers.
| Constellation | ||
| nodeRendererFactory : INodeRendererFactory
The factory instance used to instantiate node renderers.
| Constellation | ||
| nodeRenderers : Array [read-only]
A list of all node renderers.
| Constellation | ||
| paused : Boolean
Indicates whether the visualization physics is paused.
| Constellation | ||
| stepDuration : Number
The number of milliseconds between steps in the physics engine.
| Constellation | ||
| Method | Defined by | ||
|---|---|---|---|
|
Creates a new Constellation graph visualization component.
| Constellation | ||
|
getEdgeRenderer(edgeID:String):IEdgeRenderer
(deprecated) Fetches the edge renderer with the given ID.
| Constellation | ||
|
getEdgeRendererByID(edgeID:String):IEdgeRenderer
Fetches the edge renderer with the given ID.
| Constellation | ||
|
getEdgeRendererByNodeIDs(tailNodeID:String, headNodeID:String, bidirectional:Boolean):IEdgeRenderer
Fetches the an edge renderer with the given tail and head node IDs.
| Constellation | ||
|
getEdgeRenderersByDataProperty(propertyName:String, propertyValue:*):Array
Fetches all edge renderers that match the given property name and value.
| Constellation | ||
|
getNodeRenderer(nodeID:String):INodeRenderer
(deprecated) Fetches the node renderer with the given ID.
| Constellation | ||
|
getNodeRendererByID(nodeID:String):INodeRenderer
Fetches the node renderer with the given ID.
| Constellation | ||
|
getNodeRenderersByDataProperty(propertyName:String, propertyValue:*):Array
Fetches all node renderers that match the given property name and value.
| Constellation | ||
| Event | Summary | Defined by | ||
|---|---|---|---|---|
| A component for graph visualization. | Constellation | |||
| Constellation | ||||
| Constellation | ||||
| Constellation | ||||
| Constellation | ||||
| Constellation | ||||
| Constellation | ||||
| behaviors | property |
behaviors:Array [read-write]An ordered list of behaviors which affect nodes in the visualization.
Implementation public function get behaviors():Array
public function set behaviors(value:Array):void
| center | property |
center:Point [read-only]Implementation
public function get center():Point
| dataProvider | property |
dataProvider:IGraph [read-write]The graph data provider. Nodes and edges in this graph are displayed in the graph visualization
Implementation public function get dataProvider():IGraph
public function set dataProvider(value:IGraph):void
| edgeRendererFactory | property |
edgeRendererFactory:IEdgeRendererFactory [read-write]The factory instance used to instantiate edge renderers.
Implementation public function get edgeRendererFactory():IEdgeRendererFactory
public function set edgeRendererFactory(value:IEdgeRendererFactory):void
| edgeRenderers | property |
edgeRenderers:Array [read-only]A list of all edge renderers.
Implementation public function get edgeRenderers():Array
| nodeRendererFactory | property |
nodeRendererFactory:INodeRendererFactory [read-write]The factory instance used to instantiate node renderers.
Implementation public function get nodeRendererFactory():INodeRendererFactory
public function set nodeRendererFactory(value:INodeRendererFactory):void
| nodeRenderers | property |
nodeRenderers:Array [read-only]A list of all node renderers.
Implementation public function get nodeRenderers():Array
| paused | property |
paused:Boolean [read-write]Indicates whether the visualization physics is paused.
Implementation public function get paused():Boolean
public function set paused(value:Boolean):void
| stepDuration | property |
stepDuration:Number [read-write]The number of milliseconds between steps in the physics engine. The default value is 30 ms.
Implementation public function get stepDuration():Number
public function set stepDuration(value:Number):void
| Constellation | () | constructor |
public function Constellation()Creates a new Constellation graph visualization component.
| getEdgeRenderer | () | method |
public function getEdgeRenderer(edgeID:String):IEdgeRenderer(deprecated) Fetches the edge renderer with the given ID.
Deprecated as of version 0.2. Use getEdgeRendererByID instead.
Parameters
edgeID:String |
IEdgeRenderer |
| getEdgeRendererByID | () | method |
public function getEdgeRendererByID(edgeID:String):IEdgeRendererFetches the edge renderer with the given ID.
ParametersedgeID:String |
IEdgeRenderer |
| getEdgeRendererByNodeIDs | () | method |
public function getEdgeRendererByNodeIDs(tailNodeID:String, headNodeID:String, bidirectional:Boolean):IEdgeRendererFetches the an edge renderer with the given tail and head node IDs. Note that there may be more than one but this function only returns the first one found. The bidirectional parameter should be set to true if the directionality between the nodes isn't important.
ParameterstailNodeID:String |
|
headNodeID:String |
|
bidirectional:Boolean |
IEdgeRenderer |
| getEdgeRenderersByDataProperty | () | method |
public function getEdgeRenderersByDataProperty(propertyName:String, propertyValue:*):ArrayFetches all edge renderers that match the given property name and value.
ParameterspropertyName:String |
|
propertyValue:* |
Array |
| getNodeRenderer | () | method |
public function getNodeRenderer(nodeID:String):INodeRenderer(deprecated) Fetches the node renderer with the given ID.
Deprecated as of version 0.2. Use getNodeRendererByID instead.
Parameters
nodeID:String |
INodeRenderer |
| getNodeRendererByID | () | method |
public function getNodeRendererByID(nodeID:String):INodeRendererFetches the node renderer with the given ID.
ParametersnodeID:String |
INodeRenderer |
| getNodeRenderersByDataProperty | () | method |
public function getNodeRenderersByDataProperty(propertyName:String, propertyValue:*):ArrayFetches all node renderers that match the given property name and value.
ParameterspropertyName:String |
|
propertyValue:* |
Array |
| behaviorsChange | event |
A component for graph visualization.
| change | event |
| createEdge | event |
| createNode | event |
| destroyEdge | event |
| destroyNode | event |
| step | event |