File size: 3,196 Bytes
0a30697
5d8a2c7
 
0a30697
 
 
5d8a2c7
34b5998
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5d8a2c7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4e6c5db
5d8a2c7
4e6c5db
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
import streamlit as st
import graphviz as gv


st.set_page_config(page_title="8 Dimensions of Self Care", page_icon=":heart:")
st.title("8 Dimensions of Self Care")

st.markdown("""

# Positive Reframing Strategies for Self Care

## 🌱 Emotional - How we feel
1. Practice gratitude
2. Focus on the present moment
3. Use positive affirmations
4. Surround yourself with positivity

## πŸ™ Spiritual - Our beliefs
1. Engage in regular meditation or prayer
2. Connect with nature
3. Practice forgiveness and self-compassion
4. Attend spiritual gatherings or join a spiritual community

## πŸ’° Financial - How we manage money
1. Create a realistic budget
2. Set achievable financial goals
3. Prioritize paying off debts
4. Invest in your future

## πŸ’‘ Cognitive - How we think
1. Challenge negative thoughts
2. Practice mindfulness
3. Set achievable personal goals
4. Engage in lifelong learning

## 🎯 Aptitudinal - Our abilities
1. Identify and develop your strengths
2. Set realistic expectations
3. Embrace failure as a learning opportunity
4. Seek out opportunities for personal growth

## 🀝 Relational - Our connections
1. Nurture positive relationships
2. Communicate openly and honestly
3. Practice empathy and active listening
4. Set healthy boundaries

## 🌍 Environmental - Our surroundings
1. Create a calming and organized living space
2. Spend time in nature
3. Reduce exposure to environmental stressors
4. Practice sustainable living

## πŸƒβ€β™‚οΈ Physical - Our bodies
1. Engage in regular physical activity
2. Prioritize sleep and relaxation
3. Maintain a balanced and nutritious diet
4. Limit alcohol and drug consumption


""")


g = gv.Graph(format='svg', engine='circo')

g.node('B', label="8 Dimensions of Self Care", shape="ellipse", fontsize="20", style="filled", fillcolor="lightblue")

dimensions = [
    ('A', "🌱 Emotional\nHow we feel"),
    ('C', "πŸ™ Spiritual\nOur beliefs"),
    ('D', "πŸ’° Financial\nHow we manage money"),
    ('E', "πŸ’‘ Cognitive\nHow we think"),
    ('F', "🎯 Aptitudinal\nOur abilities"),
    ('G', "🀝 Relational\nOur connections"),
    ('H', "🌍 Environmental\nOur surroundings"),
    ('I', "πŸƒβ€β™‚οΈ Physical\nOur bodies"),
]

for node, label in dimensions:
    g.node(node, label=label, shape="ellipse", fontsize="16", style="filled", fillcolor="lightgoldenrodyellow")

for node, _ in dimensions:
    g.edge('B', node)

st.graphviz_chart(g)


g = gv.Graph(format='svg', engine='twopi')

g.node('B', label="8 Dimensions of Self Care", shape="ellipse", fontsize="14", style="filled", fillcolor="lightblue")

dimensions = [
    ('A', "🌱 Emotional\nHow we feel"),
    ('C', "πŸ™ Spiritual\nOur beliefs"),
    ('D', "πŸ’° Financial\nHow we manage money"),
    ('E', "πŸ’‘ Cognitive\nHow we think"),
    ('F', "🎯 Aptitudinal\nOur abilities"),
    ('G', "🀝 Relational\nOur connections"),
    ('H', "🌍 Environmental\nOur surroundings"),
    ('I', "πŸƒβ€β™‚οΈ Physical\nOur bodies"),
]

for node, label in dimensions:
    g.node(node, label=label, shape="ellipse", fontsize="12", style="filled", fillcolor="lightgoldenrodyellow")

for node, _ in dimensions:
    g.edge('B', node)

st.graphviz_chart(g)