public static class BasicModularGraphModel.BasicNodeModel extends java.lang.Object implements MutableCompositeNodeModel
Constructor and Description |
---|
BasicNodeModel() |
Modifier and Type | Method and Description |
---|---|
int |
getNodeCount(java.lang.Object composite)
Return the number of nodes contained in
this graph or composite node.
|
java.lang.Object |
getParent(java.lang.Object node)
Return the graph parent of the given node.
|
java.util.Iterator |
inEdges(java.lang.Object node)
Return an iterator over the edges coming into the given node.
|
java.util.Iterator |
nodes(java.lang.Object composite)
Provide an iterator over the nodes in the
given graph or composite node.
|
java.util.Iterator |
nodesAfterEdges(java.lang.Object composite)
Provide an iterator over the nodes that should
be rendered after to the edges.
|
java.util.Iterator |
nodesBeforeEdges(java.lang.Object composite)
Provide an iterator over the nodes that should
be rendered prior to the edges.
|
java.util.Iterator |
outEdges(java.lang.Object node)
Return an iterator over the edges coming out of the given node.
|
void |
setParent(java.lang.Object node,
java.lang.Object parent)
Set the graph parent of the given node.
|
public java.util.Iterator inEdges(java.lang.Object node)
public java.util.Iterator outEdges(java.lang.Object node)
public java.lang.Object getParent(java.lang.Object node)
public void setParent(java.lang.Object node, java.lang.Object parent)
setParent
in interface MutableNodeModel
public int getNodeCount(java.lang.Object composite)
getNodeCount
in interface CompositeModel
public java.util.Iterator nodes(java.lang.Object composite)
nodes
in interface CompositeModel
public java.util.Iterator nodesBeforeEdges(java.lang.Object composite)
nodesBeforeEdges
in interface CompositeModel
public java.util.Iterator nodesAfterEdges(java.lang.Object composite)
nodesAfterEdges
in interface CompositeModel