-
Notifications
You must be signed in to change notification settings - Fork 19
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
feat: add demo "visualize path between two consecutive shapes" #452
feat: add demo "visualize path between two consecutive shapes" #452
Conversation
051a416
to
07ffada
Compare
First feedback on commit d26cd4aPreview environment: https://cdn.statically.io/gh/process-analytics/bpmn-visualization-examples/d26cd4a/demo/draw-path/index.html I like this demo 💯 I understood it purpose and how to use it at a glance 👍🏿 Kudos for the legend which helps a lot. About the chosen colors, it seems to me that they lack contrast. To be check with an appropriate accessibility tool. The elements of the breadcrumb contains links but they are not linking somewhere. Can we remove the links? PR_452_commit_d26cd4a_breadcrumb_links.mp4WordingDemo name Shape/Edge Text in the description |
|
e4bfafc
to
fa2e9f1
Compare
- highlight the third selectable shape and the next path with the Possible color, when a path is completely hightly
97b8fe5
to
f93fab6
Compare
demo/draw-path/js/path-use-case.js
Outdated
} | ||
|
||
_getAllShapes() { | ||
return this._bpmnVisualization.bpmnElementsRegistry.getElementsByKinds([ |
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.
thought (non-blocking): Notice that in the past, we advised users to not get all elements using this API because it also does a lot DOM queries. This is also why we don't document how to do it in the JSDoc of the getElementsByKinds
method.
However, I don't know if we can change the implementation in this demo.
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.
Maybe, we can find another way to get the shapes in another PR in order to not block the future implementation 🙂
Co-authored-by: Thomas Bouffard <[email protected]>
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.
LGTM, great demo
✔️ checked with https://cdn.statically.io/gh/process-analytics/bpmn-visualization-examples/5a823b0/examples/index.html#demos
Here are the ways to use this demo.
Enregistrement.de.l.ecran.2023-02-14.a.17.11.19.mov
OR
Enregistrement.de.l.ecran.2023-02-14.a.17.11.48.mov
OR
Enregistrement.de.l.ecran.2023-02-14.a.17.11.34.mov
After a path is all highlight, if the user click on:
Enregistrement.de.l.ecran.2023-02-14.a.17.12.14.mov
Enregistrement.de.l.ecran.2023-02-14.a.17.16.10.mov
Enregistrement.de.l.ecran.2023-02-14.a.17.13.03.mov
Live environment of examples
https://cdn.statically.io/gh/process-analytics/bpmn-visualization-examples/433-Add_a_new_demo_to_visualize_the_path_between_two_consecutive_shapes/examples/index.html
Closes #433