How can I create padding around node with link in diagram (as picture below) ?
I’ve created the invisible circle around node but It not the way I want. Any attributes of node or link can help on this ?
How can I create padding around node with link in diagram (as picture below) ?
I’ve created the invisible circle around node but It not the way I want. Any attributes of node or link can help on this ?
Adding a transparent object is certainly one way to do it. What is unsatisfactory with what you have done?
Alternatively, try setting Link | GoJS API and toShortLength. But for orthogonal links, the distance is limited by the …EndSegmentLength.
Thanks @walter
The issue with transparent object as picture below:
The black border is the transparent object but we still see the link.
Change the object that has portId set on it from the “Circle” Shape to your transparent Shape.