A SeriesParallelLayoutEdgeDescriptor provides routing details for an edge that are considered by SeriesParallelLayout.
Inheritance Hierarchy
Remarks
Such a SeriesParallelLayoutEdgeDescriptor can either be specified for a single edge or shared by several edges with edgeDescriptors. If no SeriesParallelLayoutEdgeDescriptor is specified, the defaultEdgeDescriptor is used.
Default Values of Properties
| Name | Default |
|---|---|
| minimumFirstSegmentLength | 15 |
| minimumLastSegmentLength | 15 |
| minimumLength | 0 |
See Also
Developer's Guide
API
- edgeDescriptors, defaultEdgeDescriptor
Members
No filters for this type
Constructors
Creates a new instance of SeriesParallelLayoutEdgeDescriptor with default settings.
Creates a new instance of SeriesParallelLayoutEdgeDescriptor with default settings.
Parameters
Properties
The minimum first segment length needs to be non-negative.
final
Property Value
the minimum first segment length
Throws
- Exception ({ name: 'ArgumentError' })
- for negative minimum segment lengths
Default Value
The default value is: 15
Sample Graphs
ShownSetting:
15The minimum last segment length needs to be non-negative.
final
Property Value
the minimum last segment length
Throws
- Exception ({ name: 'ArgumentError' })
- for negative minimum segment lengths
Default Value
The default value is: 15
Sample Graphs
ShownSetting:
15The minimum length needs to be non-negative.
final
Property Value
the minimum edge length
Throws
- Exception ({ name: 'ArgumentError' })
- for negative edge lengths
Default Value
The default value is: 0
Sample Graphs
ShownSetting:
20Methods
Creates a copy of this SeriesParallelLayoutEdgeDescriptor instance.
Creates a copy of this SeriesParallelLayoutEdgeDescriptor instance.
final
Return Value
- SeriesParallelLayoutEdgeDescriptor
- a copy of this SeriesParallelLayoutEdgeDescriptor instance