Gráfico con problema de depósitos

def dep_resolve(node):
   print node.name
   for edge in node.edges:
      dep_resolve(edge)
 
dep_resolve(a)
Black Bug