summaryrefslogtreecommitdiffstats
path: root/Doc/node2label.pl
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/node2label.pl')
-rwxr-xr-xDoc/node2label.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/node2label.pl b/Doc/node2label.pl
index 8159900..1d643db 100755
--- a/Doc/node2label.pl
+++ b/Doc/node2label.pl
@@ -4,7 +4,8 @@
require "labels.pl";
%nodes = ();
-foreach $label (keys %external_labels) {
+# sort so that we get a consistent assignment for nodes with multiple labels
+foreach $label (sort keys %external_labels) {
$nodes{$external_labels{$label}} = $label;
}