This class provides routing settings for edges routed by the OrthogonalLayout.
Inheritance Hierarchy
Remarks
OrthogonalLayoutEdgeDescriptor is used by OrthogonalLayout to determine the routing details for the edges (e.g. the segment length).
An OrthogonalLayoutEdgeDescriptor can be specified individually for each edge with edgeDescriptors.
Default Values of Properties
| Name | Default |
|---|---|
| minimumFirstSegmentLength | 15.0 |
| minimumLastSegmentLength | 15.0 |
| minimumSegmentLength | 15.0 |
See Also
Developer's Guide
API
- edgeDescriptors
Members
No filters for this type
Constructors
Creates a new instance of OrthogonalLayoutEdgeDescriptor with the default settings.
Creates a new instance of OrthogonalLayoutEdgeDescriptor with the default settings.
Parameters
Properties
The minimum length must be greater than or equal to
0.The final segment length also depends on the used grid size (see gridSpacing). If the grid is larger than the specified minimum length, then the grid size defines the actual minimum.
final
Property Value
the minimum length of the first segment
Throws
- Exception ({ name: 'ArgumentError' })
- if the minimum length of the first segment is negative
Default Value
The default value is: 15.0
Sample Graphs
ShownSetting: Minimum first segment length
15The minimum length must be greater than or equal to
0.The final segment length also depends on the used grid size (see gridSpacing). If the grid is larger than the specified minimum length, then the grid size defines the actual minimum.
final
Property Value
the minimum length of the last segment
Throws
- Exception ({ name: 'ArgumentError' })
- if the minimum length of the last segment is negative
Default Value
The default value is: 15.0
Sample Graphs
ShownSetting: Minimum last segment length
15The minimum length must be greater than or equal to
0.The final segment length also depends on the used grid size (see gridSpacing). If the grid is larger than the specified minimum length, then the grid size defines the actual minimum.
final
Property Value
the minimum segment length
Throws
- Exception ({ name: 'ArgumentError' })
- if the minimum length is negative
Default Value
The default value is: 15.0
Sample Graphs
ShownSetting: Minimum segment length
15Methods
Creates a copy of this OrthogonalLayoutEdgeDescriptor instance.
Creates a copy of this OrthogonalLayoutEdgeDescriptor instance.
final
Return Value
- OrthogonalLayoutEdgeDescriptor
- a copy of this OrthogonalLayoutEdgeDescriptor instance