All Downloads are FREE. Search and download functionalities are using the official Maven repository.

edu.uci.ics.jung.visualization.control.NodeSupport Maven / Gradle / Ivy

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);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy