-
Notifications
You must be signed in to change notification settings - Fork 1.3k
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Tool to shift all BPMN elements on grid points #2047
Comments
@till-stadtler Thanks for opening this issue. To better understand your use-case: Why are diagrams this out of order in the first place? I'd assume that snapping already happens during diagram creation: If you ask me I'd rather ensure that diagrams are snapped (aligned on grid points as you call it) automatically, instead of relying on a tool to batch-do it. |
Hi @nikku, I think it is a good idea to look at why diagrams are out of order! There are a few reasons:
(bounds.x + height/2) has to be divisible by 10, for example 182. Same for (bounds.y + width/2).
There might be more reasons. Fixes for each issue:
|
@till-stadtler Thanks for getting back to us. Let's work towards getting these rocks off your track, instead of developing a magic monkey-patch tool. |
Context
Transferred from:https://github.com/camunda/web-modeler/issues/7202.
cc @till-stadtler
Describe the problem that you are trying to solve
When reviewing and redesigning BPMN models from customers, I invest some time into improving the aesthetics of the BPMN process to make it easier to focus on other aspects.
I spend a significant amount of time at the beginning and throughout the remodeling process to shift BPMN elements on grid points, including resizing pools and subprocesses so their corners lie on grid points.
Describe the solution you'd like to see implemented
I would like to have a tool (a button) to automatically shift all BPMN elements on grid points, including the corners of all pools and subprocesses (and dividing lines of lanes). I suggest to shift every BPMN element that does not lie on a grid point the the next upper-left grid point, to shift every upper-left corner of a pool/subprocess to the next upper-left grid point, and every lower-right corner of a pool/subprocess to the next lower-right grid point.
Describe alternatives you've considered
Spend more time rearranging BPMN elements and pools/subprocesses.
The text was updated successfully, but these errors were encountered: