diva.graph.modular
Interface MutableNodeModel

All Superinterfaces:
NodeModel
All Known Subinterfaces:
MutableCompositeNodeModel
All Known Implementing Classes:
BasicModularGraphModel.BasicNodeModel

public interface MutableNodeModel
extends 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: MutableNodeModel.java 38798 2005-07-08 20:00:01Z cxh $
Author:
Michael Shilman
Accepted Rating:
Red

Method Summary
 void setParent(java.lang.Object node, java.lang.Object composite)
          Set the graph parent of the given node.
 
Methods inherited from interface diva.graph.modular.NodeModel
getParent, inEdges, outEdges
 

Method Detail

setParent

void setParent(java.lang.Object node,
               java.lang.Object composite)
Set the graph parent of the given node. Implementors of this method are also responsible for insuring that it is set properly as the child of the graph in the graph.