Skip to content

Commit

Permalink
nx_graph.node => nx_graph.nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
zdk123 committed May 14, 2022
1 parent 1205827 commit 35faca9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ def distance_matrix(self,method='shortest_path',changeInf=True,maxvaluemulti=10,


def all_matrix_attr(self,return_invd=False):
d=dict((k, v) for k, v in self.nx_graph.node.items())
d=dict((k, v) for k, v in self.nx_graph.nodes.items())
x=[]
invd={}
try :
Expand Down

0 comments on commit 35faca9

Please sign in to comment.