add edge by nodes fixed