[FEAT] Provide an option to ignore BPMN Label Bounds of activities #2469
Labels
BPMN diagram styling
Change the standard rendering: stroke color, thickness
enhancement
New feature or request
Milestone
Is your feature request related to a problem? Please describe.
In #2253 or #2590, we see that sometimes the label bounds in the BPMN diagram are not correctly set, so bpmn-visualization doesn't display inside of the activity bounds for instance.
Describe the solution you'd like
Pass an option at library initialization (like proposed in #1993) or at load time (with a new option in
LoadOptions
) to ignore the label bounds configuration defined in the BPMN diagram for activities.We may also introduce an additional option to ignore the label bounds of tasks only. Ignoring the label bounds of expanded call activities and sub-processes can be problematic as inner elements may overlap with the default label position (even if the default "top center" label position should handle most of the cases).
Important: the name of the options have been decided in #2659
Additional context
We already have some visual tests for default label positions. As part of implementing the issue described here, we should review if we cover default label position for all BPMN activities. In particular, for call activity and sub-process, for both expanded/collapsed.
Labels for expanded activities should
See #2664
The text was updated successfully, but these errors were encountered: