Skip to content

Commit

Permalink
52
Browse files Browse the repository at this point in the history
  • Loading branch information
TreshMom committed Feb 19, 2024
1 parent 0573370 commit 23d21e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions project/task_1.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
bzip = cfpq_data.graph_from_csv(path)

def get_graph_info(graph: Any) -> Tuple[int, int, Set[str]]:
countNode = len(graph.nodes)
countEdges = len(graph.edges)
countNode = graph.number_of_nodes()
countEdges = graph.number_of_edges()
countLabels = set()
for edge in graph.edges:
countLabels.add(edge.attr['label'])
Expand Down

0 comments on commit 23d21e5

Please sign in to comment.