awacke1 commited on
Commit
4e6c5db
Β·
1 Parent(s): bd23d54

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +21 -0
app.py CHANGED
@@ -85,4 +85,25 @@ for node, _ in dimensions:
85
  st.graphviz_chart(g)
86
 
87
 
 
88
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
85
  st.graphviz_chart(g)
86
 
87
 
88
+ g = gv.Graph(format='svg', engine='twopi')
89
 
90
+ g.node('B', label="8 Dimensions of Self Care", shape="ellipse", fontsize="14", style="filled", fillcolor="lightblue")
91
+
92
+ dimensions = [
93
+ ('A', "🌱 Emotional\nHow we feel"),
94
+ ('C', "πŸ™ Spiritual\nOur beliefs"),
95
+ ('D', "πŸ’° Financial\nHow we manage money"),
96
+ ('E', "πŸ’‘ Cognitive\nHow we think"),
97
+ ('F', "🎯 Aptitudinal\nOur abilities"),
98
+ ('G', "🀝 Relational\nOur connections"),
99
+ ('H', "🌍 Environmental\nOur surroundings"),
100
+ ('I', "πŸƒβ€β™‚οΈ Physical\nOur bodies"),
101
+ ]
102
+
103
+ for node, label in dimensions:
104
+ g.node(node, label=label, shape="ellipse", fontsize="12", style="filled", fillcolor="lightgoldenrodyellow")
105
+
106
+ for node, _ in dimensions:
107
+ g.edge('B', node)
108
+
109
+ st.graphviz_chart(g)