-
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] Disable pool collapsing #307
Conversation
The upcoming bpmn-visualization version changes the edge rendering. There is no more usage of the Segment Connector. This setting was recomputing the whole edge path. It was able to set the terminal waypoints to the collapsed pools when the edge was targeting a inner element of the pool (hidden when the pool is collapsed). There is no more waypoints' computation with the new implementation: in this case, we see a dangling edge. The edge terminal waypoint are inside the pool.
examples/custom-behavior/select-elements-by-bpmn-kind/index.html
Outdated
Show resolved
Hide resolved
@@ -116,9 +116,11 @@ <h2>Select elements by BPMN kind</h2> | |||
<div class="radio"> | |||
<label><input type="radio" name="poolSelectionMethod" value="hide" checked> Hide others</label> | |||
</div> | |||
<!-- Disable collapsing: see https://github.com/process-analytics/bpmn-visualization-examples/pull/306 |
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.
Is it an omission ?
If not, no need a single radio button for hide 🙂
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.
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.
I found weird, but ok 👍🏻
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.
The upcoming bpmn-visualization version changes the edge rendering. There is no more usage of the Segment Connector.
This setting was recomputing the whole edge path. It was able to set the terminal waypoints to the collapsed pools when
the edge was targeting a inner element of the pool (hidden when the pool is collapsed).
There is no more waypoints' computation with the new implementation: in this case, we see a dangling edge. The edge
terminal waypoint are inside the pool.
See #306 and process-analytics/bpmn-visualization-js#1863 (comment)
Live environment of examples
https://cdn.statically.io/gh/process-analytics/bpmn-visualization-examples/feat/disable_pools_collapsing/examples/index.html