The midpoint of curved edges is now based on the centers of nodes.