Raxol.UI.Rendering.Layouter (Raxol v0.4.0)

View Source

Summary

Functions

Computes the layout for the given UI tree. Currently a stub; in the future, this will calculate positions and sizes for all UI elements, potentially processing diffs for partial updates.

Functions

layout_tree(diff_result, new_tree_for_reference)

@spec layout_tree(diff_result :: any(), new_tree_for_reference :: map() | nil) ::
  map() | any()

Computes the layout for the given UI tree. Currently a stub; in the future, this will calculate positions and sizes for all UI elements, potentially processing diffs for partial updates.