Function distribute_vertical_and_align

  • Distribute diagrams vertically and align

    Parameters

    • diagrams: Diagram[]

      diagrams to be distributed

    • vertical_space: number = 0

      space between the diagrams (default = 0)

    • alignment: HorizontalAlignment = 'center'

      horizontal alignment of the diagrams alignment can be 'left', 'center', or 'right'

    Returns Diagram

    array of distributed and aligned diagrams