summaryrefslogtreecommitdiff
path: root/graphics/dot2tex/examples/distances.dot
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/dot2tex/examples/distances.dot')
-rw-r--r--graphics/dot2tex/examples/distances.dot25
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