[FEAT] icon size: use absolute or relative to the BPMN element size? #211
Labels
BPMN rendering
Something about the way the lib is rendering BPMN elements
enhancement
New feature or request
Milestone
Is your feature request related to a problem? Please describe.
Let's decide how we want to display the size of BPMN element icon
Current situation
#208 introduced for the first time quite complex BPMN element icons and the size (and position) of the icon depends on the size of the enclosing Service Task rectangle.
Notice that the inner circle of the
Terminate End Event
also depends on the size of the element (see #183)This ensures that the icon doesn't cover the whole surface of small BPMN elements.
But if the BPMN element is large, so does the icon.
When the diagram contains both small and large elements, the display mixed small and large icons which is disturbing
Note: the recommendation is to have the same size for all activities to avoid letting user guess that some are more important than other. But we know this rule is not always follow, for instance when the activity title is large (we have hundreds of examples coming from the Bonita Community or from Bonita Customers), so this is something to consider
Solution to be evaluated
Additional context
Here is a demonstration of the current behaviour introduced in #208, the following screenshots display diagram_small_and_large_elements.bpmn.zip
Notice that
Service Task rendering thanks to #208
bpmn.io display
The text was updated successfully, but these errors were encountered: