Interface IGraphObserver<V>

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void edgeDeleted​(V source, V target)
      Used to notify when an edge is deleted from the graph.
      void edgeInserted​(V source, V target)
      Used to notify when an edge is inserted into the graph.
      void nodeDeleted​(V n)
      Used to notify when a node is deleted from the graph.
      void nodeInserted​(V n)
      Used to notify when a node is inserted into the graph.
    • Method Detail

      • edgeInserted

        void edgeInserted​(V source,
                          V target)
        Used to notify when an edge is inserted into the graph.
        Parameters:
        source - the source of the edge
        target - the target of the edge
      • edgeDeleted

        void edgeDeleted​(V source,
                         V target)
        Used to notify when an edge is deleted from the graph.
        Parameters:
        source - the source of the edge
        target - the target of the edge
      • nodeInserted

        void nodeInserted​(V n)
        Used to notify when a node is inserted into the graph.
        Parameters:
        n - the node
      • nodeDeleted

        void nodeDeleted​(V n)
        Used to notify when a node is deleted from the graph.
        Parameters:
        n - the node