Skip to content

Standard view definitions#32

Merged
daltskin merged 2 commits intomainfrom
StandardViewDefinitions
Apr 21, 2026
Merged

Standard view definitions#32
daltskin merged 2 commits intomainfrom
StandardViewDefinitions

Conversation

@daltskin
Copy link
Copy Markdown
Owner

Add support for view/viewports

…ith view scope features

- Updated dependency sysml-v2-lsp from 0.13.0 to 0.14.0 in package.json.
- Added support for view scopes in the VisualizationPanel:
  - Introduced new functions to find views with expose targets and filter elements based on these targets.
  - Enhanced diagram selector to include views with expose targets, allowing for better organization and navigation.
  - Implemented boundary frames for containers exposed by simple names in both General and Interconnection views.
- Added a new sample SysML file demonstrating various view scopes and expose targets.
- Introduced a new SysML model file `view-showcase.sysml` demonstrating various view scoping features, including parts, actions, requirements, use cases, and view definitions.
- Created a comprehensive test suite in `viewFilterContract.test.ts` to validate the functionality of view filtering, boolean expression evaluation, subview tracking, and textual notation support.
- Implemented utility functions for resolving metaclass filters, evaluating filter expressions, and filtering elements based on metadata and type.
- Added tests for various scenarios, including single and multiple filter expressions, metadata handling, and nested view structures.
@daltskin daltskin merged commit 4b7eae1 into main Apr 21, 2026
3 checks passed
@daltskin daltskin deleted the StandardViewDefinitions branch April 21, 2026 19: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.

1 participant