Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -8,21 +8,23 @@ g.graph_attr['outputorder'] = 'edgesfirst'
|
|
8 |
g.graph_attr['size'] = '10,10'
|
9 |
g.node_attr['style'] = 'filled'
|
10 |
g.node_attr['shape'] = 'box'
|
|
|
11 |
|
12 |
with g.subgraph(name='cluster_MN') as c:
|
13 |
c.graph_attr['bgcolor'] = '#ADD8E6'
|
14 |
c.node_attr['color'] = '#000000'
|
|
|
15 |
c.attr(label='Minnesota')
|
16 |
-
c.node('Allina Health', URL='https://www.allinahealth.org/', tooltip='Allina Health: Abbott Northwestern Hospital')
|
17 |
-
c.node('Fairview Health Services', URL='https://www.fairview.org/', tooltip='Fairview Health Services: University of Minnesota Medical Center')
|
18 |
-
c.node('HealthPartners', URL='https://www.healthpartners.com/', tooltip='HealthPartners: Regions Hospital')
|
19 |
-
c.node('Mayo Clinic', URL='https://www.mayoclinic.org/', tooltip='Mayo Clinic: Saint Marys Hospital')
|
20 |
-
c.node('CentraCare', URL='https://www.centracare.com/', tooltip='CentraCare: St. Cloud Hospital')
|
21 |
-
c.node('Essentia Health', URL='https://www.essentiahealth.org/', tooltip='Essentia Health: St. Mary’s Medical Center')
|
22 |
-
c.node('Hennepin Healthcare', URL='https://www.hennepinhealthcare.org/', tooltip='Hennepin Healthcare: HCMC')
|
23 |
-
c.node('Children\'s Minnesota', URL='https://www.childrensmn.org/', tooltip='Children\'s Minnesota: Children\'s Hospitals and Clinics of Minnesota')
|
24 |
-
c.node('Sanford Health', URL='https://www.sanfordhealth.org/', tooltip='Sanford Health: Sanford Bemidji Medical Center')
|
25 |
-
c.node('St. Luke\'s Hospital', URL='https://www.slhduluth.com/', tooltip='St. Luke\'s Hospital: St. Luke\'s Hospital')
|
26 |
|
27 |
# Render the graph using streamlit
|
28 |
st.graphviz_chart(g)
|
|
|
8 |
g.graph_attr['size'] = '10,10'
|
9 |
g.node_attr['style'] = 'filled'
|
10 |
g.node_attr['shape'] = 'box'
|
11 |
+
g.node_attr['fontcolor'] = '#FFFFFF'
|
12 |
|
13 |
with g.subgraph(name='cluster_MN') as c:
|
14 |
c.graph_attr['bgcolor'] = '#ADD8E6'
|
15 |
c.node_attr['color'] = '#000000'
|
16 |
+
c.node_attr['fontcolor'] = '#000000'
|
17 |
c.attr(label='Minnesota')
|
18 |
+
c.node('Allina Health', URL='https://www.allinahealth.org/', target='_blank', tooltip='Allina Health: Abbott Northwestern Hospital')
|
19 |
+
c.node('Fairview Health Services', URL='https://www.fairview.org/', target='_blank', tooltip='Fairview Health Services: University of Minnesota Medical Center')
|
20 |
+
c.node('HealthPartners', URL='https://www.healthpartners.com/', target='_blank', tooltip='HealthPartners: Regions Hospital')
|
21 |
+
c.node('Mayo Clinic', URL='https://www.mayoclinic.org/', target='_blank', tooltip='Mayo Clinic: Saint Marys Hospital')
|
22 |
+
c.node('CentraCare', URL='https://www.centracare.com/', target='_blank', tooltip='CentraCare: St. Cloud Hospital')
|
23 |
+
c.node('Essentia Health', URL='https://www.essentiahealth.org/', target='_blank', tooltip='Essentia Health: St. Mary’s Medical Center')
|
24 |
+
c.node('Hennepin Healthcare', URL='https://www.hennepinhealthcare.org/', target='_blank', tooltip='Hennepin Healthcare: HCMC')
|
25 |
+
c.node('Children\'s Minnesota', URL='https://www.childrensmn.org/', target='_blank', tooltip='Children\'s Minnesota: Children\'s Hospitals and Clinics of Minnesota')
|
26 |
+
c.node('Sanford Health', URL='https://www.sanfordhealth.org/', target='_blank', tooltip='Sanford Health: Sanford Bemidji Medical Center')
|
27 |
+
c.node('St. Luke\'s Hospital', URL='https://www.slhduluth.com/', target='_blank', tooltip='St. Luke\'s Hospital: St. Luke\'s Hospital')
|
28 |
|
29 |
# Render the graph using streamlit
|
30 |
st.graphviz_chart(g)
|