Never Lose a Story Branch Again: Path Analysis
Find all routes to any ending, detect dead ends and unreachable nodes, and visualize variable dependencies.
Branching narratives are powerful — but they're also easy to break. A misconnected node, a forgotten variable check, or a dead-end branch can ruin the player's experience.
Nongine's path analysis catches these problems before your players do.
Five analysis modes
Overview
A quick snapshot of your story: total nodes, edges, paths, endings, and average path length. See your project's complexity at a glance.
All Paths
Find every possible route from start to any ending. Select an ending node and see all paths that reach it highlighted on the graph. This is invaluable for testing — you can verify that every ending is reachable and that the journey there makes sense.
Unreachable Nodes
BFS from the start node finds every connected node. Anything not reached is flagged — these are nodes that no player can ever see. Usually a sign of a disconnected branch or a missing edge.
Dead Ends
Nodes with no outgoing connections (except End nodes) are dead ends. The player reaches them and... nothing happens. Path analysis finds these so you can add the missing connections.
Variable Dependencies
A dependency graph showing which nodes set variables and which nodes read them. Useful for understanding how a choice in Chapter 1 affects a condition in Chapter 5. Also catches variables that are checked but never set.
Graph highlighting
When you select a path or a problem node, the graph view highlights the relevant nodes and edges. Everything else dims, making it easy to trace the flow visually.