Skip to content

Remove asTreeDiagram render style and clarify diagram guidance#24

Merged
Malcolmnixon merged 2 commits into
mainfrom
fix/sysml2-remove-asTreeDiagram
Jul 8, 2026
Merged

Remove asTreeDiagram render style and clarify diagram guidance#24
Malcolmnixon merged 2 commits into
mainfrom
fix/sysml2-remove-asTreeDiagram

Conversation

@Malcolmnixon

Copy link
Copy Markdown
Member

This pull request updates the SysML2 modeling standards documentation to clarify the distinction between diagram scoping and rendering style in view definitions. The main change is to correct the example rendering style and clarify its effect.

Documentation and clarity improvements:

  • Updated the example in src/.github/standards/sysml2-modeling.md to remove the render asTreeDiagram; lines from view definitions and clarify in the explanation that render <kind>; (e.g., asInterconnectionDiagram) only affects rendering style, not scope.

Malcolm Nixon and others added 2 commits July 7, 2026 23:36
The asTreeDiagram render style produces narrow horizontal trees that
exceed PDF page width. The default render (no directive) uses the
package/folder-diagram style — roughly rectangular, with a folder tab
and a members compartment — which fits document pages correctly.

- Remove all 'render asTreeDiagram;' lines from the Views code example
- Replace the 'render asTreeDiagram' reference in the Critical distinction
  paragraph with 'asInterconnectionDiagram' (a neutral alternative)
- Add an explicit note explaining that the default style is preferred and
  why asTreeDiagram should be avoided

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings July 8, 2026 03:44

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the SysML2 modeling standards documentation to more clearly distinguish diagram scoping (controlled by expose) from rendering style (controlled by render <kind>;) in view usages, reducing confusion about what affects diagram contents.

Changes:

  • Removed render asTreeDiagram; from the example view usages to avoid implying it influences scope.
  • Updated the explanatory text to use asInterconnectionDiagram as the rendering-style example and explicitly state rendering has no scope impact.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Malcolmnixon
Malcolmnixon merged commit eb400a9 into main Jul 8, 2026
3 checks passed
@Malcolmnixon
Malcolmnixon deleted the fix/sysml2-remove-asTreeDiagram branch July 8, 2026 03:47
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.

2 participants