From 475fbcbc002c05c697e6068a97ac518e40a44dae Mon Sep 17 00:00:00 2001 From: Vishesh Handa Date: Sat, 26 Sep 2020 05:39:26 +0200 Subject: [PATCH] Graph: Start drawing the nodes closer to the top left Instead of drawing them somewhere in the middle. --- lib/core/graph.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/core/graph.dart b/lib/core/graph.dart index 05776d5a..074eef72 100644 --- a/lib/core/graph.dart +++ b/lib/core/graph.dart @@ -196,8 +196,8 @@ class GraphNodeLayout { double x = 0.0; double y = 0.0; - double startX = 500.0; - double startY = 500.0; + double startX = 60.0; + double startY = 60.0; double gap = 70; double nodeSize = 50;