Fix for horizontal node coordinates

for GraphLayout project