public class GraphDrawingTool<NodeType extends Node<NodeType,Vector2D,IdentifierType>,EdgeType extends Edge<NodeType>,IdentifierType,GraphType extends Graph<NodeType,EdgeType,IdentifierType>> extends Object
| Constructor and Description |
|---|
GraphDrawingTool(GraphType graph,
javafx.beans.property.DoubleProperty drawingWidth,
javafx.beans.property.DoubleProperty drawingHeight,
int totalIterations)
Creates a new GraphDrawingTool.
|
| Modifier and Type | Method and Description |
|---|---|
GraphType |
arrangeGraph(int i)
Calculates one iteration of the optimization process and returns the
resulting graph.
|
public GraphDrawingTool(GraphType graph, javafx.beans.property.DoubleProperty drawingWidth, javafx.beans.property.DoubleProperty drawingHeight, int totalIterations)
totalIterations - Number of total iterationsgraph - The graph to arrangedrawingHeight - The height property.drawingWidth - The width property.public GraphType arrangeGraph(int i)
i - The current iteration.Copyright © 2017. All rights reserved.