diva.graph.modular
Interface NodeModel

All Known Subinterfaces:
CompositeNodeModel, MutableCompositeNodeModel, MutableNodeModel
All Known Implementing Classes:
BasicModularGraphModel.BasicNodeModel

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:
$Revision: 1.4 $
Author:
Michael Shilman (michaels@eecs.berkeley.edu)

Method Summary
 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 outEdges(Object node)
          Return an iterator over the edges coming out of the given node.
 

Method Detail

inEdges

Iterator inEdges(Object node)
Return an iterator over the edges coming into the given node.


outEdges

Iterator outEdges(Object node)
Return an iterator over the edges coming out of the given node.


getParent

Object getParent(Object node)
Return the graph parent of the given node.



Copyright © 2015 Central Laboratory of the Research Councils. All Rights Reserved.