public EditingGraphMousePlugin(int modifiers,Supplier<V> vertexFactory,Supplier<E> edgeFactory){
  super(modifiers);
  this.cursor=Cursor.getPredefinedCursor(Cursor.CROSSHAIR_CURSOR);
  this.vertexSupport=new SimpleVertexSupport<V,E>(vertexFactory);
  this.edgeSupport=new SimpleEdgeSupport<V,E>(edgeFactory);
}

public EditingGraphMousePlugin ( int modifiers , Supplier < V > vertexFactory , Supplier < E > edgeFactory ) { super ( modifiers ) ; this . cursor = Cursor . getPredefinedCursor ( Cursor . CROSSHAIR_CURSOR ) ; this . vertexSupport = new SimpleVertexSupport < V , E > ( vertexFactory ) ; this . edgeSupport = new SimpleEdgeSupport < V , E > ( edgeFactory ) ; }
creates an instance and prepares shapes for visual effects .
