Advertisement
Guest User

patched dot

a guest
Apr 27th, 2011
771
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
DOT 1.71 KB | None | 0 0
  1. digraph {
  2.   rankdir=TB;
  3.   subgraph cluster01 {
  4.     label="1.fázis"
  5.  
  6.     aSTART;
  7.     node [shape = doublecircle]; a001;
  8.     node [shape = ellipse];
  9.  
  10.     aSTART -> a0 [ penwidth = 3 label = "0" ];
  11.     a0 -> a00 [ penwidth = 3 label = "0" ];  
  12.     a00 -> a001 [ penwidth = 3 label = "1" ];
  13.  
  14.  
  15.     a0 -> aSTART [ label = "1" ];  
  16.     a00 -> a00 [ label = "0" ];  
  17.     a001 -> a0 [ label = "0"];
  18.     a001 -> aSTART [ label = "1"];
  19.     aSTART -> aSTART [ label = "1"];  
  20.   }
  21.   subgraph cluster02
  22.   {
  23.   label="2.fázis"
  24.   bSTART; b1; b11;
  25.   node [shape = doublecircle]; b111;
  26.   node [shape = ellipse];
  27.  
  28.   bSTART -> b1 [ penwidth = 3 label = "1" ];
  29.   b1 -> b11 [ penwidth = 3 label = "1" ];  
  30.   b11 -> b111 [ penwidth = 3 label = "1" ];
  31.  
  32.   b1 -> bSTART [ label = "0" ];  
  33.   b11 -> bSTART [ label = "0" ];  
  34.   b111 -> bSTART [ label = "0"];
  35.   bSTART -> bSTART [ label = "0"];
  36.  
  37.   b111 -> b111 [label = "1"];
  38.   }
  39.  
  40.   subgraph cluster03
  41.   {
  42.   label="3.fázis";  
  43.  
  44.     cSTART; c0; c1; c01; c10;
  45.     node [shape = doublecircle]; c010; c100;
  46.     node [shape = ellipse];
  47.  
  48.     cSTART -> c0 [ penwidth = 3 label = "0" ];
  49.     c0 -> c01 [ label = "1" ];  
  50.     c01 -> c010 [ penwidth = 3 label = "0" ];
  51.  
  52.     cSTART -> c1 [ label = "1" ];  
  53.     c1 -> c10 [ penwidth = 3 label = "0" ];    
  54.     c10 -> c100 [ label = "0" ];    
  55.  
  56.     c0 -> c1 [ penwidth = 3 label = "1" ];
  57.     c01 -> c1 [ label = "1" ];
  58.     c1 -> c1 [label = "1"];
  59.  
  60.     c10 -> c01 [ penwidth = 3 label = "1"];
  61.  
  62.     c010 -> c100 [penwidth = 3 label = "0"];
  63.     c010 -> c01 [label = "1"];
  64.  
  65.     c100 -> c01 [label = "1"];
  66.     c100 -> c0 [label = "0"];
  67.  
  68.   }
  69.   {
  70.     rank=same;
  71.     aSTART;
  72.     bSTART
  73.     cSTART;
  74.   }
  75.  
  76.   a001 -> b1 [color = "red" style = "dashed"];
  77.   b111 -> c1 [color = "red" style = "dashed"];
  78. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement