Headless graph bounds helpers for viewport fitting and application controls.
Summary
Functions
Returns the world-space bounds for graph-participating items.
Returns the world-space bounds for a graph selection.
Types
Functions
@spec bounds( LivePanels.Canvas.State.t(), keyword() ) :: viewport_target() | nil
Returns the world-space bounds for graph-participating items.
@spec selection_bounds( LivePanels.Canvas.State.t(), selection() | map() | String.t(), keyword() ) :: viewport_target() | nil
Returns the world-space bounds for a graph selection.