Is there a property on links to prevent them from impacting the layout

Basically I want to draw a link “on top” of the diagram, just to show an association, without it actually modifying the layout of the diagram. Is there a way to disable the layout modification caused by adding link (preferably without side effects like by disabling isOngoing on the layout or whatever, since I’d still like the layout to update independent of these links).

I had considered adding invisible placeholders for the links in a separate layer, and then binding them to the “source” part’s properties, but wanted to see if there was a more clever alternative before I went to all that trouble.

This covers all of the possiblities: https://gojs.net/latest/intro/layouts.html#LayoutInvalidation

It sounds like you want to set or bind Layout.isLayoutPositioned to false on those Links.

Example: https://gojs.net/latest/samples/orgChartExtras.html

That was exactly what I was looking for. Thanks!

5 posts were split to a new topic: Having ports ignore location spot and location object?