Skip to content

Commit d0efd2e

Browse files
committed
Create Document_Field_Mermaid
1 parent 41b8793 commit d0efd2e

1 file changed

Lines changed: 50 additions & 0 deletions

File tree

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
flowchart BT
2+
E@{ label: "<span style=\"color:black\"><b>Document Field 2</b></span><br>" } -. has text value <br> ont00001765 .-> n1["Mary"]
3+
n5["<b>Document</b>"] -- rdf:type --> n6@{ label: "<span style=\"color:black\"><b>Document </b><br><b>ont00001298</b></span><br>" }
4+
n5 -- has continuant part<br>BFO:0000178 --> n7@{ label: "<span style=\"color:black\"><b>Document Field 1</b></span><br>" }
5+
n7 -- rdf:type --> n8@{ label: "<span style=\"color:black\"><b>Document Field <br>ont00001243</b><br></span>" }
6+
n9@{ label: "<font color=\"#000000\">Agent 1</font>" } -- rdf:type --> n10@{ label: "<span style=\"color:black\"><b>Agent <br> ont00001017</b></span><br>" }
7+
n7 -. has text value <br> ont00001765 .-> n11["John"]
8+
n12@{ label: "<font color=\"#000000\">Designative Name 1</font>" } -- rdf:type --> n13@{ label: "<font color=\"#000000\"><b>Designative Name<br>ont00000003</b></font>" }
9+
n12 -- designates <br>ont00001916 --> n9
10+
n7 -- is carrier of<br>BFO_0000101 --> n12
11+
n5 -- has continuant part <br>BFO:0000178 --> E
12+
E -- rdf:type --> n8
13+
14+
subgraph Legend
15+
AA{Individual}
16+
BB[Class]
17+
CC[data]
18+
AA --> |relation| CC
19+
classDef yellow fill:#ffe680
20+
classDef purple fill:#dbc9ef
21+
classDef white fill:#ffffff
22+
class BB yellow
23+
class AA purple
24+
class CC white
25+
end
26+
27+
E@{ shape: diamond}
28+
n5@{ shape: diam}
29+
n6@{ shape: rect}
30+
n7@{ shape: diam}
31+
n8@{ shape: rect}
32+
n9@{ shape: diam}
33+
n10@{ shape: rect}
34+
n11@{ shape: rect}
35+
n12@{ shape: diam}
36+
n13@{ shape: rect}
37+
E:::purple
38+
n1:::white
39+
n5:::purple
40+
n6:::yellow
41+
n7:::purple
42+
n8:::yellow
43+
n9:::purple
44+
n10:::yellow
45+
n11:::white
46+
n12:::purple
47+
n13:::yellow
48+
classDef yellow fill:#ffe680
49+
classDef purple fill:#dbc9ef
50+
classDef white fill:#FFFFFF

0 commit comments

Comments
 (0)