Win786 commited on
Commit
aa72afa
·
verified ·
1 Parent(s): 925189c

docs: add graph map diagram to README

Browse files
Files changed (1) hide show
  1. README.md +45 -0
README.md CHANGED
@@ -131,6 +131,51 @@ syntax. Labels arise from ingestion rather than standalone label declarations.
131
 
132
  ## Graph model
133
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
134
  - `Occupation {soc}` requires `Element:Skill`, `Element:Knowledge`, or
135
  `Element:Ability`. Element ID is the shared identity, not its display name.
136
  - `Skill.family` separates essential and transferable skills.
 
131
 
132
  ## Graph model
133
 
134
+ Every number the app shows — match scores, gap tables, route rankings, wages —
135
+ comes out of a FalkorDB read-only query. Nothing is precomputed or guessed.
136
+
137
+ ```mermaid
138
+ graph TB
139
+ subgraph FalkorDB["FalkorDB · careercompass_onet_31_0 · 91,378 nodes / 242,797 rels"]
140
+ OCC["Occupation<br/>(soc)"]
141
+ SK["Element: Skill"]
142
+ KN["Element: Knowledge"]
143
+ AB["Element: Ability"]
144
+ JZ["JobZone<br/>(code, rank)"]
145
+ JT["JobTitle"]
146
+ T["Task (id)"]
147
+ TT["TaskText"]
148
+ TECH["Technology"]
149
+ TC["TechnologyCategory"]
150
+
151
+ OCC --"REQUIRES<br/>(importance, level)"--> SK
152
+ OCC --"REQUIRES"--> KN
153
+ OCC --"REQUIRES"--> AB
154
+ OCC --"IN_ZONE"--> JZ
155
+ OCC --"ALSO_KNOWN_AS"--> JT
156
+ OCC --"PERFORMS"--> T
157
+ T --"HAS_TEXT"--> TT
158
+ OCC --"USES"--> TECH
159
+ TECH --"IN_CATEGORY"--> TC
160
+ end
161
+
162
+ subgraph Agent["Agent · read-only tools (graph.ro_query)"]
163
+ SM["skill_match.cypher<br/>find careers"]
164
+ SG["skill_gap.cypher<br/>compare skills"]
165
+ CP["career_paths.cypher<br/>explore transition"]
166
+ end
167
+
168
+ SM --> OCC
169
+ SM --> SK
170
+ SG --> OCC
171
+ SG --> SK
172
+ CP --> OCC
173
+ CP --> SK
174
+ CP --> KN
175
+ CP --> TT
176
+ CP --> JZ
177
+ ```
178
+
179
  - `Occupation {soc}` requires `Element:Skill`, `Element:Knowledge`, or
180
  `Element:Ability`. Element ID is the shared identity, not its display name.
181
  - `Skill.family` separates essential and transferable skills.