Function distribute_horizontal

  • Distribute diagrams horizontally

    Parameters

    • diagrams: Diagram[]

      diagrams to be distributed

    • space: number = 0

      space between the diagrams (default = 0)

    Returns Diagram

    array of distributed diagrams