Shaltiel commited on
Commit
2cd4845
1 Parent(s): 15d2ecf

Reversed arrow direction

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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(i), str(head_idx), label=dep_func, constraint='False')
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