Remove unnecessary comment in networkx_impl.py

This commit is contained in:
yangdx
2025-02-24 09:55:03 +08:00
parent 9dd18ccd89
commit b8543b8701

View File

@@ -174,7 +174,6 @@ class NetworkXStorage(BaseGraphStorage):
Returns: Returns:
[label1, label2, ...] # Alphabetically sorted label list [label1, label2, ...] # Alphabetically sorted label list
""" """
# Get all labels from nodes
labels = set() labels = set()
for node in self._graph.nodes(): for node in self._graph.nodes():
# node_data = dict(self._graph.nodes[node]) # node_data = dict(self._graph.nodes[node])