Update app.py
Browse files
app.py
CHANGED
@@ -24,7 +24,7 @@ def render_dependency_tree(words, parents, labels):
|
|
24 |
|
25 |
# Draw the graph
|
26 |
nx.draw(G, pos, ax=ax, with_labels=True, labels=nx.get_node_attributes(G, 'label'),
|
27 |
-
arrows=True, node_color='#ffffff', node_size=0, node_shape='s', font_size=24, bbox = dict(facecolor="white", pad=
|
28 |
)
|
29 |
|
30 |
# Draw edge labels
|
|
|
24 |
|
25 |
# Draw the graph
|
26 |
nx.draw(G, pos, ax=ax, with_labels=True, labels=nx.get_node_attributes(G, 'label'),
|
27 |
+
arrows=True, node_color='#ffffff', node_size=0, node_shape='s', font_size=24, bbox = dict(facecolor="white", pad=10)
|
28 |
)
|
29 |
|
30 |
# Draw edge labels
|