edu.uci.ics.jung.visualization.control.NodeSupport 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 edu.uci.ics.jung.visualization.BasicVisualizationServer;
import java.awt.geom.Point2D;
/**
* interface to support the creation of new nodes by the EditingGraphMousePlugin. SimpleNodeSupport
* is a sample implementation.
*
* @author Tom Nelson
* @param the node type
*/
public interface NodeSupport {
void startNodeCreate(BasicVisualizationServer vv, Point2D point);
void midNodeCreate(BasicVisualizationServer vv, Point2D point);
void endNodeCreate(BasicVisualizationServer vv, Point2D point);
}