MAIDR Documentation - v3.58.2
    Preparing search index...

    Function resolveSubplotLayout

    • Inspects the DOM to resolve the visual layout of all subplots in a figure.

      This is the only place where subplot-related DOM queries happen. The result is a plain data object that can be passed into the Figure model without violating MVVC layer boundaries.

      Parameters

      • subplots: Subplot[][]

        The 2D subplot array from the Figure (already constructed).

      Returns SubplotLayout

      A SubplotLayout containing pre-computed visual ordering, starting position, inversion flag, and axes element references.