Repository navigation
Conversation
…ut.showKeyword hides the keyword line Style gains lineWidth, the thickness in points of a node's outline or an edge's line, and Layout gains showKeyword, whose false drops the keyword line («part def») heading a node's box. Both are optional, so an existing model means what it did. The engine contract lists both for OpenSysML, which reads them; .meta.json is regenerated. Co-Authored-By: jason.han <hanhuijun@gmail.com>
…ames the attribute that orders its elements Co-Authored-By: jason.han <hanhuijun@gmail.com>
…t-line-width-show-keyword Co-Authored-By: jason.han <hanhuijun@gmail.com> # Conflicts: # .meta.json
Contributor
|
I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".
|
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.
Summary
Adds the
DiagramLayoutvocabulary two OpenSysML view features read. Every addition is optional, so a model that states none of them is drawn as before.For Open-MBEE/OpenSysML#2709 (line thickness, hiding the keyword line):
For Open-MBEE/OpenSysML#2233 (view direction, ordering siblings by a metadata value):
engine-contract.jsongainslineWidthonDiagramLayout::Style,showKeywordonDiagramLayout::Layout, and the entriesDiagramLayout::Arrangement,DiagramLayout::DirectionandDiagramLayout::Rank. Nothing is renamed or removed, socontractis not bumped..meta.jsonis regenerated.Consumers
The consuming OpenSysML pull requests (one for #2709, one for #2233) open after this lands: OpenSysML pins the vendored libraries to a merged commit of
main, so each bumpsscripts/extension-libraries-pin.shto this PR's merge commit and regenerates its snapshot. They will be linked here when open.Checks
Run on this head under the pinned pilot with Java 21:
./scripts/validate-libraries.shValidation clean: 0 errors, 0 warning(s)./scripts/check-engine-contract.sh --base origin/main./scripts/write-project-meta.py --check.project.json and .meta.json match the tree (OpenSysML Extensions Library 1.0.0, 22 units)./scripts/check-readme-table.shREADME table matches libraries/Implemented in session Triage issue 2709 view style customization
Review with Devin · Open in Devin Desktop