Connection label overlapping connection


Is it possible to avoid connection label overlapping the connection itself. Mostly this happens when the connection is vertical and even a couple of words causes it to overlap.


It would be nice if the label auto moved to right or left of the connection.

If there is no straight-forward solution to this, then can you share any pointers around what kind of custom handling would be required to handle this, if possible.


If you’d like this to be solved in the library, feel free to create an issue in the GH repo: GitHub - bpmn-io/bpmn-js: A BPMN 2.0 rendering toolkit and web modeler.