An SeriesParallelLayoutEdgeLayoutDescriptor provides routing details for an edge that are considered by SeriesParallelLayout.
Remarks
Default Values of Properties
minimumFirstSegmentLength | 15 | |
minimumLastSegmentLength | 15 | |
minimumLength | 0 |
Type Details
- yfiles module
- layout-seriesparallel
- yfiles-umd modules
- layout-seriesparallel, layout
- Legacy UMD name
- yfiles.seriesparallel.EdgeLayoutDescriptor
See Also
Constructors
Creates a new instance of SeriesParallelLayoutEdgeLayoutDescriptor with default settings.
Parameters
A map of options to pass to the method.
- minimumLength - number
The minimum length for the associated edge. This option sets the minimumLength property on the created object.
- minimumFirstSegmentLength - number
The minimum length for the first segment of the associated edge. This option sets the minimumFirstSegmentLength property on the created object.
- minimumLastSegmentLength - number
The minimum length for the last segment of the associated edge. This option sets the minimumLastSegmentLength property on the created object.
Properties
Gets or sets the minimum length for the first segment of the associated edge.
Remarks
Default Value
15
.Throws
- Exception({ name: 'ArgumentError' })
- for negative minimum segment lengths
Sample Graphs
Gets or sets the minimum length for the last segment of the associated edge.
Remarks
Default Value
15
.Throws
- Exception({ name: 'ArgumentError' })
- for negative minimum segment lengths
Sample Graphs
Gets or sets the minimum length for the associated edge.
Remarks
Default Value
0
.Throws
- Exception({ name: 'ArgumentError' })
- for negative edge lengths
Sample Graphs
Methods
Creates a copy of this SeriesParallelLayoutEdgeLayoutDescriptor instance.
Returns
- ↪SeriesParallelLayoutEdgeLayoutDescriptor
- a copy of this SeriesParallelLayoutEdgeLayoutDescriptor instance