public abstract class GraphLayout
extends java.lang.Object
Graph
in GraphView
that means to position the vertices of a graph automatically.Constructor and Description |
---|
GraphLayout() |
public abstract <V extends Vertex,E extends Edge> void layout(Graph<V,E> graph, GraphView<V,E> graphView)
GraphView.getVisualVertex(Vertex)
of the graph view to get the visual component of a vertex of the graph.graph
- the graphgraphView
- the graph view where the graph is displayed