-
Notifications
You must be signed in to change notification settings - Fork 21
refactor(vue): use new bpmn-visualization-addons methods to simplify #624
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
Conversation
7424332 to
b367f8d
Compare
…tion Bump bpmn-visualization-addons from 0.8.0 to 0.9.0
b367f8d to
cece3a7
Compare
|
🎊 PR Preview 842073f has been successfully built and deployed to https://process-analytics-bpmn-visualization-examples-pr_preview-pr-624.surge.sh 🕐 Build time: 0.01s 🤖 By surge-preview |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Refactors the Vue project to use updated methods from bpmn-visualization-addons to properly filter flow nodes by excluding BPMN artifacts, which were incorrectly included by the original ShapeUtil.flowNodeKinds() method.
- Updates dependency to bpmn-visualization-addons v0.9.0 to access new filtering methods
- Replaces manual artifact filtering with ShapeUtil.isFlowNode() method for cleaner code
- Extracts repeated fit options into a reusable constant
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| projects/typescript-vue/src/app.vue | Refactors flow node filtering logic and extracts fit options constant |
| projects/typescript-vue/package.json | Updates bpmn-visualization-addons dependency to v0.9.0 |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
|
Converted to draft to integrate review feedback |

The original ShapeUtil.flowNodeKinds() method from bpmn-visualization includes BPMN artifacts.
So use a convenient method from bv-addons to workaround the problem.