Skip to content

Commit

Permalink
Update graph.py
Browse files Browse the repository at this point in the history
  • Loading branch information
pjuangph committed Jun 17, 2024
1 parent b692715 commit 084337f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plot3d/graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ def block_connectivity_to_graph(connectivities:List[Dict[str,int]],block_sizes:L


for i in range(len(block_sizes)):
G.add_node(i, weight=block_sizes[i])
G.add_node(i, weight=block_sizes[i][0]*block_sizes[i][1]*block_sizes[i][2])

# Adds the connectivity information
G.add_edges_from(block_to_block)
Expand Down

0 comments on commit 084337f

Please sign in to comment.