From eabe4071112a744a7be577263013a9bb0e4eb524 Mon Sep 17 00:00:00 2001 From: Benjamin Auder Date: Wed, 31 Jan 2018 02:41:08 +0100 Subject: [PATCH] Fix bug introduced with randomization --- parser.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parser.js b/parser.js index ba113e5..51a05e0 100644 --- a/parser.js +++ b/parser.js @@ -261,7 +261,7 @@ class ErDiags if (Math.random() < 0.5) mcdDot += e.name + ':name -- ' + name; else - mcdDot += name + ':name -- ' + e.name; + mcdDot += name + ' -- ' + e.name + ':name'; mcdDot += '[label="' + ErDiags.CARDINAL[e.card] + '"];\n'; }); if (!!a.attributes) -- 2.44.0