Interface IWorkflowBpmnLayoutSpacingSelectorOptionsBuilder<Self extends IWorkflowBpmnLayoutSpacingSelectorOptionsBuilder<Self>>

    • Method Detail

      • coalesceEmptyItems

        @CanIgnoreReturnValue
        Self coalesceEmptyItems()
        Removes spacing between empty items in the alignment. This is useful when you do not wish for the final layout to become larger than necessary due to empty items. Defaults to false.
        Returns:
        This builder for chaining.
      • coalesceEmptyItems

        @CanIgnoreReturnValue
        Self coalesceEmptyItems​(boolean coalesceEmptyItems)
        When true, removes spacing between empty items in the alignment. This is useful when you do not wish for the final layout to become larger than necessary due to empty items. Defaults to false.
        Parameters:
        coalesceEmptyItems - When true, empty items are coalesced.
        Returns:
        This builder for chaining.
      • spacing

        @CanIgnoreReturnValue
        Self spacing​(IWorkflowBpmnCardinalAlignmentSpacingSelector spacingSelector)
        Sets a custom selector for the spacing between consecutive aligned items.
        Parameters:
        spacingSelector - The spacing selector to use for determining the spacing between aligned items.
        Returns:
        This builder instance for method chaining.