Skip to content

Commit 8cecd81

Browse files
authored
ENG-706: Add a diagram illustrating the structure of the database (#321)
1 parent 18c04cb commit 8cecd81

File tree

3 files changed

+409
-3
lines changed

3 files changed

+409
-3
lines changed

packages/database/doc/concept_example.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,16 @@ Content:
3939
|----|-------------|-------------|----------|---------------|----------------------------------------------|
4040
| 5 | nt1pgid | 1 | document | 16 | discourse-graphs/nodes/Claim |
4141
| 6 | nt2pgid | 2 | document | 17 | discourse-graphs/nodes/Hypothesis |
42-
| 7 | et1bkid | 3 | document | 18 | discourse-graphs/edges/OpposedBy |
42+
| 12 | dgpgid | 3 | document | | roam/js/discourse-graph |
43+
| 7 | et1bkid | 3 | block | 18 | Opposes |
44+
| 13 | et1r1bkid | 3 | block | | source |
45+
| 14 | et1r2bkid | 3 | block | | destination |
4346
| 8 | somepgid | 4 | document | | Some page |
4447
| 24 | hyp1pgid | 22 | document | 20 | [HYP] Some hypothesis |
4548
| 25 | clm1pgid | 23 | document | 19 | [HYP] Some claim |
4649
| 9 | hyp1refbkid | 4 | block | | a block referring to [[HYP] Some hypothesis] |
4750
| 10 | opp1bkid | 4 | block | 21 | OpposedBy |
4851
| 11 | clm1refbkid | 4 | block | | a block referring to [[CLM] Some claim] |
49-
| 13 | et1r1bkid | 3 | block | | source |
50-
| 14 | et1r2bkid | 3 | block | | destination |
5152

5253
Concept:
5354

@@ -74,3 +75,6 @@ Note: I would probably create a sub-Content for the link text and use this as so
7475
OR use a char_start, char_end.
7576

7677
Missing: Ontology
78+
79+
This is what the rows would look like in diagram form:
80+
![Diagram showing the relationships between roam blocks and supabase rows.](./relation_diagram.svg)

0 commit comments

Comments
 (0)