Package diva.graph.modular
Interface NodeModel
-
- All Known Subinterfaces:
CompositeNodeModel
,MutableCompositeNodeModel
,MutableNodeModel
- All Known Implementing Classes:
ActorGraphModel.ExternalPortModel
,ActorGraphModel.IconModel
,ActorGraphModel.PortModel
,ActorGraphModel.VertexModel
,AttributeNodeModel
,BasicModularGraphModel.BasicNodeModel
,FSMGraphModel.PortModel
,FSMGraphModel.StateModel
,NamedObjNodeModel
,OntologyGraphModel.ConceptModel
,OntologySolverGraphModel.OntologyModel
public interface NodeModel
A node is an object that is contained by a graph and is connected to other nodes by edges. A node has a semantic object that is its semantic equivalent in the application and may have a visual object which is its syntactic representation in the user interface.- Version:
- $Id$
- Author:
- Michael Shilman
- Pt.AcceptedRating:
- Red
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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
outEdges(java.lang.Object node)
Return an iterator over the edges coming out of the given node.
-
-
-
Method Detail
-
inEdges
java.util.Iterator inEdges(java.lang.Object node)
Return an iterator over the edges coming into the given node.
-
outEdges
java.util.Iterator outEdges(java.lang.Object node)
Return an iterator over the edges coming out of the given node.
-
getParent
java.lang.Object getParent(java.lang.Object node)
Return the graph parent of the given node.
-
-