blob: 61e4c8270bf7193663549277ad01cb2a9233f09c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
%
% tkz-namedgraphs (27/05/2011)
%
% Coding (utf8) Creator (TeX) Producer (pdfeTeX)
% Author Alain Matthes
\input{tkzpreamblenamed.ltx}
\begin{document}
\begin{tikzpicture}
\renewcommand*{\VertexBallColor}{orange!50!red}
\renewcommand*{\EdgeDoubleDistance}{2pt}
\SetGraphUnit{4}
\GraphInit[vstyle=Shade]
\tikzset{LabelStyle/.style = {draw,
fill = yellow,
text = red}}
\Vertex{A}
\EA(A){B}
\EA(B){C}
{\SetGraphUnit{8}
\NO(B){D}}
\Edge[label=1](B)(D)
\tikzset{EdgeStyle/.append style = {bend left}}
\Edge[label=4](A)(B)
\Edge[label=5](B)(A)
\Edge[label=6](B)(C)
\Edge[label=7](C)(B)
\Edge[label=2](A)(D)
\Edge[label=3](D)(C)
\end{tikzpicture}
\end{document}
|