Interface RadialTreeLayout<V>
-
- Type Parameters:
V- vertex type
- All Superinterfaces:
AfterRunnable,Consumer<Function<V,Rectangle>>,LayoutAlgorithm<V>,Radial,TreeLayout<V>,VertexBoundsFunctionConsumer<V>
- All Known Implementing Classes:
RadialEdgeAwareTreeLayoutAlgorithm,RadialTreeLayoutAlgorithm,TidierRadialTreeLayoutAlgorithm
public interface RadialTreeLayout<V> extends TreeLayout<V>, Radial
a marker interface for Tree layouts in a radial pattern
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.jungrapht.visualization.layout.algorithms.LayoutAlgorithm
LayoutAlgorithm.Builder<V,T extends LayoutAlgorithm<V>,B extends LayoutAlgorithm.Builder<V,T,B>>, LayoutAlgorithm.NoOp<V>
-
-
Field Summary
-
Fields inherited from interface org.jungrapht.visualization.layout.algorithms.TreeLayout
TREE_LAYOUT_HORIZONTAL_SPACING, TREE_LAYOUT_VERTICAL_SPACING
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default booleanconstrained()intdiameter(LayoutModel<V> layoutModel)Map<V,Rectangle>getBaseBounds()PointgetCenter(LayoutModel<V> layoutModel)Map<V,PolarPoint>getPolarLocations()-
Methods inherited from interface org.jungrapht.visualization.layout.algorithms.util.AfterRunnable
runAfter, setAfter
-
Methods inherited from interface org.jungrapht.visualization.layout.algorithms.LayoutAlgorithm
cancel, visit
-
Methods inherited from interface org.jungrapht.visualization.layout.algorithms.TreeLayout
setRootComparator, setRootPredicate
-
Methods inherited from interface org.jungrapht.visualization.layout.algorithms.util.VertexBoundsFunctionConsumer
accept, setVertexBoundsFunction
-
-
-
-
Method Detail
-
getBaseBounds
Map<V,Rectangle> getBaseBounds()
- Specified by:
getBaseBoundsin interfaceTreeLayout<V>
-
getPolarLocations
Map<V,PolarPoint> getPolarLocations()
-
getCenter
Point getCenter(LayoutModel<V> layoutModel)
-
constrained
default boolean constrained()
- Specified by:
constrainedin interfaceLayoutAlgorithm<V>
-
diameter
int diameter(LayoutModel<V> layoutModel)
-
-