Interface LayoutAlgorithm<V>
-
- All Superinterfaces:
AfterRunnable
- All Known Subinterfaces:
EdgeAwareLayoutAlgorithm<V,E>,IterativeLayoutAlgorithm<V>,RadialTreeLayout<V>,TreeLayout<V>
- All Known Implementing Classes:
AbstractHierarchicalMinCrossLayoutAlgorithm,AbstractIterativeLayoutAlgorithm,AbstractLayoutAlgorithm,AbstractTreeLayoutAlgorithm,AnimationLayoutAlgorithm,BalloonLayoutAlgorithm,BrandesKopfLayoutAlgorithm,CircleLayoutAlgorithm,DAGLayoutAlgorithm,EdgeAwareTreeLayoutAlgorithm,EiglspergerLayoutAlgorithm,ForceAtlas2LayoutAlgorithm,FRLayoutAlgorithm,GEMLayoutAlgorithm,HierarchicalMinCrossLayoutAlgorithm,ISOMLayoutAlgorithm,KKLayoutAlgorithm,LayeredLayoutAlgorithm,LayoutAlgorithm.NoOp,MultiRowEdgeAwareTreeLayoutAlgorithm,MultiRowTreeLayoutAlgorithm,RadialEdgeAwareTreeLayoutAlgorithm,RadialTreeLayoutAlgorithm,SpringLayoutAlgorithm,StaticLayoutAlgorithm,SugiyamaLayoutAlgorithm,TestEiglspergerLayoutAlgorithm,TestSugiyamaLayoutAlgorithm,TidierRadialTreeLayoutAlgorithm,TidierTreeLayoutAlgorithm,TreeLayoutAlgorithm
public interface LayoutAlgorithm<V> extends AfterRunnable
LayoutAlgorithm is a visitor to the LayoutModel. When it visits, it runs the algorithm to place the graph vertices at locations.- Author:
- Tom Nelson.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceLayoutAlgorithm.Builder<V,T extends LayoutAlgorithm<V>,B extends LayoutAlgorithm.Builder<V,T,B>>static classLayoutAlgorithm.NoOp<V>
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default voidcancel()default booleanconstrained()voidvisit(LayoutModel<V> layoutModel)visit the passed layoutModel and set its locations-
Methods inherited from interface org.jungrapht.visualization.layout.algorithms.util.AfterRunnable
runAfter, setAfter
-
-
-
-
Method Detail
-
visit
void visit(LayoutModel<V> layoutModel)
visit the passed layoutModel and set its locations- Parameters:
layoutModel- the mediator between the container for vertices (the Graph) and the mapping from Vertex to Point
-
cancel
default void cancel()
-
constrained
default boolean constrained()
-
-