Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // I want to have the horizontal order : 12 13 14 15 23 24 25 34 35 45;
- // but I get: 12 13 23 14 15 24 34 25 35 45
- graph "tree" {
- node [shape=plaintext];
- 1 -- 12;
- 1 -- 13;
- 1 -- 14;
- 1 -- 15;
- 2 -- 12;
- 2 -- 23;
- 2 -- 24;
- 2 -- 25;
- 3 -- 13;
- 3 -- 23;
- 3 -- 34;
- 3 -- 35;
- 4 -- 14;
- 4 -- 24;
- 4 -- 34;
- 4 -- 45;
- 5 -- 15;
- 5 -- 25;
- 5 -- 35;
- 5 -- 45;
- // {rank = same; 12 13 14 15 23 24 25 34 35 45; rankdir=LR;}
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement