diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index a66bbd2..b095c51 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -4,19 +4,9 @@
-
+
-
-
-
-
-
-
-
-
-
-
@@ -96,7 +86,15 @@
1720042374225
-
+
+
+ 1720120737939
+
+
+
+ 1720120737940
+
+
@@ -113,17 +111,7 @@
-
-
-
-
-
-
- file://$PROJECT_DIR$/OurApplication/OurDrawArea.java
- 53
-
-
-
-
+
+
\ No newline at end of file
diff --git a/graph/DirectedGraph.java b/graph/DirectedGraph.java
index b8d6ae0..b04e453 100644
--- a/graph/DirectedGraph.java
+++ b/graph/DirectedGraph.java
@@ -231,6 +231,11 @@ public class DirectedGraph exten
// Zähler für LogList
int step = 0;
+ // Färben der Start und Ziel Knoten für Visualisierung + hinzufügen zur LogList
+ n1.getScreenVertex().setColor(Color.RED);
+ n2.getScreenVertex().setColor(Color.RED);
+ this.logList.add(new OurLogElement(step, "Step: " + step, 0, this.getScreenGraphCopy()));
+
while (!queue.isEmpty()) {
// Den nächsten Knoten, der am wenigsten kostet, besuchen
WrapperElement nextVertex = queue.poll();
@@ -308,6 +313,11 @@ public class DirectedGraph exten
// Zähler für LogList
int step = 0;
+ // Färben der Start und Ziel Knoten für Visualisierung + hinzufügen zur LogList
+ n1.getScreenVertex().setColor(Color.RED);
+ n2.getScreenVertex().setColor(Color.RED);
+ this.logList.add(new OurLogElement(step, "Step: " + step, 0, this.getScreenGraphCopy()));
+
while (!queue.isEmpty()) {
// Den nächsten Knoten, der am wenigsten kostet, besuchen
WrapperElement nextVertex = queue.poll();
diff --git a/out/production/ProjektGraph/graph/DirectedGraph.class b/out/production/ProjektGraph/graph/DirectedGraph.class
index 0abe4b5..940059e 100644
Binary files a/out/production/ProjektGraph/graph/DirectedGraph.class and b/out/production/ProjektGraph/graph/DirectedGraph.class differ