diff --git a/lib/core/graph.dart b/lib/core/graph.dart index 10b3d492..3c9fff1b 100644 --- a/lib/core/graph.dart +++ b/lib/core/graph.dart @@ -162,17 +162,6 @@ class Graph extends ChangeNotifier { return _nodes; } - void assignRandomPositions(int maxX, int maxY) { - var random = Random(DateTime.now().millisecondsSinceEpoch); - - for (var node in nodes) { - node.x = random.nextInt(maxX).toDouble(); - node.y = random.nextInt(maxY).toDouble(); - } - - notifyListeners(); - } - Timer layoutTimer; void startLayout() {