Class TestEiglspergerLayoutAlgorithm<V,E>
- java.lang.Object
-
- org.jungrapht.visualization.layout.algorithms.AbstractHierarchicalMinCrossLayoutAlgorithm<V,E>
-
- org.jungrapht.visualization.layout.algorithms.EiglspergerLayoutAlgorithm<V,E>
-
- org.jungrapht.samples.sugiyama.test.algorithms.TestEiglspergerLayoutAlgorithm<V,E>
-
- Type Parameters:
V-E-
- All Implemented Interfaces:
Consumer<Function<V,Rectangle>>,Layered<V,E>,LayoutAlgorithm<V>,AfterRunnable,EdgeArticulationFunctionSupplier<E>,ExecutorConsumer,Threaded,VertexBoundsFunctionConsumer<V>
public class TestEiglspergerLayoutAlgorithm<V,E> extends EiglspergerLayoutAlgorithm<V,E> implements LayoutAlgorithm<V>
Test only, as this class is hard-coded for a specific test graph
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTestEiglspergerLayoutAlgorithm.Builder<V,E,T extends TestEiglspergerLayoutAlgorithm<V,E> & EdgeAwareLayoutAlgorithm<V,E>,B extends TestEiglspergerLayoutAlgorithm.Builder<V,E,T,B>>a Builder to create a configured instance-
Nested classes/interfaces inherited from interface org.jungrapht.visualization.layout.algorithms.LayoutAlgorithm
LayoutAlgorithm.NoOp<V>
-
Nested classes/interfaces inherited from interface org.jungrapht.visualization.layout.algorithms.util.Threaded
Threaded.NoOp
-
-
Field Summary
-
Fields inherited from class org.jungrapht.visualization.layout.algorithms.AbstractHierarchicalMinCrossLayoutAlgorithm
after, bounds, cancelled, completionCounter, edgePointMap, executor, expandLayout, layering, layoutModel, MAX_LEVEL_CROSS, maxLevelCross, maxLevelCrossFunction, MINCROSS_POST_STRAIGHTEN, MINCROSS_STRAIGHTEN_EDGES, MINCROSS_THREADED, postStraighten, roots, runnables, separateComponents, straightenEdges, threaded, transpose, TRANSPOSE_LIMIT, vertexBoundsFunction
-
-
Constructor Summary
Constructors Modifier Constructor Description TestEiglspergerLayoutAlgorithm()protectedTestEiglspergerLayoutAlgorithm(TestEiglspergerLayoutAlgorithm.Builder builder)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <V,E>
TestEiglspergerLayoutAlgorithm.Builder<V,E,?,?>edgeAwareBuilder()voidvisit(LayoutModel<V> layoutModel)visit the passed layoutModel and set its locations-
Methods inherited from class org.jungrapht.visualization.layout.algorithms.EiglspergerLayoutAlgorithm
builder, getRunnable
-
Methods inherited from class org.jungrapht.visualization.layout.algorithms.AbstractHierarchicalMinCrossLayoutAlgorithm
cancel, constrained, getEdgeArticulationFunction, getExecutor, isComplete, isThreaded, runAfter, setAfter, setExecutor, setLayering, setMaxLevelCrossFunction, setThreaded, setVertexBoundsFunction
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.jungrapht.visualization.layout.algorithms.util.AfterRunnable
runAfter, setAfter
-
Methods inherited from interface org.jungrapht.visualization.layout.algorithms.util.ExecutorConsumer
getExecutor, setExecutor
-
Methods inherited from interface org.jungrapht.visualization.layout.algorithms.Layered
setLayering, setMaxLevelCrossFunction
-
Methods inherited from interface org.jungrapht.visualization.layout.algorithms.LayoutAlgorithm
cancel, constrained
-
Methods inherited from interface org.jungrapht.visualization.layout.algorithms.util.Threaded
cancel, isThreaded, setThreaded
-
Methods inherited from interface org.jungrapht.visualization.layout.algorithms.util.VertexBoundsFunctionConsumer
accept, setVertexBoundsFunction
-
-
-
-
Constructor Detail
-
TestEiglspergerLayoutAlgorithm
public TestEiglspergerLayoutAlgorithm()
-
TestEiglspergerLayoutAlgorithm
protected TestEiglspergerLayoutAlgorithm(TestEiglspergerLayoutAlgorithm.Builder builder)
-
-
Method Detail
-
edgeAwareBuilder
public static <V,E> TestEiglspergerLayoutAlgorithm.Builder<V,E,?,?> edgeAwareBuilder()
- Type Parameters:
V- vertex typeE- edge type- Returns:
- a Builder ready to configure
-
visit
public void visit(LayoutModel<V> layoutModel)
Description copied from interface:LayoutAlgorithmvisit the passed layoutModel and set its locations- Specified by:
visitin interfaceLayoutAlgorithm<V>- Overrides:
visitin classAbstractHierarchicalMinCrossLayoutAlgorithm<V,E>- Parameters:
layoutModel- the mediator between the container for vertices (the Graph) and the mapping from Vertex to Point
-
-