Dynamic connection line anchoring for canvas nodes and groups

Although groups are not mentioned, this is the same as Canvas- Auto-change connection points when connected items are moved