Implement vertical node ordering

for GraphLayout project