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

[FEAT] Disable pool collapsing #307

Merged
merged 3 commits into from
Mar 21, 2022
Merged

Conversation

tbouffard
Copy link
Member

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

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.
@tbouffard tbouffard added the enhancement New feature or request label Mar 18, 2022
@tbouffard tbouffard requested a review from csouchet March 18, 2022 15:00
@@ -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
Copy link
Member

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 🙂

Copy link
Member Author

Choose a reason for hiding this comment

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

I wanted to limit the modifications especially in the js code.
Here is what we see for now
image

Copy link
Member

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 👍🏻

Copy link
Member Author

Choose a reason for hiding this comment

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

@csouchet based on your feedback, I removed the radio button in 406eb9f

image

@tbouffard tbouffard merged commit 71ccea7 into master Mar 21, 2022
@tbouffard tbouffard deleted the feat/disable_pools_collapsing branch March 21, 2022 10:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants