link.getSourcePoint()
Return the source point of the link.
- If the link endpoint is pinned to a specific point on the paper, return that point.
- If the link is connected to another link, return the midpoint of that link's polyline.
- If the link is connected to a port on an element, return the center of that port.
- If the link is connected to an element, return the center of that element.