Update app.py
Browse files
app.py
CHANGED
|
@@ -69,7 +69,7 @@ def create_binary_tree_edges(depth):
|
|
| 69 |
def plot_tree_using_igraph():
|
| 70 |
# Define the edges in a tree structure
|
| 71 |
# edges = [(0, 1), (0, 2), (1, 3), (1, 4), (2, 5), (2, 6)]
|
| 72 |
-
edges = create_binary_tree_edges(
|
| 73 |
# edges = [(str(n1), str(n2)) for (n1, n2) in edges]
|
| 74 |
|
| 75 |
print(edges)
|
|
|
|
| 69 |
def plot_tree_using_igraph():
|
| 70 |
# Define the edges in a tree structure
|
| 71 |
# edges = [(0, 1), (0, 2), (1, 3), (1, 4), (2, 5), (2, 6)]
|
| 72 |
+
edges = create_binary_tree_edges(6)
|
| 73 |
# edges = [(str(n1), str(n2)) for (n1, n2) in edges]
|
| 74 |
|
| 75 |
print(edges)
|