Skip to content

Commit a66f771

Browse files
committed
Revert "changed png and mermaid"
This reverts commit 1072728.
1 parent 6b1a3ab commit a66f771

3 files changed

Lines changed: 43 additions & 56 deletions

File tree

documentation/user-guides/design-patterns/Design Pattern 1/facility location/README.md

Lines changed: 21 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -22,29 +22,28 @@ Visual model through mermaid and png.
2222
*Note: Entity types and location hierarchies shown are illustrative examples. This pattern applies to any material entities and site taxonomies relevant to your domain.*
2323
```mermaid
2424
flowchart BT
25-
A@{ label: "<font color=\"#000000\">Facility 1</font>" } -- LocatedIn<br>BFO_0000171 --> B@{ label: "<font color=\"#000000\">City 1</font>" }
26-
B -- LocatedIn<br>BFO_0000171 --> C@{ label: "<font color=\"#000000\">State 1</font>" }
25+
A@{ label: "<font color=\"#000000\">Facility 1</font>" } -- LocatedIn<br>BFO:0000171 --> B@{ label: "<font color=\"#000000\">City 1</font>" }
26+
B -- LocatedIn<br>BFO:0000171 --> C@{ label: "<font color=\"#000000\">State 1</font>" }
2727
A -- rdf:type --> D@{ label: "<span style=\"color:black\"><b>Facility<br>ont00000192</b></span><br>" }
2828
B -- rdf:type --> E@{ label: "<span style=\"color:black\"><b>Site<br>BFO_0000029</b></span><br>" }
2929
C -- rdf:type --> E
30-
A -. rdfs:label .-> F["<i>&quot;Building 1&quot;</i>"]
31-
B -. rdfs:label .-> G["<i>&quot;NY City&quot;</i>"]
32-
C -. rdfs:label .-> H["<i>&quot;NY State&quot;</i>"]
30+
A -. rdfs:label .-> F["Building 1"]
31+
B -. rdfs:label .-> G["NY City"]
32+
C -. rdfs:label .-> H["NY State"]
3333
3434
subgraph Legend[" "]
3535
direction LR
36-
LL[ ] --> |relation| LL2[ ]
37-
LD[ ] -.-> |data property| LD2[ ]
38-
AA["Individual"]
39-
BB["<b>Class</b>"]
40-
CC["<i>&quot;literal&quot;</i>"]
36+
AA{Individual}
37+
BB[Class]
38+
CC[data]
39+
AA --> |relation| CC
4140
end
4241
4342
A ~~~ Legend
4443
45-
A@{ shape: rect}
46-
B@{ shape: rect}
47-
C@{ shape: rect}
44+
A@{ shape: diam}
45+
B@{ shape: diam}
46+
C@{ shape: diam}
4847
D@{ shape: rect}
4948
E@{ shape: rect}
5049
F@{ shape: rect}
@@ -55,21 +54,15 @@ flowchart BT
5554
C:::purple
5655
D:::yellow
5756
E:::yellow
58-
F:::literal
59-
G:::literal
60-
H:::literal
61-
AA:::purple
62-
BB:::yellow
63-
CC:::literal
64-
LL:::invisible
65-
LL2:::invisible
66-
LD:::invisible
67-
LD2:::invisible
68-
classDef yellow fill:#ffe680,color:#7a6000,stroke:#c8a800
69-
classDef purple fill:#dbc9ef,color:#000000,stroke:#9b7fc7
70-
classDef literal fill:none,stroke:none,color:#555555,font-style:italic
71-
classDef invisible fill:none,stroke:none,color:none,width:0px
72-
57+
F:::white
58+
G:::white
59+
H:::white
60+
classDef yellow fill:#ffe680
61+
classDef purple fill:#dbc9ef
62+
classDef white fill:#FFFFFF
63+
class BB yellow
64+
class AA purple
65+
class CC white
7366
```
7467

7568
# File Structure
Lines changed: 22 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,26 @@
11
flowchart BT
2-
A@{ label: "<font color=\"#000000\">Facility 1</font>" } -- LocatedIn<br>BFO_0000171 --> B@{ label: "<font color=\"#000000\">City 1</font>" }
3-
B -- LocatedIn<br>BFO_0000171 --> C@{ label: "<font color=\"#000000\">State 1</font>" }
2+
A@{ label: "<font color=\"#000000\">Facility 1</font>" } -- LocatedIn<br>BFO:0000171 --> B@{ label: "<font color=\"#000000\">City 1</font>" }
3+
B -- LocatedIn<br>BFO:0000171 --> C@{ label: "<font color=\"#000000\">State 1</font>" }
44
A -- rdf:type --> D@{ label: "<span style=\"color:black\"><b>Facility<br>ont00000192</b></span><br>" }
55
B -- rdf:type --> E@{ label: "<span style=\"color:black\"><b>Site<br>BFO_0000029</b></span><br>" }
66
C -- rdf:type --> E
7-
A -. rdfs:label .-> F["<i>&quot;Building 1&quot;</i>"]
8-
B -. rdfs:label .-> G["<i>&quot;NY City&quot;</i>"]
9-
C -. rdfs:label .-> H["<i>&quot;NY State&quot;</i>"]
7+
A -. rdfs:label .-> F["Building 1"]
8+
B -. rdfs:label .-> G["NY City"]
9+
C -. rdfs:label .-> H["NY State"]
1010

1111
subgraph Legend[" "]
1212
direction LR
13-
LL[ ] --> |relation| LL2[ ]
14-
LD[ ] -.-> |data property| LD2[ ]
15-
AA["Individual"]
16-
BB["<b>Class</b>"]
17-
CC["<i>&quot;literal&quot;</i>"]
13+
AA{Individual}
14+
BB[Class]
15+
CC[data]
16+
AA --> |relation| CC
1817
end
1918

2019
A ~~~ Legend
2120

22-
A@{ shape: rect}
23-
B@{ shape: rect}
24-
C@{ shape: rect}
21+
A@{ shape: diam}
22+
B@{ shape: diam}
23+
C@{ shape: diam}
2524
D@{ shape: rect}
2625
E@{ shape: rect}
2726
F@{ shape: rect}
@@ -32,18 +31,13 @@ flowchart BT
3231
C:::purple
3332
D:::yellow
3433
E:::yellow
35-
F:::literal
36-
G:::literal
37-
H:::literal
38-
AA:::purple
39-
BB:::yellow
40-
CC:::literal
41-
LL:::invisible
42-
LL2:::invisible
43-
LD:::invisible
44-
LD2:::invisible
45-
classDef yellow fill:#ffe680,color:#7a6000,stroke:#c8a800
46-
classDef purple fill:#dbc9ef,color:#000000,stroke:#9b7fc7
47-
classDef literal fill:none,stroke:none,color:#555555,font-style:italic
48-
classDef invisible fill:none,stroke:none,color:none,width:0px
49-
34+
F:::white
35+
G:::white
36+
H:::white
37+
classDef yellow fill:#ffe680
38+
classDef purple fill:#dbc9ef
39+
classDef white fill:#FFFFFF
40+
class BB yellow
41+
class AA purple
42+
class CC white
43+
100 KB
Loading

0 commit comments

Comments
 (0)