Class SimpleVertexSupport<V,​E>

  • Type Parameters:
    V - the vertex type
    E - the edge type
    All Implemented Interfaces:
    VertexSupport<V,​E>

    public class SimpleVertexSupport<V,​E>
    extends java.lang.Object
    implements VertexSupport<V,​E>
    sample implementation showing how to use the VertexSupport interface member of the EditingGraphMousePlugin. override midVertexCreate and endVertexCreate for more elaborate implementations
    • Field Detail

      • vertexFactory

        protected com.google.common.base.Supplier<V> vertexFactory
    • Constructor Detail

      • SimpleVertexSupport

        public SimpleVertexSupport​(com.google.common.base.Supplier<V> vertexFactory)