FEATURE · knowledge-graph

Knowledge Graph Engine

Characters, places, items and events drawn as a relationship map, so you can still see who is connected to whom at a glance, however long the book gets

Knowledge Graph Engine

Maliang Writer's knowledge graph maps characters, places, items and events from your chapters. Filter, search, and jump to sources. A member feature.

Why Character Relationships Get Harder to Remember Past a Few Dozen Chapters

Once a long novel reaches dozens of chapters and more than a hundred characters, authors often run into these problems:

  • It takes a long time to dig up which chapter a supporting character last appeared in and how they relate to the protagonist
  • Characters in two subplots actually overlap, and you didn't notice while writing
  • You can't remember all the people a place or item has been tied to over time

Memory and notes both leave gaps. The knowledge graph draws the characters, places, items, events and relationships that appear in your written chapters, so you can look things up and see the whole picture.

How it divides work with story archives: story archives record each character's “current” state chapter by chapter, such as where they are, whether they're injured and what they know; the knowledge graph shows who is connected to whom across the whole book and in which chapters they've appeared.

Look Up Characters and See Sources in the Graph

Look Up Characters and See Sources in the Graph

Open the knowledge graph in the editor and you can:

  • See the whole book: characters, places, items and events are drawn as one relationship map that you can filter by type and search by node
  • Look at one person: open a character to see the people and events connected to them and the chapters they appear in; click a chapter to open the matching text
  • Pin cards: pin the cards of a few key characters beside you and write with them for reference
  • Add to your story bible: characters or entries mentioned in the graph that don't have a card yet can be added directly as a character, a story bible entry or a suspense thread

When the sample book “The Ledger of Cause and Effect” reached chapter 46, the protagonist's relationship network alone had more than 400 nodes. The more characters you have, the more you need to filter by person and by type.

Smart Search: Ask Directly, Get Sources

If you don't want to hunt through the graph, you can just ask:

  • “What is the relationship between the protagonist and his master?”
  • “In which chapter did that jade pendant first appear?”
  • “Who in volume 2 knows the protagonist's identity?”

Smart search finds answers from this book's knowledge graph; when there are sources, it lists the matching chapters, and one click jumps there so you can check.

How to set it up: finish initialization in RAG settings, and the system reads your written chapters to build the graph; after that it syncs whenever a chapter is saved. For a book with many chapters, the first build takes a while.

FAQ

Frequently asked questions

Do I have to draw the knowledge graph myself?

No. After initialization, the system extracts characters, places, items, events and relationships from your written chapters and syncs whenever a chapter is saved. Extraction is done by AI and may misidentify or miss things, so the text is the final authority.

How is the knowledge graph different from novel story archives?

Story archives record each character's current state, location and foreshadowing progress chapter by chapter, and are consulted when new chapters are written; the knowledge graph is a whole-book relationship map for the author, used to look up character relationships, the chapters they appear in and where clues come from. They work together.

Can I build a knowledge graph for an imported novel?

Yes. After importing a TXT file, initialize in RAG settings and the system reads the imported chapters to build the graph. The more chapters, the longer the first build takes.

Is the knowledge graph free?

The knowledge graph and smart search are member features. After you subscribe, you can initialize them in RAG settings. See the pricing page for plan details.

Try Knowledge Graph Engine now

Maliang Writer's knowledge graph maps characters, places, items and events from your chapters. Filter, search, and jump to sources. A member feature.

Start writing for free →