-
Notifications
You must be signed in to change notification settings - Fork 1.4k
1929 treating groups as artifacts #2361
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
base: develop
Are you sure you want to change the base?
1929 treating groups as artifacts #2361
Conversation
6b4c114 to
5fe1073
Compare
|
The group also moves when it's not contained in the participant: I would the fix to also work for artifacts like labels: Besides, I was wondering if we want to implement it this way. Shouldn't the artifacts be moved to the appropriate parent when created/moved as mentioned here: #1929 (comment) This is not what the pull request implements. 🤔 |
|
|
Basically, I tried to attach the artifacts to the process, but they did not remain consistent. Furthermore, there was no direct way to evaluate them (in terms of size and coordinates). Therefore, I recommended attaching the artifacts in DiagramJs to the shape.move.start event. If there is another place where artifacts and their respective attributes can be evaluated, please let me know. |
|
I understood the comment https://github.com/bpmn-io/bpmn-js/issues/1929#issuecomment-1630818863 to mean that the group is included if it overlaps. It seems that what is meant here is that the group should be enclosed by the Group. Am I understanding this correctly? |
This is something we can discuss. In my opinion, if it's not clearly inside a container it should not move. 🤔 |




Proposed Changes
This pull request addresses the following issue: bpmn-io/bpmn-js#1929
It improves the handling of artifacts placed within swimminglanes in BPMN diagrams.
Examples
Artifact sticking to the swimminglane:
https://github.com/user-attachments/assets/d3361f0d-3e17-4fab-976f-9e0612f59069
Artifact does not stick to any swimminglane:
https://github.com/user-attachments/assets/737d6b8f-ea43-40c5-ac6f-639e78119f29
Checklist
To ensure you provided everything we need to look at your PR:
@bpmn-io/srtoolCloses {LINK_TO_ISSUE}orRelated to {LINK_TO_ISSUE}