| Package | com.yworks.yfiles.base |
| Interface | public interface GraphInterface |
| Implementors | Graph, LayoutGraphAdapter |
| Property | Defined By | ||
|---|---|---|---|
| dataProviderKeys : Vector.<Object> [read-only]
Returns an array of all data provider look-up keys that are registered with the graph. | GraphInterface | ||
| Method | Defined By | ||
|---|---|---|---|
Returns an iterator that provides access to all edges residing in the graph. | GraphInterface | ||
getDataProvider(dataKey:Object):DataProvider
Returns the data provider that is registered with the graph using the given look-up key. | GraphInterface | ||
getSource(edgeObject:Object):Object
Returns the source node associated with the given edge. | GraphInterface | ||
getTarget(edgeObject:Object):Object
Returns the target node associated with the given edge. | GraphInterface | ||
Returns an iterator that provides access to all nodes residing in the graph. | GraphInterface | ||
| dataProviderKeys | property |
dataProviderKeys:Vector.<Object> [read-only] Returns an array of all data provider look-up keys that are registered with the graph.
public function get dataProviderKeys():Vector.<Object>| edgeObjects | () | method |
public function edgeObjects():IteratorReturns an iterator that provides access to all edges residing in the graph.
ReturnsIterator |
| getDataProvider | () | method |
public function getDataProvider(dataKey:Object):DataProviderReturns the data provider that is registered with the graph using the given look-up key. The look-up domain of a returned data provider normally consists of either the nodes of the graph, or its edges, or both.
Parameters
dataKey:Object |
DataProvider |
| getSource | () | method |
public function getSource(edgeObject:Object):ObjectReturns the source node associated with the given edge.
Parameters
edgeObject:Object |
Object |
| getTarget | () | method |
public function getTarget(edgeObject:Object):ObjectReturns the target node associated with the given edge.
Parameters
edgeObject:Object |
Object |
| nodeObjects | () | method |
public function nodeObjects():IteratorReturns an iterator that provides access to all nodes residing in the graph.
ReturnsIterator |