I'm using TikZ for the first time to draw a simple Kripke model, and I'm using the child notation to produce new nodes. How can I turn my edges into arrows?
\begin{tikzpicture}
\node [circle,draw] (q0) {}
child {node [circle,draw] (q1) {$p$}
child {node [circle,draw] (q4) {$p$}
child {node [circle,draw] (q7) {$p\land q$}}
child {node [circle,draw] (q8) {$p\land q$}}
child {node (q9) {} edge from parent[->, dashed]}}
child {node [circle,draw] (q5) {$q$}}
child {node (q6) {} edge from parent[dashed]}}
child {node [circle,draw] (q2) {$p$}}
child {node (q3) {} edge from parent[dashed]};
\end{tikzpicture}
I know how to change the color or thickness of all edges by passing an option at the beginning of \begin{tikzpicture}, but I can't turn them into arrows.
Also, while we're at it, is there a way to label these edges? Or am I left with simply using node notation for all my nodes?
Thanks for all your help,
Piotr
