I have a JGoIconicNode with its label at the bottom.
I use a JGoLink and connect it to another JGoIconicNode.
I set the bouding rectangle of the ports to be the bounding rectangle of the nodes so that the links get truncated at the boundary.
This is what I want but...
When the link is vertically upwards it crosses over the destination nodes label and partly obscures it. How can I force the link to be truncated at the boundary of the nodes label?
I've tried getting the bounding rectangle of the node and the label and
using SwingUtilities#computeUnion(...) and setting the ports bounding rectangle to the result of that union but it seems not to work...