limit not printed

This commit is contained in:
Costa Shulyupin 2022-11-04 08:31:52 +02:00
parent b85fc5b24f
commit d1b2a4ed11
1 changed files with 4 additions and 3 deletions

View File

@ -619,9 +619,10 @@ def digraph_print(dg, starts=None, dst_fn=None, sort=False):
if o in dg: if o in dg:
digraph_print_sub('', o) digraph_print_sub('', o)
# not yet printed rest: # not yet printed rest:
for o in dg.nodes(): if lines < lines_limit:
if o not in printed: for o in dg.nodes():
digraph_print_sub('', o) if o not in printed:
digraph_print_sub('', o)
if dst_fn: if dst_fn:
print(dst_fn) print(dst_fn)
dst.close() dst.close()