Update app.py
Browse files
app.py
CHANGED
@@ -150,7 +150,8 @@ def plot_tree_using_igraph():
|
|
150 |
|
151 |
node_trace = go.Scatter(
|
152 |
x=node_x, y=node_y,
|
153 |
-
text=[
|
|
|
154 |
mode='markers+text',
|
155 |
hoverinfo='text',
|
156 |
marker=dict(
|
|
|
150 |
|
151 |
node_trace = go.Scatter(
|
152 |
x=node_x, y=node_y,
|
153 |
+
text=[id_to_node.name for i in range(len(layout.coords))],
|
154 |
+
# text=["Node {}".format(i) for i in range(len(layout.coords))],
|
155 |
mode='markers+text',
|
156 |
hoverinfo='text',
|
157 |
marker=dict(
|