Knowledge Graph
The Knowledge graph is a picture of what Cortex knows. It shows your memories, the entities found in them (people, organisations and similar) and KPI entities, joined by lines that show how they relate.
The page is titled Knowledge graph and lives at /memory/graph. Under the title, a summary line reads like "200 memories · 150 of 2,340 entities · 480 edges shown". While the first load is running it says "Loading…". At the top right are two buttons.
| Button | What it does |
|---|---|
| Entities list | Opens the Entities page |
| Refresh | Reloads the data for the layers that are on |
Layers
The graph has three layers. Each has its own colour and its own shape, so you can tell them apart without relying on colour.
| Layer | Shape | What a node is | Where its links come from |
|---|---|---|---|
| Memories | Circle | One memory | Links between memories |
| Entities | Square | One entity, such as an organisation | Relationships between entities |
| KPI entities | Triangle | An entity that has KPI metrics | Metrics Cortex has extracted |
Each layer sits in its own cluster on the canvas. Memories are at the upper left, entities at the upper right and KPI entities at the bottom centre. Each cluster has a dashed ring and a label.
The layout is fixed, not animated. The same data always draws the same way.
Extra lines also join an entity to the memories it came from, when those memories are on the canvas.
The toolbar
| Control | What it does |
|---|---|
| Find an entity or memory | A search box. Nodes whose name does not match fade out instead of vanishing, so the shape of the graph stays clear |
| Memories, Entities, KPI entities | One chip per layer. Click to turn a layer on or off. A number on the chip is how many nodes that layer shows. A dash means it is still loading or failed (shown in red when failed) |
| Suggestions | Appears only when Cortex has proposed links. Click to show or hide them. The number is how many there are |
Hover over a layer chip to see where its data comes from. The layers, search and open panel are kept in the page address, so you can share the link.
All three layers are on by default. If you turn all of them off, the page says "No layers on" and "Turn on a layer above to explore the graph."
The canvas
| Action | How |
|---|---|
| Pan | Click and drag the background |
| Zoom | Use the mouse wheel, or the Zoom in and Zoom out buttons. Zoom goes from 20% to 500% |
| Reset the view | Click Fit to view |
| Open a node | Click it, or focus it with the keyboard and press Enter or Space |
Lines are faint until you hover over or open a node. Then the lines touching it light up. Hovering also shows a small label with the node name (long names are cut at 32 characters).
Node size has a meaning. Memory circles grow with importance. Entity squares grow with the number of source memories. KPI triangles grow with the number of metrics.
The legend
The legend at the top right lists the layers that are on.
| Item | Meaning |
|---|---|
| Circle, square, triangle | Memory, Entity, KPI entity |
| Entity with KPIs | A square with an outline, shown when both Entities and KPI entities are on |
| structural | A solid line |
| semantic | A dashed line |
| causal | A thicker solid line |
| Suggested badge = proposal | A suggested link. Always dashed amber. Never a confirmed relationship |
Status notices
Small notices appear at the top left of the canvas.
| Notice | When |
|---|---|
| "Loading memories…" (or entities, KPI entities) | That layer is still loading |
| "Memories failed to load", with the reason and Retry | That layer failed. This is shown separately from an empty layer |
| "No memories yet" | That layer loaded but has nothing |
| "Relationships failed to load; entity edges are missing", with Retry | Entities loaded but their links did not |
| "Showing first 200 of 2,340 entities" | A layer hit its limit |
Page states
| Situation | What you see |
|---|---|
| First load | A grey pulsing block |
| Every visible layer failed | "Couldn’t load the graph", naming the layers, with a retry |
| Nothing to show | "Nothing on the visible layers yet" and "Turn on another layer, or ingest some memories first." |
The KPI layer is not retried automatically, because older deployments may not provide it. It shows its error instead.
Details panels
Opening a node shows a side panel. Which one depends on the layer.
Memory node
Opens the standard memory details panel, the same one used for memory citations elsewhere in Cortex.
Entity node
The title is the entity name. Tags show its type and "N source memories".
| Field | What it shows |
|---|---|
| ID | The entity ID |
| Canonical name | The main name |
| Type | The entity type |
| Aliases | Other names, comma separated, or a dash |
| First seen and Last seen | Dates, or a dash |
| Source memories | Links to the memories it came from. Shows the first 25, then "First 25 of N" |
The Relationships section lists each link involving this entity. Incoming links read like works for (from). Click a name to open that entity. Each row can show a Suggested badge, the kind (Causal, Semantic or Structural), a confidence percentage and a memory count.
Only relationships loaded on this graph are listed. With none, it says "None among the N relationships loaded on this graph." If entities are switched off it says "Turn on the Entities layer to load relationships." If loading failed it says "Relationships failed to load."
The buttons at the bottom are:
| Button | What it does |
|---|---|
| Focus here | Puts the entity name in the search box and closes the panel |
| Open memories | Opens the Memory Explorer searched for this entity |
If the entity cannot be loaded you see "Couldn’t load this entity" with a retry.
KPI entity node
The title is the entity name. Tags show KPI entity, "N rows" and "N distinct metrics".
| Field | What it shows |
|---|---|
| Entity name | The name |
| Metric count | How many metric rows were extracted |
| Distinct metrics | How many different metrics |
| Last value | The latest value, or a dash |
| Last extracted at | Date and time of the last extraction |
| Observation window | First and last observation dates, shown as first date → last date |
| Linked entity | A link to the matching entity, "No matching entity row", or "Lookup failed" |
If no summary is available, the panel says "No aggregation data". The entity may be outside the first page of results, or the deployment may not offer this data.