Interface GraphObject

All Known Subinterfaces:
Edge, Node
All Known Implementing Classes:
AbstractEdge, AbstractNode, ControlWrapper, ControlWrapper, ConversionWrapper, EdgeL3, EdgeL3, EventWrapper, EventWrapper, InteractionWrapper, PhysicalEntityWrapper, PhysicalEntityWrapper, TemplateReactionWrapper

public interface GraphObject
A graph object is the common interface for nodes and edges in a graph.
Author:
Ozgun Babur
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    This method should clear any analysis specific labels on the object.
    Every graph object should have an owner graph.
    This method is used for storing the object in a Map.
  • Method Details

    • getGraph

      Graph getGraph()
      Every graph object should have an owner graph.
      Returns:
      The owner graph
    • getKey

      String getKey()
      This method is used for storing the object in a Map. The key should be uniquely generated for each edge in a graph.
      Returns:
      The key
    • clear

      void clear()
      This method should clear any analysis specific labels on the object.