Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -8,10 +8,6 @@ import streamlit as st
|
|
8 |
from st_click_detector import click_detector
|
9 |
|
10 |
st.graphviz_chart('''
|
11 |
-
import streamlit as st
|
12 |
-
from graphviz import Digraph
|
13 |
-
|
14 |
-
# Define the graph
|
15 |
dot = Digraph()
|
16 |
|
17 |
dot.node('ActionMechanics', 'Action Mechanics 💪')
|
@@ -52,7 +48,9 @@ dot.edge('ResourceMechanics', 'StrategyMechanics')
|
|
52 |
dot.edge('TurnOrderMechanics', 'TimeMechanics')
|
53 |
dot.edge('OtherMechanics', 'ActionMechanics')
|
54 |
|
55 |
-
# Draw the graph using Streamlit's graphviz_chart function
|
56 |
-
st.graphviz_chart(dot.source)
|
57 |
|
58 |
''')
|
|
|
|
|
|
|
|
|
|
8 |
from st_click_detector import click_detector
|
9 |
|
10 |
st.graphviz_chart('''
|
|
|
|
|
|
|
|
|
11 |
dot = Digraph()
|
12 |
|
13 |
dot.node('ActionMechanics', 'Action Mechanics 💪')
|
|
|
48 |
dot.edge('TurnOrderMechanics', 'TimeMechanics')
|
49 |
dot.edge('OtherMechanics', 'ActionMechanics')
|
50 |
|
|
|
|
|
51 |
|
52 |
''')
|
53 |
+
|
54 |
+
|
55 |
+
# Draw the graph using Streamlit's graphviz_chart function
|
56 |
+
st.graphviz_chart(dot.source)
|