Spaces:
Running
Running
Reversed arrow direction
Browse files
app.py
CHANGED
@@ -26,7 +26,7 @@ def display_tree(output):
|
|
26 |
if i > 0:
|
27 |
dot.edge(str(i), str(i - 1), style='invis')
|
28 |
if head_idx != -1:
|
29 |
-
dot.edge(str(
|
30 |
|
31 |
|
32 |
# Render the Digraph object
|
|
|
26 |
if i > 0:
|
27 |
dot.edge(str(i), str(i - 1), style='invis')
|
28 |
if head_idx != -1:
|
29 |
+
dot.edge(str(head_idx), str(i), label=dep_func, constraint='False')
|
30 |
|
31 |
|
32 |
# Render the Digraph object
|