Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -87,7 +87,8 @@ def create_org_chart(df, title, direction='TB'):
|
|
| 87 |
x=edge_x, y=edge_y,
|
| 88 |
line=dict(width=2, color='#888'),
|
| 89 |
hoverinfo='none',
|
| 90 |
-
mode='lines'
|
|
|
|
| 91 |
|
| 92 |
node_trace = go.Scatter(
|
| 93 |
x=node_x, y=node_y,
|
|
@@ -102,6 +103,7 @@ def create_org_chart(df, title, direction='TB'):
|
|
| 102 |
),
|
| 103 |
hoverinfo='text',
|
| 104 |
textfont=dict(size=14, color='white')
|
|
|
|
| 105 |
|
| 106 |
fig = go.Figure(data=[edge_trace, node_trace],
|
| 107 |
layout=go.Layout(
|
|
|
|
| 87 |
x=edge_x, y=edge_y,
|
| 88 |
line=dict(width=2, color='#888'),
|
| 89 |
hoverinfo='none',
|
| 90 |
+
mode='lines'
|
| 91 |
+
)
|
| 92 |
|
| 93 |
node_trace = go.Scatter(
|
| 94 |
x=node_x, y=node_y,
|
|
|
|
| 103 |
),
|
| 104 |
hoverinfo='text',
|
| 105 |
textfont=dict(size=14, color='white')
|
| 106 |
+
)
|
| 107 |
|
| 108 |
fig = go.Figure(data=[edge_trace, node_trace],
|
| 109 |
layout=go.Layout(
|