This tweak ends each link where it leaves the Shape of each node it
connects, sized by the node's bounding box. It scans the link from each end,
dropping every segment inside the node, and cuts the first segment that
leaves it. After applying this tweak, edge endings like arrows can be easily
rendered in the appropriate place.
tweak the layout by truncating edges early
This tweak ends each link where it leaves the Shape of each node it connects, sized by the node's bounding box. It scans the link from each end, dropping every segment inside the node, and cuts the first segment that leaves it. After applying this tweak, edge endings like arrows can be easily rendered in the appropriate place.
There are three built in Shapes: