summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2025-09-30 16:25:20 -0600
committermo khan <mo@mokhan.ca>2025-09-30 16:25:20 -0600
commitd31a877acc635f52b30f458f3f338b9be4544bda (patch)
tree0b6c1114903ecff8ea21d1b3474df988fce413f1
parentf34480ab0b15656b9518c3a3ed61951895db90fc (diff)
use xlabel for weights
-rw-r--r--assignments/2/graph.dot56
1 files changed, 28 insertions, 28 deletions
diff --git a/assignments/2/graph.dot b/assignments/2/graph.dot
index f2e67b5..bb0e281 100644
--- a/assignments/2/graph.dot
+++ b/assignments/2/graph.dot
@@ -1,32 +1,32 @@
strict graph {
rankdir=LR;
- s -- t [label=1]
- s -- v [label=5]
- t -- s [label=1]
- t -- u [label=9]
- t -- v [label=6]
- t -- y [label=5]
- t -- z [label=3]
- u -- t [label=9]
- u -- v [label=1]
- u -- w [label=1]
- u -- x [label=2]
- u -- y [label=1]
- v -- s [label=5]
- v -- t [label=6]
- v -- u [label=1]
- v -- w [label=3]
- w -- u [label=1]
- w -- v [label=3]
- w -- x [label=3]
- x -- u [label=2]
- x -- w [label=3]
- x -- y [label=5]
- y -- t [label=5]
- y -- u [label=1]
- y -- x [label=5]
- y -- z [label=11]
- z -- t [label=3]
- z -- y [label=11]
+ s -- t [xlabel=1]
+ s -- v [xlabel=5]
+ t -- s [xlabel=1]
+ t -- u [xlabel=9]
+ t -- v [xlabel=6]
+ t -- y [xlabel=5]
+ t -- z [xlabel=3]
+ u -- t [xlabel=9]
+ u -- v [xlabel=1]
+ u -- w [xlabel=1]
+ u -- x [xlabel=2]
+ u -- y [xlabel=1]
+ v -- s [xlabel=5]
+ v -- t [xlabel=6]
+ v -- u [xlabel=1]
+ v -- w [xlabel=3]
+ w -- u [xlabel=1]
+ w -- v [xlabel=3]
+ w -- x [xlabel=3]
+ x -- u [xlabel=2]
+ x -- w [xlabel=3]
+ x -- y [xlabel=5]
+ y -- t [xlabel=5]
+ y -- u [xlabel=1]
+ y -- x [xlabel=5]
+ y -- z [xlabel=11]
+ z -- t [xlabel=3]
+ z -- y [xlabel=11]
}