|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Provide generic access to the objects in a graph structure
| Method Summary | |
int |
getEdgeCount()
The number of edges in the graph. |
Iterator |
getEdgeObjects()
Return an iterator over all edges that are contained in the current graph object |
Iterator |
getEndpointObjects(Object hyperedge)
Return an iterator over all endpoints that belong to the given hyperedge |
Object |
getGraphObject()
The enclosing graph. |
int |
getHyperEdgeCount()
The number of hyperedges in the graph. |
Iterator |
getHyperEdgeObjects()
Return an iterator over all hyperedges that are contained in the current graph object |
int |
getNodeCount()
The number of nodes in the graph. |
Iterator |
getNodeObjects()
Return an iterator over all nodes that are contained in the current graph object |
GraphElementProvider |
getNodeSubgraph(Object node)
Returns the subgraph which might be defined under a node. |
Iterator |
getPortObjects(Object node)
Return an iterator over all ports that belong to the given node |
Object |
getSourceNode(Object edge)
Returns the source node of an edge. |
Object |
getSourcePort(Object edge)
Returns the source port of an edge. |
Object |
getTargetNode(Object edge)
Returns the target node of an edge. |
Object |
getTargetPort(Object edge)
Returns the target port of an edge. |
boolean |
isDefaultDirected()
Returns whether the default direction of edges in the graph is directed. |
boolean |
isDirected(Object edge)
Returns whether an edge is directed. |
| Method Detail |
public boolean isDefaultDirected()
true iff edges are directed by defaultpublic int getNodeCount()
public int getEdgeCount()
public int getHyperEdgeCount()
public Object getGraphObject()
public Iterator getNodeObjects()
public Iterator getEdgeObjects()
public GraphElementProvider getNodeSubgraph(Object node)
null if no
such subgraph exists.public Object getSourceNode(Object edge)
public Object getTargetNode(Object edge)
public Object getSourcePort(Object edge)
public Object getTargetPort(Object edge)
public boolean isDirected(Object edge)
true iff the edge is directedpublic Iterator getEndpointObjects(Object hyperedge)
public Iterator getHyperEdgeObjects()
public Iterator getPortObjects(Object node)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||