Function distribute_vertical

  • Distribute diagrams vertically

    Parameters

    • diagrams: Diagram[]

      diagrams to be distributed

    • space: number = 0

      space between the diagrams (default = 0)

    Returns Diagram

    array of distributed diagrams