Interface VisualGraphChangeListener<V,E>


public interface VisualGraphChangeListener<V,E>
A listener to get notified of graph changes.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Called when the given edges have been added from the graph
    void
    Called when the given edges have been removed from the graph
    void
    Called when the given vertices have been added from the graph
    void
    Called when the given vertices have been removed from the graph
  • Method Details

    • verticesAdded

      void verticesAdded(Iterable<V> vertices)
      Called when the given vertices have been added from the graph
      Parameters:
      vertices - the added vertices
    • verticesRemoved

      void verticesRemoved(Iterable<V> vertices)
      Called when the given vertices have been removed from the graph
      Parameters:
      vertices - the removed vertices
    • edgesAdded

      void edgesAdded(Iterable<E> edges)
      Called when the given edges have been added from the graph
      Parameters:
      edges - the added edges
    • edgesRemoved

      void edgesRemoved(Iterable<E> edges)
      Called when the given edges have been removed from the graph
      Parameters:
      edges - the removed edges