Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -16,6 +16,17 @@ from st_click_detector import click_detector
|
|
16 |
|
17 |
# Define selection options and sort alphabetically
|
18 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
19 |
st.graphviz_chart('''
|
20 |
|
21 |
graph G {
|
|
|
16 |
|
17 |
# Define selection options and sort alphabetically
|
18 |
|
19 |
+
st.graphviz_chart('''
|
20 |
+
digraph structs {
|
21 |
+
node [shape=record];
|
22 |
+
struct1 [label="<f0> left|<f1> mid\ dle|<f2> right"];
|
23 |
+
struct2 [label="<f0> one|<f1> two"];
|
24 |
+
struct3 [label="hello\nworld |{ b |{c|<here> d|e}| f}| g | h"];
|
25 |
+
struct1:f1 -> struct2:f0;
|
26 |
+
struct1:f2 -> struct3:here;
|
27 |
+
}
|
28 |
+
''')
|
29 |
+
|
30 |
st.graphviz_chart('''
|
31 |
|
32 |
graph G {
|