Removed unnecessary comment

This commit is contained in:
yangdx
2025-02-24 16:28:18 +08:00
parent b8543b8701
commit 9fd0ab185f

View File

@@ -176,12 +176,6 @@ class NetworkXStorage(BaseGraphStorage):
"""
labels = set()
for node in self._graph.nodes():
# node_data = dict(self._graph.nodes[node])
# if "entity_type" in node_data:
# if isinstance(node_data["entity_type"], list):
# labels.update(node_data["entity_type"])
# else:
# labels.add(node_data["entity_type"])
labels.add(str(node)) # Add node id as a label
# Return sorted list