From 3f94ced005107629b5dfcb407143d1b5fced97a5 Mon Sep 17 00:00:00 2001
From: Phokopi <phokopi@mail.ru>
Date: Tue, 13 Dec 2022 18:36:49 +0100
Subject: [PATCH] Changed text distance in graph

---
 toDot.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/toDot.py b/toDot.py
index 0fd6c74..def38ae 100644
--- a/toDot.py
+++ b/toDot.py
@@ -51,7 +51,7 @@ node [shape="plaintext"];
     for liste in dic:
         for opp in dic[liste]["win"]:
             if dic[liste]["win"][opp] > dic[opp]["win"][liste]:
-                o.write(liste + " -> " + opp + "[labeldistance=4 labelangle=-15 penwidth=1 headlabel=\"" + str(dic[liste]["win"][opp]) + ":" + str(dic[liste]["lose"][opp]) + "\" fontsize=9 color=\"" + colors[liste] + "\" fontcolor=\"" + colors[liste] + "\"]\n")
+                o.write(liste + " -> " + opp + "[labeldistance=4 labelangle=-30 penwidth=1 headlabel=\"" + str(dic[liste]["win"][opp]) + ":" + str(dic[liste]["lose"][opp]) + "\" fontsize=9 color=\"" + colors[liste] + "\" fontcolor=\"" + colors[liste] + "\"]\n")
     o.write("}\n")
     o.close()
 
-- 
GitLab