|
Search this API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface GraphInterface
An interface that describes the structural information of a graph and the data that is associated with its nodes and edges.
Method Summary | |
---|---|
Iterator |
edgeObjects()
Returns an iterator that provides access to all edges residing in the graph. |
DataProvider |
getDataProvider(Object dataKey)
Returns the data provider that is registered with the graph using the given look-up key. |
Object[] |
getDataProviderKeys()
Returns an array of all data provider look-up keys that are registered with the graph. |
Object |
getSource(Object edgeObject)
Returns the source node associated with the given edge. |
Object |
getTarget(Object edgeObject)
Returns the target node associated with the given edge. |
Iterator |
nodeObjects()
Returns an iterator that provides access to all nodes residing in the graph. |
Method Detail |
---|
Iterator nodeObjects()
Iterator edgeObjects()
Object getSource(Object edgeObject)
Object getTarget(Object edgeObject)
DataProvider getDataProvider(Object dataKey)
Object[] getDataProviderKeys()
|
© Copyright 2000-2013, yWorks GmbH. All rights reserved. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |