Function lay_rs::prelude::taffy::compute_grid_layout

pub fn compute_grid_layout(
    tree: &mut impl LayoutPartialTree,
    node: NodeId,
    inputs: LayoutInput,
) -> LayoutOutput
Expand description

Grid layout algorithm This consists of a few phases:

  • Resolving the explicit grid
  • Placing items (which also resolves the implicit grid)
  • Track (row/column) sizing
  • Alignment & Final item placement