Advertisement
Guest User

Untitled

a guest
Dec 14th, 2015
159
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
DOT 0.44 KB | None | 0 0
  1. // I want to have the horizontal order : 12 13 14 15 23 24 25 34 35 45;
  2. // but I get: 12 13 23 14 15 24 34 25 35 45
  3.  
  4. graph "tree" {
  5. node [shape=plaintext];
  6.  1 -- 12;
  7.  1 -- 13;
  8.  1 -- 14;
  9.  1 -- 15;
  10.  2 -- 12;
  11.  2 -- 23;
  12.  2 -- 24;
  13.  2 -- 25;
  14.  3 -- 13;
  15.  3 -- 23;
  16.  3 -- 34;
  17.  3 -- 35;
  18.  4 -- 14;
  19.  4 -- 24;
  20.  4 -- 34;
  21.  4 -- 45;
  22.  5 -- 15;
  23.  5 -- 25;
  24.  5 -- 35;
  25.  5 -- 45;
  26.  // {rank = same; 12 13 14 15 23 24 25 34 35 45; rankdir=LR;}
  27.  }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement