diff --git a/.classpath b/.classpath
index 5038f92..ade37c8 100644
--- a/.classpath
+++ b/.classpath
@@ -17,11 +17,13 @@
+
+
diff --git a/README.md b/README.md
index 861dff6..98e770e 100644
--- a/README.md
+++ b/README.md
@@ -165,7 +165,7 @@ Create a new [Issue][issues-url] to report any issues
## Authors
-v0.2: Dimitris Anyfantakis added a new java parser; Bill Dodis added the PlanUML extension as part of his Diploma Thesis in Univ. Ioannina.
+v0.2: Dimitris Anyfantakis added a new java parser; Bill Dodis added the PlanUML extension as part of his Diploma Thesis in Univ. Ioannina. Vassilis Zafeiris solved bugs at the package diagrams
v0.1: Dimitris Anyfantakis has developed the first version of the tool as part of his Diploma Thesis in Univ. Ioannina; Panos Vassiliadis acted solely as code reviewer and co-designer.
## License
diff --git a/pom.xml b/pom.xml
index b70f4c4..dced969 100644
--- a/pom.xml
+++ b/pom.xml
@@ -75,21 +75,24 @@
jung-visualization
2.1.1
-
- org.openjfx
- javafx-controls
- 18.0.1
-
-
- org.openjfx
- javafx-fxml
- 18.0.1
-
-
- org.openjfx
- javafx-web
- 18.0.1
-
+
+
+ org.openjfx
+ javafx-controls
+ 22.0.2
+
+
+
+ org.openjfx
+ javafx-fxml
+ 22.0.2
+
+
+
+ org.openjfx
+ javafx-web
+ 22.0.2
+
com.sirolf2009
fxgraph
@@ -207,6 +210,7 @@
+
org.openjfx
javafx-maven-plugin
0.0.8
diff --git a/src/main/java/model/diagram/PackageDiagram.java b/src/main/java/model/diagram/PackageDiagram.java
index b6ed1b6..4a05545 100644
--- a/src/main/java/model/diagram/PackageDiagram.java
+++ b/src/main/java/model/diagram/PackageDiagram.java
@@ -55,7 +55,8 @@ public List getChosenNodes(List chosenPackagesNames)
for (String chosenPackage : chosenPackagesNames)
{
Optional vertex = vertices.values().stream()
- .filter(it -> it.getName().equals(chosenPackage))
+ //.filter(it -> it.getName().equals(chosenPackage))
+ .filter(it -> it.getPath().toString().equals(chosenPackage))
.findFirst();
vertex.ifPresent(chosenPackages::add);