diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
commit | e0c6872cf40896c7be36b11dcc744620f10adf1d (patch) | |
tree | 60335e10d2f4354b0674ec22d7b53f0f8abee672 /graphics/dot2tex/examples/distances.dot |
Initial commit
Diffstat (limited to 'graphics/dot2tex/examples/distances.dot')
-rw-r--r-- | graphics/dot2tex/examples/distances.dot | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/graphics/dot2tex/examples/distances.dot b/graphics/dot2tex/examples/distances.dot new file mode 100644 index 0000000000..b9cc1f30e1 --- /dev/null +++ b/graphics/dot2tex/examples/distances.dot @@ -0,0 +1,25 @@ +/* +:Title: Distances +:Tags: TikZ, tikzedgelabels + +Generated with:: + + $ circo -Txdot distances.dot | dot2tex.py --crop --tikzedgelabels -ftikz -tmath -s > distances.tex + +*/ +graph G { + node [shape=circle,fixedsize = true,width=0.1,style="fill=blue!20"]; + edge [lblstyle="fill=black!10,inner sep=1pt,sloped"]; + K -- F [label="120"]; + H -- S [label="650"]; + H -- M [label="780"]; + D -- B [label="490"]; + D -- M [label="600"]; + B -- M [label="580"]; + H -- N [label="600"]; + F -- H [label="490"]; + S -- B [label="630"]; + S -- N [label="210"]; + S -- M [label="230"]; + F --M [label="100"]; +}
\ No newline at end of file |