Gallery

71 figures · Open a figure to explore its code.

layout (11)

geometry (10)

plotting (16)

maps (9)

networks (6)

text (5)

math (12)

api (2)

(group_clip)

Clipped and unclipped canvases

Both canvases use an em(11.25) width and a 1.8 aspect ratio, and query the same immutable artwork with fractional positions and dimensions. The left canvas retains all paint; the right clips it to the canvas rectangle. Clipping changes visible ink while the fragment tree still records the full positioned allocations and overflow.

The root's fit prop hugs both panels and keeps them side by side at smaller sizes, including the padding that protects the intentionally unclipped artwork.

Use tree output with --stats to inspect reuse of the shared child fragments. See Group for canvas clipping, Box clipping for rounded borders, and Reusing fragments for explicit placement reuse.