Mercurial > hg > Members > shinya > pyrect
annotate code/dot/combine.dot @ 49:7f4221018adf
accept UTF-8 encoding. but some foundational bug in converting algorithm NFA. maybe, which is not too difficult.
author | Ryoma SHINYA <shinya@firefly.cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 09 Aug 2010 04:34:13 +0900 |
parents | 44114b141cb5 |
children |
rev | line source |
---|---|
45
d29d3470fde7
modify dot translator. add regex as title, and simplify graph.
Ryoma SHINYA <shinya@firefly.cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
1 |
d29d3470fde7
modify dot translator. add regex as title, and simplify graph.
Ryoma SHINYA <shinya@firefly.cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
2 digraph G{ |
d29d3470fde7
modify dot translator. add regex as title, and simplify graph.
Ryoma SHINYA <shinya@firefly.cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
3 rankdir=LR |
d29d3470fde7
modify dot translator. add regex as title, and simplify graph.
Ryoma SHINYA <shinya@firefly.cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
4 regex [shape=plaintext, label="(argv|argc|args)"] |
d29d3470fde7
modify dot translator. add regex as title, and simplify graph.
Ryoma SHINYA <shinya@firefly.cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
5 q0 [shape=doublecircle, fillcolor=lightsteelblue1, style=filled, color = navyblue] |
d29d3470fde7
modify dot translator. add regex as title, and simplify graph.
Ryoma SHINYA <shinya@firefly.cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
6 q1 [shape=circle, fillcolor=lightsteelblue1, style=filled, color = navyblue] |
d29d3470fde7
modify dot translator. add regex as title, and simplify graph.
Ryoma SHINYA <shinya@firefly.cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
7 q2 [shape=doublecircle, fillcolor=lightsteelblue1, style=filled, color = navyblue] |
d29d3470fde7
modify dot translator. add regex as title, and simplify graph.
Ryoma SHINYA <shinya@firefly.cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
8 q5 [shape=circle, fillcolor=lightsteelblue1, style=filled, color = navyblue] |
d29d3470fde7
modify dot translator. add regex as title, and simplify graph.
Ryoma SHINYA <shinya@firefly.cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
9 q6 [shape=doublecircle, fillcolor=lightsteelblue1, style=filled, color = navyblue] |
d29d3470fde7
modify dot translator. add regex as title, and simplify graph.
Ryoma SHINYA <shinya@firefly.cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
10 start [shape=point] |
d29d3470fde7
modify dot translator. add regex as title, and simplify graph.
Ryoma SHINYA <shinya@firefly.cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
11 start -> q1 |
d29d3470fde7
modify dot translator. add regex as title, and simplify graph.
Ryoma SHINYA <shinya@firefly.cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
12 q1 -> q5 [label="'arg'"] |
d29d3470fde7
modify dot translator. add regex as title, and simplify graph.
Ryoma SHINYA <shinya@firefly.cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
13 q5 -> q6 [label="'s'"] |
d29d3470fde7
modify dot translator. add regex as title, and simplify graph.
Ryoma SHINYA <shinya@firefly.cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
14 q5 -> q2 [label="'c'"] |
d29d3470fde7
modify dot translator. add regex as title, and simplify graph.
Ryoma SHINYA <shinya@firefly.cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
15 q5 -> q0 [label="'v'"] |
d29d3470fde7
modify dot translator. add regex as title, and simplify graph.
Ryoma SHINYA <shinya@firefly.cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
16 } |