This commit is contained in:
Costa Shulyupin 2018-08-11 17:52:46 +03:00
parent 04b60de859
commit e80f36d8e4
1 changed files with 0 additions and 2 deletions

View File

@ -644,8 +644,6 @@ def write_dot(g, dot):
ranks[r].append(n) ranks[r].append(n)
if not g.out_degree(n): if not g.out_degree(n):
continue continue
# dot.write((n if n != 'node' else '"node"') + ';\n')
# dot.write((n if n != 'node' else '"node"') + ' -> { ')
dot.write('"%s" -> { ' % (n)) dot.write('"%s" -> { ' % (n))
dot.write(' '.join(['"%s"' % (str(a)) for a in g.successors(n)])) dot.write(' '.join(['"%s"' % (str(a)) for a in g.successors(n)]))
if r and scaled: if r and scaled: