Interface VisualGraphChangeListener<V,​E>


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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void edgesAdded​(java.lang.Iterable<E> edges)
      Called when the given edges have been added from the graph
      void edgesRemoved​(java.lang.Iterable<E> edges)
      Called when the given edges have been removed from the graph
      void verticesAdded​(java.lang.Iterable<V> vertices)
      Called when the given vertices have been added from the graph
      void verticesRemoved​(java.lang.Iterable<V> vertices)
      Called when the given vertices have been removed from the graph
    • Method Detail

      • verticesAdded

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

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

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

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