File tree 1 file changed +39
-1
lines changed
1 file changed +39
-1
lines changed Original file line number Diff line number Diff line change @@ -9,4 +9,42 @@ prisma(found = 193,
9
9
full_text_exclusions = 112 ,
10
10
qualitative = 26 ,
11
11
quantitative = 26 ,
12
- width = 800 , height = 800 )
12
+ width = 800 , height = 800 )
13
+
14
+ # https://rich-iannone.github.io/DiagrammeR/graphviz_and_mermaid.html#attributes
15
+ library(DiagrammeR )
16
+ grViz("
17
+ digraph boxes_and_circles {
18
+
19
+ # a 'graph' statement
20
+ graph [overlap = true, fontsize = 10]
21
+
22
+ # several 'node' statements
23
+ node [shape = box,
24
+ fontname = Helvetica]
25
+ Stroke
26
+
27
+ node [shape = oval,
28
+ fixedsize = false,
29
+ color=red,
30
+ width = 0.9]
31
+ Hypertension; 'No Hypertension'
32
+
33
+ node [shape= circle,
34
+ fontcolor=red,
35
+ color=blue,
36
+ fixedsize=false]
37
+
38
+ Hypokalemia; 'No Hypokalemia'
39
+
40
+ # several 'edge' statements
41
+ edge [arrowhead=diamond]
42
+
43
+ Stroke->{Hypertension, 'No Hypertension'}
44
+ Hypertension->{Hypokalemia, 'No Hypokalemia'}
45
+
46
+ }
47
+
48
+
49
+
50
+ " )
You can’t perform that action at this time.
0 commit comments