drag node with edges

drag self pointing edges with node;
calculation

calculation to find right and left point round the middle point of edge
pointing to only one node; This points are needed to curve the path.