| Constructor and Description |
|---|
TutteEmbedding(Graph<V,E> graph) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<V,java.awt.geom.Point2D> |
execute(java.util.List<V> J,
java.awt.geom.Point2D center,
double treshold)
Executes the algorithm, calculates each vertex's position
|
public java.util.Map<V,java.awt.geom.Point2D> execute(java.util.List<V> J, java.awt.geom.Point2D center, double treshold)
J - Vertices belonging to the outside facecenter - Center of the drawingtreshold - Parameter which determines the distance between vertices