entviz — @entviz/core & @entviz/react API
    Preparing search index...

    Function featureRectsFromModel

    • The viewBox + bounding rects (in the entviz's own user-units) to ring for a given walk step, taken straight from the core render model's geometry — so the React layer never parses the rendered SVG to recover coordinates (and never touches the closed-profile artifact). One feature may yield several rects (every blank cell, every quartile cell, both color-bar markers); a probe step has no figure rect (it shows a planted cell of its own — §14.7).

      Takes a PRE-COMPUTED model so a caller stepping through a walk can describe the value once and map every step cheaply (the per-step mapping is O(cells); the model build + geometry is not repeated). featureRects is the value-level convenience that builds the model for you.

      Parameters

      Returns { rects: Rect[]; viewBox: string }