23.10.2014 Views

tkz-grap h ctan v1.00 c AlterMundus

tkz-grap h ctan v1.00 c AlterMundus

tkz-grap h ctan v1.00 c AlterMundus

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

2.5 La ville de Königsberg avec TikZ mais sans <strong>tkz</strong>-<strong>grap</strong>h 11<br />

text<br />

= red}}<br />

enfin, le tracé<br />

\node[VertexStyle](A){A};<br />

\node[VertexStyle,right=of A](B){B};<br />

\node[VertexStyle,right=of B](C){C};<br />

\node[VertexStyle,above= 7 cm of B](D){D};<br />

\draw[EdgeStyle](B) to node[LabelStyle]{1} (D) ;<br />

\tikzset{EdgeStyle/.append style = {bend left}}<br />

\draw[EdgeStyle](A) to node[LabelStyle]{2} (B);<br />

\draw[EdgeStyle](B) to node[LabelStyle]{3} (A);<br />

\draw[EdgeStyle](B) to node[LabelStyle]{4} (C);<br />

\draw[EdgeStyle](C) to node[LabelStyle]{5} (B);<br />

\draw[EdgeStyle](A) to node[LabelStyle]{6} (D);<br />

\draw[EdgeStyle](D) to node[LabelStyle]{7} (C);<br />

\end{tikzpicture}<br />

\end{center}<br />

\end{document}<br />

D<br />

6 7<br />

1<br />

2<br />

4<br />

A B C<br />

3<br />

5<br />

<strong>tkz</strong>-<strong>grap</strong>h<br />

<strong>AlterMundus</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!