forked from OpenSDV/Linux_Kernel_map4vehicle
cleanup
This commit is contained in:
parent
04b60de859
commit
e80f36d8e4
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue