Spaces:
Running
Running
Update src/visualization.py
Browse files- src/visualization.py +2 -2
src/visualization.py
CHANGED
@@ -204,8 +204,8 @@ def display_class_hierarchy_tree(ontology_manager, class_hierarchy):
|
|
204 |
|
205 |
# Display each root class
|
206 |
for root_class in sorted(root_classes):
|
207 |
-
|
208 |
-
|
209 |
|
210 |
def get_class_depths(ontology_manager) -> Dict[str, int]:
|
211 |
"""Calculate the inheritance depth of each class."""
|
|
|
204 |
|
205 |
# Display each root class
|
206 |
for root_class in sorted(root_classes):
|
207 |
+
for root_class in sorted(root_classes):
|
208 |
+
display_subclasses(root_class)
|
209 |
|
210 |
def get_class_depths(ontology_manager) -> Dict[str, int]:
|
211 |
"""Calculate the inheritance depth of each class."""
|