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 Detail

      • direction

        @CanIgnoreReturnValue
        Self direction​(ECardinalDirection2D 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

        @CanIgnoreReturnValue
        Self crossFlowDirection()
        Sets the direction to the cross flow direction of the layout 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

        @CanIgnoreReturnValue
        Self directionRelativeToFlow​(UnaryOperator<ECardinalDirection2D> direction)
        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.
      • reverseCrossFlowDirection

        @CanIgnoreReturnValue
        Self reverseCrossFlowDirection()
        Sets the direction to the opposite of the cross flow direction of the layout 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.