Removed random print(n.class.name) debug printout (shows "str" only anway) and made translation work by changing "G.node" to "G.nodes" on two occasions. Maybe networx or node implementations changed? Cured error: "AttributeError: 'DiGraph' object has no attribute 'node'"
Removed random print(n.class.name) debug printout (shows "str" only anway) and made translation work by changing "G.node" to "G.nodes" on two occasions. Maybe networx or node implementations changed? Cured error: "AttributeError: 'DiGraph' object has no attribute 'node'"