How do I impose the y position on a node when using graphviz to draw lattices?

I found the answer Here: linuxdevcenter.com/pub/a/linux/2004/05/0... Essentially it is possible to define what sets of nodes should be at the same hight. TO get the nodes A and B at the same hight I need to add the line: {rank=same; A B } So here is a similar example as the one before, but with the nodes set up right: digraph G { {rank=same; "768" "944" "539" "528" }; {rank=same; "768 539" "768 528" }; {rank=same; "768 640\n528 544" "528 536\n530 539" "768 704\n539 548" "944 728\n539 566" "944 656\n528 560" "944 800\n896 768" }; {rank=same; "800 896 548\n944 566 728\n539 704 768" "528 944 536\n530 566 560\n728 656 539" "800 896 944\n656 560 528\n544 640 768" "768 640 548\n528 530 544\n536 539 704" }; "768 640\n528 544" -> "768 528"; "528 536\n530 539" -> "539"; "528 536\n530 539" -> "528"; "800 896 548\n944 566 728\n539 704 768" -> "768 704\n539 548"; "800 896 548\n944 566 728\n539 704 768" -> "944 728\n539 566"; "800 896 548\n944 566 728\n539 704 768" -> "944 800\n896 768"; "768 539" -> "768"; "768 539" -> "539"; "768" -> "∅"; "944" -> "∅"; "528 944 536\n530 566 560\n728 656 539" -> "528 536\n530 539"; "528 944 536\n530 566 560\n728 656 539" -> "944 728\n539 566"; "528 944 536\n530 566 560\n728 656 539" -> "944 656\n528 560"; "768 704\n539 548" -> "768 539"; "944 728\n539 566" -> "944"; "944 728\n539 566" -> "539"; "800 896 944\n656 560 528\n544 640 768" -> "768 640\n528 544"; "800 896 944\n656 560 528\n544 640 768" -> "944 656\n528 560"; "800 896 944\n656 560 528\n544 640 768" -> "944 800\n896 768"; "539" -> "∅"; "944 656\n528 560" -> "944"; "944 656\n528 560" -> "528"; "896 640 656 536\n530 728 539 704\n768 800 544 528\n548 944 566 560" -> "800 896 548\n944 566 728\n539 704 768"; "896 640 656 536\n530 728 539 704\n768 800 544 528\n548 944 566 560" -> "528 944 536\n530 566 560\n728 656 539"; "896 640 656 536\n530 728 539 704\n768 800 544 528\n548 944 566 560" -> "800 896 944\n656 560 528\n544 640 768"; "896 640 656 536\n530 728 539 704\n768 800 544 528\n548 944 566 560" -> "768 640 548\n528 530 544\n536 539 704"; "768 528" -> "768"; "768 528" -> "528"; "528" -> "∅"; "768 640 548\n528 530 544\n536 539 704" -> "768 640\n528 544"; "768 640 548\n528 530 544\n536 539 704" -> "768 704\n539 548"; "768 640 548\n528 530 544\n536 539 704" -> "528 768 530\n539 536"; "944 800\n896 768" -> "768"; "944 800\n896 768" -> "944"; "528 768 530\n539 536" -> "528 536\n530 539"; "528 768 530\n539 536" -> "768 539"; "528 768 530\n539 536" -> "768 528"; }.

I found the answer. Here: linuxdevcenter.com/pub/a/linux/2004/05/0... Essentially it is possible to define what sets of nodes should be at the same hight. TO get the nodes A and B at the same hight I need to add the line: {rank=same; A B }; So here is a similar example as the one before, but with the nodes set up right: digraph G { {rank=same; "768" "944" "539" "528" }; {rank=same; "768 539" "768 528" }; {rank=same; "768 640\n528 544" "528 536\n530 539" "768 704\n539 548" "944 728\n539 566" "944 656\n528 560" "944 800\n896 768" }; {rank=same; "800 896 548\n944 566 728\n539 704 768" "528 944 536\n530 566 560\n728 656 539" "800 896 944\n656 560 528\n544 640 768" "768 640 548\n528 530 544\n536 539 704" }; "768 640\n528 544" -> "768 528"; "528 536\n530 539" -> "539"; "528 536\n530 539" -> "528"; "800 896 548\n944 566 728\n539 704 768" -> "768 704\n539 548"; "800 896 548\n944 566 728\n539 704 768" -> "944 728\n539 566"; "800 896 548\n944 566 728\n539 704 768" -> "944 800\n896 768"; "768 539" -> "768"; "768 539" -> "539"; "768" -> "∅"; "944" -> "∅"; "528 944 536\n530 566 560\n728 656 539" -> "528 536\n530 539"; "528 944 536\n530 566 560\n728 656 539" -> "944 728\n539 566"; "528 944 536\n530 566 560\n728 656 539" -> "944 656\n528 560"; "768 704\n539 548" -> "768 539"; "944 728\n539 566" -> "944"; "944 728\n539 566" -> "539"; "800 896 944\n656 560 528\n544 640 768" -> "768 640\n528 544"; "800 896 944\n656 560 528\n544 640 768" -> "944 656\n528 560"; "800 896 944\n656 560 528\n544 640 768" -> "944 800\n896 768"; "539" -> "∅"; "944 656\n528 560" -> "944"; "944 656\n528 560" -> "528"; "896 640 656 536\n530 728 539 704\n768 800 544 528\n548 944 566 560" -> "800 896 548\n944 566 728\n539 704 768"; "896 640 656 536\n530 728 539 704\n768 800 544 528\n548 944 566 560" -> "528 944 536\n530 566 560\n728 656 539"; "896 640 656 536\n530 728 539 704\n768 800 544 528\n548 944 566 560" -> "800 896 944\n656 560 528\n544 640 768"; "896 640 656 536\n530 728 539 704\n768 800 544 528\n548 944 566 560" -> "768 640 548\n528 530 544\n536 539 704"; "768 528" -> "768"; "768 528" -> "528"; "528" -> "∅"; "768 640 548\n528 530 544\n536 539 704" -> "768 640\n528 544"; "768 640 548\n528 530 544\n536 539 704" -> "768 704\n539 548"; "768 640 548\n528 530 544\n536 539 704" -> "528 768 530\n539 536"; "944 800\n896 768" -> "768"; "944 800\n896 768" -> "944"; "528 768 530\n539 536" -> "528 536\n530 539"; "528 768 530\n539 536" -> "768 539"; "528 768 530\n539 536" -> "768 528"; }.

1, Ran it and it worked for me. I love Graphviz for quickly generating state diagrams. – Arnold Spence Apr 18 '09 at 0:22.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions