Interface Node

  • All Superinterfaces:
    PropertyContainer, SemanticObjectContainer
    All Known Subinterfaces:
    CompositeNode

    public interface Node
    extends SemanticObjectContainer, PropertyContainer
    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 Detail

      • inEdges

        java.util.Iterator inEdges()
        Return an iterator over the edges coming into this node.
      • outEdges

        java.util.Iterator outEdges()
        Return an iterator over the edges coming out of this node.
      • getParent

        Graph getParent()
        Return the graph parent of this node.
      • setParent

        void setParent​(Graph parent)
        Set the graph parent of this node. Implementors of this method are also responsible for insuring that it is set properly as the child of the graph in the graph.