Update backup.app.py
Browse files- backup.app.py +17 -13
backup.app.py
CHANGED
@@ -7,22 +7,26 @@ def create_amygdala_hijacking_graph():
|
|
7 |
g = Digraph('Amygdala_Hijacking', format='png')
|
8 |
|
9 |
g.attr(rankdir='LR')
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
10 |
|
11 |
-
g
|
12 |
-
g.node('2', 'Thalamus', shape='oval')
|
13 |
-
g.node('3', 'Amygdala', shape='oval', color='red', style='filled')
|
14 |
-
g.node('4', 'Hippocampus', shape='oval')
|
15 |
-
g.node('5', 'Prefrontal Cortex', shape='oval')
|
16 |
-
g.node('6', 'Response', shape='oval')
|
17 |
|
18 |
-
g.edge('1', '2', label='Receives signals')
|
19 |
-
g.edge('2', '3', label='Quick, emotional response')
|
20 |
-
g.edge('2', '4', label='Sends signals to')
|
21 |
-
g.edge('4', '5', label='Relays information')
|
22 |
-
g.edge('5', '3', label='Rational control (if not hijacked)')
|
23 |
-
g.edge('3', '6', label='Generates response')
|
24 |
|
25 |
-
return g
|
26 |
|
27 |
|
28 |
def main():
|
|
|
7 |
g = Digraph('Amygdala_Hijacking', format='png')
|
8 |
|
9 |
g.attr(rankdir='LR')
|
10 |
+
g.attr('node', shape='oval', fontname='Arial', fontsize='16', fontcolor='black')
|
11 |
+
g.attr('edge', fontname='Arial', fontsize='12', fontcolor='blue')
|
12 |
+
|
13 |
+
g.node('1', 'π Sensory Input', shape='rect', style='filled', fillcolor='lightblue')
|
14 |
+
g.node('2', 'π‘ Thalamus', shape='ellipse', style='filled', fillcolor='lightgreen')
|
15 |
+
g.node('3', 'π΄ Amygdala', shape='ellipse', color='red', style='filled', fillcolor='red', fontcolor='white')
|
16 |
+
g.node('4', 'π Hippocampus', shape='ellipse', style='filled', fillcolor='lightyellow')
|
17 |
+
g.node('5', 'π‘ Prefrontal Cortex', shape='ellipse', style='filled', fillcolor='lightpink')
|
18 |
+
g.node('6', 'π¬ Response', shape='rect', style='filled', fillcolor='lightgray')
|
19 |
+
|
20 |
+
g.edge('1', '2', label='π Receives Signals')
|
21 |
+
g.edge('2', '3', label='β‘ Quick, Emotional Response')
|
22 |
+
g.edge('2', '4', label='π Sends Signals To')
|
23 |
+
g.edge('4', '5', label='π Relays Information')
|
24 |
+
g.edge('5', '3', label='π§ Rational Control (If Not Hijacked)')
|
25 |
+
g.edge('3', '6', label='π Generates Response')
|
26 |
|
27 |
+
return g
|
|
|
|
|
|
|
|
|
|
|
28 |
|
|
|
|
|
|
|
|
|
|
|
|
|
29 |
|
|
|
30 |
|
31 |
|
32 |
def main():
|