Deduplicate graph edges.
This commit is contained in:
parent
dee465f6af
commit
9784f78f1c
@ -93,7 +93,7 @@ def gen(headline_id, graph, doc_to_headline_remapping):
|
|||||||
g = centered_graph
|
g = centered_graph
|
||||||
|
|
||||||
with tempfile.NamedTemporaryFile(suffix='.dot', mode='wt') as f:
|
with tempfile.NamedTemporaryFile(suffix='.dot', mode='wt') as f:
|
||||||
f.write('digraph {\n')
|
f.write('strict digraph {\n')
|
||||||
f.write('maxiter=1000\n')
|
f.write('maxiter=1000\n')
|
||||||
f.write('splines=curved\n')
|
f.write('splines=curved\n')
|
||||||
# f.write('splines=spline\n') # Not supported with edges to cluster
|
# f.write('splines=spline\n') # Not supported with edges to cluster
|
||||||
|
Loading…
Reference in New Issue
Block a user