Repository navigation
Landscape: strips, divided into cells by dimensions - #43
Merged
Merged
Conversation
mindsocket
commented
Nov 18, 2026
A landscape is one or more strips laid out one after the other. Each
strip has its own grouping levels (`group`) and nests them as before.
A dimension divides strips into cells, one per group: a group for every
node of a type, or for every value of a field. The layout's `dimension`
divides every strip alike, so strips line up; a strip's own `dimension`
divides that strip further. A strip's first level is joined to a
dimension's node the way a level is joined to the level above, so `via`
and `edge` apply there.
`showUngrouped` (default true) draws, or hides, the nodes of a strip that
no cell or container reached. `orientation` decides which way the layout
dimension runs; the direction is chosen in one place in the component.
`buildLandscape` returns one shape, `{ dimension?, strips }`. A plain
landscape is one strip with one cell and no dimension, and renders as
nested containers with no grid.
The synthetic AI-assisted delivery fixture exercises dimensions, a swimlane
and strips joined through `via`.
mindsocket
force-pushed
the
landscape-strips
branch
from
November 18, 2026 03:56
3bdef4e to
dd16ffd
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A landscape is now one or more strips, each with its own grouping levels. A dimension divides strips into cells: the layout's
dimensiondivides every strip alike, so they line up, and a strip's owndimensiondivides that strip further. This covers swimlanes (one dimension), grids (two), blueprints (a second strip reached throughvia) and independent swimlanes, in one layout.groupmoves intostrips: [{ group }]. A plain landscape is one strip and renders byte-identically to before (compared on five fixture landscapes, keys included).showUngrouped(default true) per strip.buildLandscapereturns one shape,{ dimension?, strips }.tests/fixtures/ai-delivery) backs the new tests.docs/layouts.mddefines strip, dimension and cell.AGENTS.mdgains two principles: terms of one layout live in that layout's docs section, and a setting is a boolean for on/off or an enum naming each behaviour.Loose parts are marked
PROTOTYPE:(dimension groups in space order; a dimension'sedgeon the last hop of aviachain; grid track sizes, scrolling headings, no connectors). Untested: a field level first with a dimension, breadcrumbs under a dimension, a dimension type with no nodes. Showing nodes that have a place in only one dimension is left open.Checks:
bun test139 pass, typecheck, lint (1 existing warning),test:package,bun run build.