add curved edge label, hover and hover label and increase the precision of edge selection