public class BasicModularGraphModel.BasicNodeModel extends Object implements MutableCompositeNodeModel
| Constructor and Description |
|---|
BasicNodeModel() |
| Modifier and Type | Method and Description |
|---|---|
int |
getNodeCount(Object composite)
Return the number of nodes contained in
this graph or composite node.
|
Object |
getParent(Object node)
Return the graph parent of the given node.
|
Iterator |
inEdges(Object node)
Return an iterator over the edges coming into the given node.
|
Iterator |
nodes(Object composite)
Provide an iterator over the nodes in the
given graph or composite node.
|
Iterator |
outEdges(Object node)
Return an iterator over the edges coming out of the given node.
|
void |
setParent(Object node,
Object parent)
Set the graph parent of the given node.
|
public Iterator inEdges(Object node)
public Iterator outEdges(Object node)
public void setParent(Object node, Object parent)
setParent in interface MutableNodeModelpublic int getNodeCount(Object composite)
getNodeCount in interface CompositeModelpublic Iterator nodes(Object composite)
nodes in interface CompositeModelCopyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.