graph with dependies problem code example
Example: graph with dependies problem
def dep_resolve(node):
print node.name
for edge in node.edges:
dep_resolve(edge)
dep_resolve(a)
def dep_resolve(node):
print node.name
for edge in node.edges:
dep_resolve(edge)
dep_resolve(a)