alignment of edges and nodes fixed

-the nodes will now be aligned right or left respective of their
orientation
-the edges will now not move when modifying the labels