Commit b45ed79e authored by Niklas Rieken's avatar Niklas Rieken

rm deprecated tikz

parent 563b336e
\begin{tikzpicture}[->, >=stealth', shorten >=1pt, auto, node distance=2.8cm, semithick]
\node[initial, initial text=, state, fill=green, fill opacity=.7] (0) at (0, 0) {$q_0$};
\node[state, fill= green, fill opacity=.7] (1) at (2.5, 0) {$q_1$};
\node[state, accepting, fill=cyan, fill opacity=.7] (2) at (5, 0) {$q_2$};
\node[state, accepting, fill=cyan, fill opacity=.7] (3) at (7.5, 0) {$q_3$};
\node[state, fill=red, fill opacity=.7] (4) at (5, -2.5) {$q_4$};
\node[state, fill=green, fill opacity=.7] (5) at (2.5, -2.5) {$q_5$};
\path (0) edge[bend left] node {$a$} (1)
(0) edge[bend left=45] node {$b$} (3)
(1) edge[bend left] node {$a$} (0)
(1) edge node {$b$} (2)
(2) edge node {$a$} (3)
(2) edge node {$b$} (4)
(3) edge[loop right] node {$a$} (3)
(3) edge node {$b$} (4)
(4) edge node {$a, b$} (5)
(5) edge node {$a$} (0)
(5) edge node {$b$} (2);
\end{tikzpicture}
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment