bpmn-io / bpmnlint

Validate BPMN diagrams based on configurable lint rules.
MIT License
121 stars 36 forks source link

Add a rule `no-overlapping-elements` #72

Closed MaxTru closed 1 year ago

MaxTru commented 2 years ago

Is your feature request related to a problem? Please describe

Overlapping elements are visually hard to comprehend (ie. you might miss a label). Ideally elements don't overlap, apart from some exceptions:

Describe the solution you'd like

Introduce a rule no-overlapping-elements, which would give a warning, if two elements overlap (except for exceptions, see above).

Example of where the rule should give a warning: Screenshot_20220216_163526

Describe alternatives you've considered

n/a

Additional context

Maybe this could be merged with rule to be built as part of https://github.com/bpmn-io/bpmnlint/issues/23


Required by https://github.com/camunda/camunda-modeler/issues/3250

nikku commented 2 years ago

Makes a lot of sense, thanks for reporting.