A SwimlaneRepresentative represents the position and arrangement mode for a swimlane.
Inheritance Hierarchy
SwimlaneRepresentative
Type Details
- yfiles module
- layout-core
- yfiles-umd modules
- All layout modules, view-layout-bridge
- Legacy UMD name
- yfiles.layout.SwimlaneRepresentative
Constructors
Creates a new SwimlaneRepresentative instance.
Parameters
options - Object
A map of options to pass to the method.
A map of options to pass to the method.
- swimlanePos - number
- denotes the current position of the represented swimlane
- allowRearrangement - boolean
Properties
Gets or sets whether or not the represented swimlane can be rearranged.
Remarks
For all swimlanes with disabled rearrangement, the relative ordering given by swimlanePos is preserved. The other swimlanes may be rearranged.
Gets or sets the current position of the represented swimlane.
Remarks
The swimlane positions are described by a zero-based index and must not be negative.
Throws
- Exception({ name: 'ArgumentError' })
- if the position is smaller than
0