edu.uci.ics.jung.visualization.control.EdgeSupport Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jung-visualization Show documentation
Show all versions of jung-visualization Show documentation
Core visualization support for the JUNG project
The newest version!
package edu.uci.ics.jung.visualization.control;
import java.awt.geom.Point2D;
import edu.uci.ics.jung.graph.util.EdgeType;
import edu.uci.ics.jung.visualization.BasicVisualizationServer;
/**
* interface to support the creation of new edges by the EditingGraphMousePlugin
* SimpleEdgeSupport is a sample implementation
* @author tanelso
*
* @param the vertex type
* @param the edge type
*/
public interface EdgeSupport {
void startEdgeCreate(BasicVisualizationServer vv, V startVertex,
Point2D startPoint, EdgeType edgeType);
void midEdgeCreate(BasicVisualizationServer vv, Point2D midPoint);
void endEdgeCreate(BasicVisualizationServer vv, V endVertex);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy