diff options
author | syn <isaqtm@gmail.com> | 2019-12-27 10:33:43 +0300 |
---|---|---|
committer | syn <isaqtm@gmail.com> | 2019-12-27 10:33:43 +0300 |
commit | 325d44c6428af3e70d0b4c5d78a1e1d117895f52 (patch) | |
tree | 3561ee255f5be3b2ad055c70fe7653c562f6c6a2 /test_dot.tex | |
download | some-texs-325d44c6428af3e70d0b4c5d78a1e1d117895f52.tar.gz |
Diffstat (limited to 'test_dot.tex')
-rw-r--r-- | test_dot.tex | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/test_dot.tex b/test_dot.tex new file mode 100644 index 0000000..a913de1 --- /dev/null +++ b/test_dot.tex @@ -0,0 +1,14 @@ +% A simple cycle +% Author : Jerome Tremblay +\documentclass{standalone} +\usepackage{tikz} +\begin{document} +\begin{tikzpicture} + \node[shape=circle,draw=blue] (A) at (0,0) {$v_1$}; + \node[shape=circle,draw=red] (B) at (2,2) {$v_2$}; + \node[shape=circle,draw=blue] (C) at (0,4) {$v_3$}; + + \path [-](A) edge node[left] {} (B); + \path [-](B) edge node[left] {} (C); +\end{tikzpicture} +\end{document}
\ No newline at end of file |