Removed unnecessary comment
This commit is contained in:
parent
b8543b8701
commit
9fd0ab185f
1 changed files with 0 additions and 6 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue