Skip to content

Commit

Permalink
Merge pull request #4 from zdk123/patchnx
Browse files Browse the repository at this point in the history
nx_graph.node => nx_graph.nodes
  • Loading branch information
tvayer authored Dec 17, 2022
2 parents 1205827 + 35faca9 commit 3d2128a
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 3d2128a

Please sign in to comment.