Interface GraphElement

All Superinterfaces:
Attributable, Comparable<GraphElement>
All Known Subinterfaces:
Edge, Node
All Known Implementing Classes:
AbstractEdge, AbstractGraphElement, AbstractNode, AdjListEdge, AdjListNode, MergedNode, NodeHelper

public interface GraphElement
extends Attributable, Comparable<GraphElement>
Interfaces a graph element. A graph element knows the graph it belongs to and can contain attributes.
Version:
$Revision: 1.5 $
See Also:
Node, Edge
  • Method Details

    • getGraph

      Graph getGraph()
      Returns the Graph the GraphElement belongs to.
      Returns:
      the Graph the GraphElement belongs to.
    • setID

      void setID​(long id)
    • getID

      long getID()
    • getViewID

      int getViewID()
    • setViewID

      void setViewID​(int id)