harishB97 commited on
Commit
32a1083
·
verified ·
1 Parent(s): a93d680

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -70,7 +70,7 @@ g = ig.Graph.Tree(7, 2) # A binary tree with 7 nodes
70
  lay = g.layout('rt') # Reingold-Tilford layout
71
 
72
  # Prepare node and edge traces for Plotly
73
- edge_trace = go.Scatter(
74
  x=[lay[edge[0]][0], lay[edge[1]][0], None],
75
  y=[lay[edge[0]][1], lay[edge[1]][1], None],
76
  line=dict(width=0.5, color='#888'),
 
70
  lay = g.layout('rt') # Reingold-Tilford layout
71
 
72
  # Prepare node and edge traces for Plotly
73
+ edge_trace = [go.Scatter(
74
  x=[lay[edge[0]][0], lay[edge[1]][0], None],
75
  y=[lay[edge[0]][1], lay[edge[1]][1], None],
76
  line=dict(width=0.5, color='#888'),