Function distribute_grid_row

  • Distribute diagrams in a grid

    Parameters

    • diagrams: Diagram[]

      diagrams to be distributed

    • column_count: number

      number of columns

    • vectical_space: number = 0

      space between the diagrams vertically (default = 0)

    • horizontal_space: number = 0

      space between the diagrams horizontally (default = 0) NODE: the behaviour is updated in v1.3.0 (now the returned diagram's children is the distributed diagrams instead of list of list of diagrams)

    Returns Diagram