Nodes and Edges
Node types and relationship types in the knowledge graph
Nodes and Edges
The knowledge graph uses a small set of node and edge types. Each type has a distinct color in the canvas and filter panel.
Node types
| Node | Description |
|---|---|
| Character | A character defined in your project |
| Conversation | A conversation graph in your project |
| Lore Item | A lore entry defined in your project |
Each entity appears only once as a node, regardless of how many times it is referenced elsewhere in the project.
Edge types
| Edge | Description |
|---|---|
| Mention | A generic @-mention, such as a conversation description referencing an entity |
| Mentioned In | An entity @-mentioned inside dialogue text or a player choice |
| Relation With | A character or lore description that @-mentions another entity |
| Conversation Participant | A character that has a dialogue node in a conversation |
Edges are colored to match what type of relation is present between two nodes, as you can see on the following image, where Santa has three different relations with the conversation "Christmas":
- Santa is "Mentioned In" the conversation
- The conversation description "Mentions" him
- He is a participant in the conversation as well (has dialogue).
Edge Size
When the same relationship appears in multiple places (for example, a character mentioned in several dialogue lines), the graph shows only a single edge but the size (also known as weight) of the arrow increases to reflect the amount of mentions.