V - The vertex typeE - The edge typepublic abstract class AbstractLayouter<V extends Vertex,E extends Edge<V>>
extends java.lang.Object
| Constructor and Description |
|---|
AbstractLayouter() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isOneGraph() |
boolean |
isPositionsEdges() |
abstract Drawing<V,E> |
layout(Graph<V,E> graph,
GraphLayoutProperties layoutProperties)
Lays out the graph, taking into account given properties
|
void |
setOneGraph(boolean oneGraph) |
void |
setPositionsEdges(boolean positionsEdges) |
public abstract Drawing<V,E> layout(Graph<V,E> graph, GraphLayoutProperties layoutProperties)
graph - Graph that should be laid outlayoutProperties - Properties of the layout algorithmpublic boolean isOneGraph()
public void setOneGraph(boolean oneGraph)
oneGraph - Indicator of whether the algorithm handles the whole graph to setpublic boolean isPositionsEdges()
public void setPositionsEdges(boolean positionsEdges)
positionsEdges - Indicator of weather the edges are routed to set