Remarks
A HierarchicalLayoutEdgeDescriptor instance can be specified individually for single edges via property edgeDescriptors.
This class is designed as a class to allow future additions of new getter methods.
Default Values of Properties
| Name | Default | Description |
|---|---|---|
| minimumDistance | 10.0d | |
| minimumFirstSegmentLength | 10.0d | |
| minimumLastSegmentLength | 15.0d | |
| minimumLength | 20.0d | |
| minimumOctilinearSegmentLength | 20.0d | |
| minimumSlope | 0.2 | |
| recursiveEdgePolicy | RecursiveEdgePolicy.OFF | Edges are not routed recursively. |
See Also
Developer's Guide
API
- edgeDescriptors, HierarchicalLayoutNodeDescriptor
Members
Constructors
Creates a new instance of a HierarchicalLayoutEdgeDescriptor with the default values.
Parameters
Properties
When this option is enabled, back-loops attach to the same node sides as the other edges, i.e., for layout orientation top-to-bottom, they leave their source at the bottom and enter their target at the top.
This property only affects reversed edges and self-loops. It has no effect on other edges.
0) are never routed as back-loops because they have no dedicated source/target node. Furthermore, for edges with a negative directedness value the source and target are interchanged.Property Value
true if back-loop routing is applied, false otherwiseDefault Value
Sample Graphs
falseSee Also
Developer's Guide
Property Value
true if the edge is routed directly, false otherwiseDefault Value
Sample Graphs
falseSee Also
Developer's Guide
0.Property Value
Throws
- Exception ({ name: 'ArgumentError' })
- if the minimum length is negative
Default Value
Sample Graphs
15The minimum length should be greater than 0.
If the value is 0.0d, the first segment does not need to be orthogonal.
Property Value
Throws
- Exception ({ name: 'ArgumentError' })
- if the minimum length of the first segment is negative
Default Value
Sample Graphs
10The minimum length should be greater than 0.
If the value is 0.0d, the last segment does not need to be orthogonal.
Property Value
Throws
- Exception ({ name: 'ArgumentError' })
- if the minimum length of the last segment is negative
Default Value
Sample Graphs
10If this is used for polyline routing, it describes the minimum vertical length of the mid segment. If it is used for orthogonal routing, it describes the minimum length of the whole edge (i.e., the sum of the length of all segments).
The minimum length should be greater than 0.
Property Value
Throws
- Exception ({ name: 'ArgumentError' })
- if the minimum length is negative
Default Value
Sample Graphs
15Property Value
Throws
- Exception ({ name: 'ArgumentError' })
- if the minimum length of the first segment is negative
Default Value
Sample Graphs
20See Also
In addition, this value influences the steepness for CURVED edges.
The minimum slope should be greater than 0. For the curved routing style, larger values lead to steeper curves. Steeper curves generally require more height but less width (vertical layout direction).
Property Value
Throws
- Exception ({ name: 'ArgumentError' })
- if the given minimum slope is negative
Default Value
Sample Graphs
0.25dGets or sets how edges in grouped graphs are routed between the content of different groups.
Property Value
Default Value
Sample Graphs
See Also
Developer's Guide
Gets or sets the routing style descriptor for this edge.
Property Value
Throws
- Exception ({ name: 'ArgumentError' })
- if the given routing style is null
Default Value
Sample Graphs
See Also
Developer's Guide
Methods
Creates a copy of this HierarchicalLayoutEdgeDescriptor instance.
Return Value
- HierarchicalLayoutEdgeDescriptor
- a copy of this HierarchicalLayoutEdgeDescriptor instance