Position of labels

I have an issue that sometimes on big diagram users move labels far away from element. They want to tidy up the diagram and move such labels closer to their elements automatically. Any idea how to do it?

image

You can iterate diagram elements, check their labels (element.label), both positions, and move the label through the modeling APIs.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.