/* * Copyright (c) 2003, the JUNG Project and the Regents of the University * of California * All rights reserved. * * This software is open-source under the BSD license; see either * "license.txt" or * http://jung.sourceforge.net/license.txt for a description. */ package edu.uci.ics.jung.algorithms.layout; import java.awt.Dimension; import java.awt.geom.Point2D; import org.apache.commons.collections15.Transformer; import edu.uci.ics.jung.graph.Graph; /** * A generalized interface is a mechanism for returning (x,y) coordinates * from vertices. In general, most of these methods are used to both control and * get information from the layout algorithm. *
* @author danyelf
* @author tom nelson
*/
public interface Layouttrue
if the position of vertex v
* is locked.
*/
boolean isLocked(V v);
/**
* set the location of a vertex
* @param v
* @param location
*/
void setLocation(V v, Point2D location);
}