Repository navigation
docs(DiagramLayout): a Layout that only folds or hides places nothing - #11
devin-ai-integration[bot] wants to merge 1 commit into
Conversation
Co-Authored-By: jason.han <hanhuijun@gmail.com>
|
I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".
|
|
The advisory The job on |
Summary
The
Layoutdoc comment now says whenxandyare needed. ALayoutthat binds onlycollapsedorshow…switches is legal and places nothing: it folds the element, or hides its compartments, where the view lays it out.x/yare needed only to place the element and go together: one coordinate alone is an error, and so is a size with no place.OpenSysML has accepted fold-only Layouts since Open-MBEE/OpenSysML#1254. This note uses the same rules as that PR and its documentation (
docs/project/diagram-layout-annotations.md, the "Limiting what a view draws" guide example).Only the comment changed: no declarations and no
engine-contract.jsonentries. Thecollapsedattribute has no doc comment of its own, so it was left as it is.Semver impact: PATCH (doc-comment change only).
Checks run locally:
./scripts/validate-libraries.sh(pinned pilot, 0 errors, 0 warnings),./scripts/check-engine-contract.sh --base origin/main(exit 0),./scripts/check-readme-table.sh.Link to Devin session: https://nasa-jpl-demo.devinenterprise.com/sessions/3089cc5b6fb74efcba6bc4b8f739a409
Open in Devin Desktop: https://nasa-jpl-demo.devinenterprise.com/desktop/session/3089cc5b6fb74efcba6bc4b8f739a409?variant=devin
Requested by: @HuiJun