Advertisement
Guest User

Untitled

a guest
Feb 21st, 2014
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
DOT 2.25 KB | None | 0 0
  1. digraph N {
  2.  graph [fontname="Helvetica" nodesep=0.25 ranksep="0.25" remincross=true label="Petri net\nΩ=((p4=0) ∧ (init=0) ∧ (p3=0) ∧ (p9=0) ∧ (p2=0) ∧ (final=0) ∧ (p5=0) ∧ (p7=0) ∧ (p1=0) ∧ (p8=0) ∧ (p6=0))"]
  3.  node [fontname="Helvetica" fixedsize width=".3" height=".3" label="" style=filled]
  4.  edge [fontname="Helvetica" color=white arrowhead=none weight="20.0"]
  5.  
  6. // interface
  7.  
  8. // places
  9.  node [shape=circle fillcolor=white]
  10. p10 []
  11.  p10_l  [style=invis]
  12.  p10_l -> p10 [headlabel="final"]
  13. p11 [fillcolor=black peripheries=2 height=".2" width=".2" ]
  14.  p11_l  [style=invis]
  15.  p11_l -> p11 [headlabel="init"]
  16. p1  []
  17.  p1_l   [style=invis]
  18.  p1_l -> p1 [headlabel="p1"]
  19. p6  []
  20.  p6_l   [style=invis]
  21.  p6_l -> p6 [headlabel="p2"]
  22. p4  []
  23.  p4_l   [style=invis]
  24.  p4_l -> p4 [headlabel="p3"]
  25. p7  []
  26.  p7_l   [style=invis]
  27.  p7_l -> p7 [headlabel="p4"]
  28. p2  []
  29.  p2_l   [style=invis]
  30.  p2_l -> p2 [headlabel="p5"]
  31. p3  []
  32.  p3_l   [style=invis]
  33.  p3_l -> p3 [headlabel="p6"]
  34. p5  []
  35.  p5_l   [style=invis]
  36.  p5_l -> p5 [headlabel="p7"]
  37. p9  []
  38.  p9_l   [style=invis]
  39.  p9_l -> p9 [headlabel="p8"]
  40. p8  []
  41.  p8_l   [style=invis]
  42.  p8_l -> p8 [headlabel="p9"]
  43.  // transitions
  44.  node [shape=box]
  45. t7  []
  46.  t7_l   [style=invis]
  47.  t7_l -> t7 [headlabel="t1"]
  48. t1  []
  49.  t1_l   [style=invis]
  50.  t1_l -> t1 [headlabel="t2"]
  51. t6  []
  52.  t6_l   [style=invis]
  53.  t6_l -> t6 [headlabel="t3"]
  54. t8  []
  55.  t8_l   [style=invis]
  56.  t8_l -> t8 [headlabel="t4"]
  57. t4  []
  58.  t4_l   [style=invis]
  59.  t4_l -> t4 [headlabel="t5"]
  60. t5  []
  61.  t5_l   [style=invis]
  62.  t5_l -> t5 [headlabel="t6"]
  63. t2  []
  64.  t2_l   [style=invis]
  65.  t2_l -> t2 [headlabel="t7"]
  66. t3  []
  67.  t3_l   [style=invis]
  68.  t3_l -> t3 [headlabel="t8"]
  69.  
  70.  // inner cluster
  71.  subgraph cluster1
  72.  {
  73.   t7 t7_l t1 t1_l t6 t6_l t8 t8_l t4 t4_l t5 t5_l t2 t2_l t3 t3_l
  74.   p10 p10_l p11 p11_l p1 p1_l p6 p6_l p4 p4_l p7 p7_l p2 p2_l p3 p3_l p5 p5_l p9 p9_l p8 p8_l
  75.   label="" style=invis
  76.  }
  77.  
  78.  // arcs
  79.  edge [fontname="Helvetica" arrowhead=normal color=black]
  80.  t3 -> p10  []
  81.  p11 -> t7  []
  82.  t7 -> p1   []
  83.  p1 -> t1   []
  84.  t7 -> p6   []
  85.  p6 -> t6   []
  86.  t1 -> p4   []
  87.  p4 -> t8   []
  88.  t6 -> p7   []
  89.  p7 -> t4   []
  90.  t6 -> p2   []
  91.  p2 -> t5   []
  92.  t4 -> p3   []
  93.  t8 -> p3   []
  94.  p3 -> t2   []
  95.  p5 -> t2   []
  96.  t5 -> p5   []
  97.  p9 -> t3   []
  98.  t2 -> p9   []
  99.  t2 -> p8   []
  100.  p8 -> t3   []
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement