Skip to content

feat(diagram): extend "height" inside stacks and anchor attribute - #215

Open
ionos-landgraf-vin wants to merge 2 commits into
mainfrom
feat/diagram-extend-height-stack-anchor
Open

ionos-landgraf-vin wants to merge 2 commits into
mainfrom
feat/diagram-extend-height-stack-anchor

Conversation

@ionos-landgraf-vin

Copy link
Copy Markdown
Collaborator

Summary

  • `extend "height"` on a stack child now takes the extra height when its column (a layer child, also through a `boundary`) is grown to the tallest sibling; the ranks below move down, so e.g. Building Blocks line up across columns without hand-tuned gaps.
  • New container attribute `anchor` (`top|bottom|left|right|center`) sets where content sits when a box grows (default unchanged: top for height, centered for width).
  • Docs (`docs/diagram.md`), attribute validation and tests added.

Test plan

  • `bundle exec rake` (tests, steep, rubocop)

🤖 Generated with Claude Code

ionos-landgraf-vin and others added 2 commits October 30, 2026 15:43
A stack child with extend "height" now absorbs the extra height of a
layer column that was grown to its tallest sibling, moving the ranks
below it down (footers line up across columns). New container attribute
anchor (top/bottom/left/right/center) chooses where content sits when a
box grows.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…ldren follow

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant