Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -5,7 +5,7 @@ import numpy as np
|
|
| 5 |
|
| 6 |
st.title('Graphviz Gallery: https://graphviz.org/gallery/')
|
| 7 |
|
| 8 |
-
#
|
| 9 |
graph = graphviz.Digraph()
|
| 10 |
graph.edge('Plan', 'Intervention')
|
| 11 |
graph.edge('Intervention', 'Care')
|
|
@@ -16,9 +16,61 @@ graph.edge('Plan', 'Goal')
|
|
| 16 |
graph.edge('Plan', 'OutcomeScores')
|
| 17 |
graph.edge('Plan', 'Problem')
|
| 18 |
graph.edge('Problem', 'Domain')
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
st.graphviz_chart(graph)
|
| 20 |
|
| 21 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 22 |
|
| 23 |
# Create a graphlib graph object
|
| 24 |
graph = graphviz.Digraph()
|
|
|
|
| 5 |
|
| 6 |
st.title('Graphviz Gallery: https://graphviz.org/gallery/')
|
| 7 |
|
| 8 |
+
# Plan
|
| 9 |
graph = graphviz.Digraph()
|
| 10 |
graph.edge('Plan', 'Intervention')
|
| 11 |
graph.edge('Intervention', 'Care')
|
|
|
|
| 16 |
graph.edge('Plan', 'OutcomeScores')
|
| 17 |
graph.edge('Plan', 'Problem')
|
| 18 |
graph.edge('Problem', 'Domain')
|
| 19 |
+
graph.edge('Problem', 'Outcome')
|
| 20 |
+
graph.edge('Problem', 'Scope')
|
| 21 |
+
graph.edge('Problem', 'SignSymptom')
|
| 22 |
+
graph.edge('Problem', 'Urgency')
|
| 23 |
+
graph.edge('Plan', 'Pathway')
|
| 24 |
+
graph.edge('Pathway', 'Intervention')
|
| 25 |
+
graph.edge('Pathway', 'ProblemGoal')
|
| 26 |
+
graph.edge('Plan', 'SignSymptom')
|
| 27 |
+
graph.edge('Plan', 'Stage')
|
| 28 |
+
graph.edge('Plan', 'Delegate')
|
| 29 |
+
graph.edge('Plan', 'Note')
|
| 30 |
+
graph.edge('Plan', 'Person')
|
| 31 |
+
graph.edge('Problem', 'Association')
|
| 32 |
+
graph.edge('Problem', 'History')
|
| 33 |
+
graph.edge('Goal', 'History')
|
| 34 |
+
graph.edge('Intervention', 'Work')
|
| 35 |
+
graph.edge('Intervention', 'History')
|
| 36 |
+
graph.edge('SignSymptom', 'History')
|
| 37 |
+
graph.edge('Plan', 'Publication')
|
| 38 |
+
graph.edge('Publication', 'History')
|
| 39 |
+
graph.edge('Publication', 'Status')
|
| 40 |
st.graphviz_chart(graph)
|
| 41 |
|
| 42 |
|
| 43 |
+
# Assessment
|
| 44 |
+
graph = graphviz.Digraph()
|
| 45 |
+
graph.edge('Assessment', 'Score')
|
| 46 |
+
graph.edge('Assessment', 'QuestionAsked')
|
| 47 |
+
graph.edge('Assessment', 'ProgressChange')
|
| 48 |
+
graph.edge('Assessment', 'Programs')
|
| 49 |
+
graph.edge('Assessment', 'Product')
|
| 50 |
+
graph.edge('Assessment', 'Program')
|
| 51 |
+
graph.edge('Program', 'Population')
|
| 52 |
+
graph.edge('Assessment', 'Plan')
|
| 53 |
+
graph.edge('Plan', 'Question')
|
| 54 |
+
graph.edge('Plan', 'Problem')
|
| 55 |
+
graph.edge('Assessment', 'Response')
|
| 56 |
+
graph.edge('Response', 'Choice')
|
| 57 |
+
graph.edge('Response', 'Populator')
|
| 58 |
+
graph.edge('Assessment', 'Section')
|
| 59 |
+
graph.edge('Section', 'Score')
|
| 60 |
+
graph.edge('Assessment', 'Template')
|
| 61 |
+
graph.edge('Template', 'Script')
|
| 62 |
+
graph.edge('Template', 'Question')
|
| 63 |
+
graph.edge('Question', 'SubQuestion')
|
| 64 |
+
graph.edge('Question', 'Table')
|
| 65 |
+
graph.edge('Table', 'SubTable')
|
| 66 |
+
graph.edge('Table', 'Column')
|
| 67 |
+
graph.edge('Column', 'Choice')
|
| 68 |
+
graph.edge('Question', 'Response')
|
| 69 |
+
graph.edge('Response', 'ResponseTable')
|
| 70 |
+
graph.edge('Response', 'ResponseText')
|
| 71 |
+
graph.edge('Template', 'Section')
|
| 72 |
+
st.graphviz_chart(graph)
|
| 73 |
+
|
| 74 |
|
| 75 |
# Create a graphlib graph object
|
| 76 |
graph = graphviz.Digraph()
|