Function align_vertical

  • Align diagrams vertically

    Parameters

    • diagrams: Diagram[]

      diagrams to be aligned

    • alignment: VerticalAlignment = 'center'

      vertical alignment of the diagrams alignment can be 'top', 'center', or 'bottom'

    Returns Diagram

    array of aligned diagrams