Skip to content

Commit dda98da

Browse files
committed
Mermaid
1 parent 955da22 commit dda98da

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

README.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,35 @@ flowchart LR
5353
Graph --> Outputs[JSONL / DOT / PNG-SVG / text summary]
5454
```
5555

56+
## Example output (derived entities)
57+
58+
This diagram reflects the clusters and conflicts produced by running `cargo run --example basic_example` locally.
59+
60+
```mermaid
61+
flowchart LR
62+
subgraph Cluster0["Cluster 0"]
63+
R3["R3 (crm:crm_002)\nJane Smith\[email protected]\n555-5678\n987-65-4321"]
64+
end
65+
66+
subgraph Cluster1["Cluster 1"]
67+
R1["R1 (crm:crm_001)\nJohn Doe\[email protected]\n555-1234\n123-45-6789"]
68+
R2["R2 (erp:erp_001)\nJohn Doe\[email protected]\n555-9999\n123-45-6789"]
69+
R4["R4 (web:web_001)\nJohn Doe\[email protected]\n555-0000\n123-45-6789"]
70+
end
71+
72+
subgraph Cluster2["Cluster 2"]
73+
R5["R5 (mobile:mobile_001)\nJohn Doe\[email protected]\n555-0000\n123-45-6789"]
74+
end
75+
76+
R1 ---|SAME_AS [-inf, +inf]| R2
77+
R1 ---|SAME_AS [-inf, +inf]| R4
78+
R2 ---|SAME_AS [-inf, +inf]| R4
79+
80+
R1 -. "CONFLICTS attr:2 [150, 200)" .- R2
81+
R1 -. "CONFLICTS attr:2 [180, 200)" .- R4
82+
R2 -. "CONFLICTS attr:2 [180, 250)" .- R4
83+
```
84+
5685
## Quick start
5786

5887
```bash

0 commit comments

Comments
 (0)