Function align_horizontal

  • Align diagrams horizontally

    Parameters

    • diagrams: Diagram[]

      diagrams to be aligned

    • alignment: HorizontalAlignment = 'center'

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

    Returns Diagram

    array of aligned diagrams