fix not printed

This commit is contained in:
Costa Shulyupin 2018-09-09 18:39:53 +03:00
parent a0c277929b
commit b94a746447
1 changed files with 5 additions and 3 deletions

View File

@ -511,6 +511,8 @@ def digraph_print(dg, starts=None, dst_fn=None, sort=False):
continue continue
passed.add(o) passed.add(o)
if o in dg: if o in dg:
digraph_print_sub('', o, printed)
# not yet printed rest:
for o in dg.nodes(): for o in dg.nodes():
if o not in printed: if o not in printed:
digraph_print_sub('', o, printed) digraph_print_sub('', o, printed)