Interface IWorkflowBpmnLayoutCardinalDirectionOptionsBuilder<Self extends IWorkflowBpmnLayoutCardinalDirectionOptionsBuilder<Self>>
- Type Parameters:
Self- The type of the builder itself.
- All Known Subinterfaces:
IWorkflowBpmnLayoutAlignAroundBuilder, IWorkflowBpmnLayoutAlignAtAxisBuilder
public interface IWorkflowBpmnLayoutCardinalDirectionOptionsBuilder<Self extends IWorkflowBpmnLayoutCardinalDirectionOptionsBuilder<Self>>
Builder for layouts that allow setting the coordinate axis and axis direction in which to align the items.
- Since:
- 8.4.0
-
Method Summary
Modifier and TypeMethodDescriptiondirection(ECardinalDirection2D direction) Sets the cardinal direction in which to align the items.directionRelativeToFlow(UnaryOperator<ECardinalDirection2D> direction) Sets the direction along which to align the items.
-
Method Details
-
direction
Sets the cardinal direction in which to align the items. The (i+1)-th item is placed in this direction relative to the i-th item. Defaults to a direction that is suitable for the current flow direction.- Returns:
- This builder for chaining.
-
crossFlowDirection
Sets thedirectionto the crossflow directionof thelayout settings. The cross flow direction is orthogonal to the flow direction, and pointing to the left when looking in the flow direction.- Returns:
- This builder for chaining.
-
directionRelativeToFlow
Sets the direction along which to align the items. The function is given the target flow direction for the BPMN diagram and must return the direction along which to align the items.- Parameters:
direction- The function to determine the direction along which to align the items.- Returns:
- This builder for chaining.
-
flowDirection
- Returns:
- This builder for chaining.
-
reverseCrossFlowDirection
Sets thedirectionto the opposite of the crossflow directionof thelayout settings. The cross flow direction is orthogonal to the flow direction, and pointing to the left when looking in the flow direction.- Returns:
- This builder for chaining.
-
reverseFlowDirection
- Returns:
- This builder for chaining.
-