Fray Electron
    Preparing search index...

    Function squeezeToward

    • Returns a copy with ancestor dividers shifted toward the selected panel.

      Parameters

      • layout: Layout

        Current tree.

      • panelId: string

        Target panel.

      • fraction: number

        Interpolation factor applied to ancestor ratios toward the target panel.

      Returns Layout

      Layout geometry inputs with adjusted ancestor ratios; does not mutate the input.