Twopi
Identifier: org.eclipse.elk.graphviz.twopi
Meta Data Provider: layouter.GraphvizMetaDataProvider
Description
Radial layouts, after Wills ‘97. The nodes are placed on concentric circles depending on their distance from a given root node. The algorithm is designed to handle not only small graphs, but also very large ones.
Category: Tree
Specialized layout methods for trees, i.e. acyclic graphs. The regular structure of graphs that have no undirected cycles can be emphasized using an algorithm of this type.
Supported Graph Features
Name | Description |
---|---|
Self Loops | Edges connecting a node with itself. |
Multi Edges | Multiple edges with the same source and target node. |
Edge Labels | Labels that are associated with edges. |
Supported Options
Option | Type | Default Value | Identifier |
---|---|---|---|
Adapt Port Positions | boolean |
true |
org.eclipse.elk.graphviz.adaptPortPositions |
Concentrate Edges | boolean |
false |
org.eclipse.elk.graphviz.concentrate |
Debug Mode | boolean |
false |
org.eclipse.elk.debugMode |
Edge Label Spacing | double |
5 |
org.eclipse.elk.spacing.edgeLabel |
Edge Routing | EdgeRouting |
EdgeRouting.SPLINES |
org.eclipse.elk.edgeRouting |
Label Angle | double |
-25 |
org.eclipse.elk.graphviz.labelAngle |
Label Distance | double |
1 |
org.eclipse.elk.graphviz.labelDistance |
Node Size Constraints | EnumSet<SizeConstraint> |
EnumSet.noneOf(SizeConstraint) |
org.eclipse.elk.nodeSize.constraints |
Node Size Options | EnumSet<SizeOptions> |
EnumSet.of(SizeOptions.DEFAULT_MINIMUM_SIZE, SizeOptions.APPLY_ADDITIONAL_PADDING) |
org.eclipse.elk.nodeSize.options |
Node Spacing | double |
60 |
org.eclipse.elk.spacing.nodeNode |
Overlap Removal | OverlapMode |
OverlapMode.PRISM |
org.eclipse.elk.graphviz.overlapMode |
Padding | ElkPadding |
new ElkPadding(10) |
org.eclipse.elk.padding |