Update app.py
Browse files
app.py
CHANGED
|
@@ -95,6 +95,8 @@ def create_binary_tree_edges(root):
|
|
| 95 |
new_prev += [child for child in node.children if (len(child.children) > 0)]
|
| 96 |
prev = new_prev
|
| 97 |
|
|
|
|
|
|
|
| 98 |
def plot_tree_using_igraph():
|
| 99 |
# Define the edges in a tree structure
|
| 100 |
# edges = [(0, 1), (0, 2), (1, 3), (1, 4), (2, 5), (2, 6)]
|
|
|
|
| 95 |
new_prev += [child for child in node.children if (len(child.children) > 0)]
|
| 96 |
prev = new_prev
|
| 97 |
|
| 98 |
+
edges
|
| 99 |
+
|
| 100 |
def plot_tree_using_igraph():
|
| 101 |
# Define the edges in a tree structure
|
| 102 |
# edges = [(0, 1), (0, 2), (1, 3), (1, 4), (2, 5), (2, 6)]
|