The Graph module gives you a bird’s-eye view of your entire world by rendering every entity and the relationships between them as an interactive, zoomable network. Instead of navigating entities one by one through the World Bible, the Graph lets you see the web of connections at a glance — alliances, rivalries, family ties, territorial claims, and any other relationship type you have defined.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/Fixius50/WorlBuilding-Writting-App/llms.txt
Use this file to discover all available pages before exploring further.
What the Graph Shows
Every entity in your project appears as a node on the canvas. Every relationship defined in the Relationships module appears as an edge connecting two nodes. The graph is driven directly from the local SQLite database, so it always reflects the current state of your world without any manual refresh step.Nodes
Each node represents one entity (
Entidad). Nodes are color-coded by entity type (tipo) so you can instantly distinguish characters from locations, organizations, objects, and events.Edges
Each edge represents a
Relacion record. The edge label displays the relationship type drawn from the tipo field of the relationship.GraphNode interface:
GraphConnection:
GraphData:
The graph is computed in real-time from the local SQLite database stored in your browser’s OPFS. For large worlds with thousands of entities, use the filter controls to narrow the visible set and keep the canvas performant.
Entity Database Panel
The left sidebar of the Graph view contains the Entity Database panel — a scrollable list of all entities in the project. This panel serves as a quick-access directory alongside the visual canvas.- Search — type in the filter field to narrow the list by entity name.
- Focus — click any entity in the list to center the graph canvas on the corresponding node and highlight it.
- Type filter — filter the list by entity type to reduce noise when working with large worlds.
entityService.getAllByProject(projectId) and stays in sync with the graph canvas — selecting a node on the canvas also highlights the matching entry in the panel.
Node Inspection
Clicking a node on the canvas opens theInGraphNodeWindow — a compact inline inspection panel that floats over the canvas. You can read the entity’s core details without navigating away from the graph:
InGraphNodeWindow contents
InGraphNodeWindow contents
- Entity name and type badge
- Description from the
Entidad.descripcionfield - Direct relationships — a mini-list of all edges connected to this node
- Link to full profile — a button that navigates to the entity’s full World Bible entry
Escape.
Control Panel
The graph toolbar (accessible from the top-right of the canvas) exposes layout and display controls:| Control | Function |
|---|---|
| Entity type filter | Toggle visibility of nodes by type |
| Edge labels | Show or hide relationship type labels on edges |
| Layout reset | Re-run the force-directed layout algorithm to untangle overlapping nodes |
| Zoom to fit | Fit the entire graph within the visible viewport |
| Clear canvas | Remove all nodes and edges from the current canvas view |
Relationships
All edges in the Graph are sourced from the Relationships module. Relationships are defined asRelacion records with an origin entity (origen_id), a destination entity (destino_id), and a type label (tipo).
RelationshipManager component lets you create and manage relationship records from within the entity inspector. The RelationshipInspector displays all relationships for a selected entity and provides quick navigation to the connected node. Any relationship created or deleted in the Relationships module is immediately reflected in the Graph.