Skip to content

feat(diagram): align, min size, padding, extend width, spacer - #216

Open
ionos-landgraf-vin wants to merge 3 commits into
feat/diagram-extend-height-stack-anchorfrom
feat/diagram-layout-attrs
Open

ionos-landgraf-vin wants to merge 3 commits into
feat/diagram-extend-height-stack-anchorfrom
feat/diagram-layout-attrs

Conversation

@ionos-landgraf-vin

Copy link
Copy Markdown
Collaborator

Stacked on #215.

Summary

  • align on layer/stack: cross-axis alignment of children (top/bottom, left/right) instead of always centered.
  • width / height: minimum box size.
  • padding: per-container inner padding.
  • extend "width": a container stretches its own direct children, no cascade.
  • spacer leaf: invisible filler (never drawn, listed in the legend, or wired by edges).
  • Column/row spans in columns tables deliberately not done (see plan).

Test plan

  • bundle exec rake

🤖 Generated with Claude Code

ionos-landgraf-vin and others added 3 commits October 30, 2026 16:08
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…n anchor does

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…ner inside its padding

The cross-axis branch of Expander#expand passed the container's full outer
size to its children, so they sat flush on its border. Pass the inner size
(minus padding/title) and centre on the inner area, like the single-child case.

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