Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Model diagram search #6588

Merged
merged 9 commits into from
Feb 19, 2025
Merged

Model diagram search #6588

merged 9 commits into from
Feb 19, 2025

Conversation

mwdchang
Copy link
Member

@mwdchang mwdchang commented Feb 14, 2025

Summary

Provisional work to search and navigate models, you can search state and transition id/names, in both stratified and unstratified models.

Also made a few small fixes (service.ts) for baseline names, and scale-factor tweaks (moveTo.ts).

image

Note: No supports have been added for observables, rate lows, or source/target relationships. These need additional clarifications on what we want to do.

Testing

In model diagram you can use the new search input textbox. Selecting the item will pan the graph to centre on the item found - in the case of stratified model, it will pan to the upper-most parent of the selected item if applicable

@mwdchang mwdchang marked this pull request as ready for review February 14, 2025 21:46
Copy link
Contributor

@Tom-Szendrey Tom-Szendrey left a comment

Choose a reason for hiding this comment

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

Awesome! Great feature to have for large models.

@mwdchang mwdchang merged commit 8454fae into main Feb 19, 2025
4 checks passed
@mwdchang mwdchang deleted the model-diagram-search branch February 19, 2025 15:43
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.

3 participants