DotGraph is a proofing format for Twine 1 and 2 that generates a GraphViz image of your story nodes.
To add DotGraph to Twine 2, use this URL (under Formats > Add a New Format): https://mcdemarco.net/tools/scree/dotgraph/format.js.
To add DotGraph to Twine 1, create a new folder called
dotgraph inside your targets folder, then download this file https://mcdemarco.net/tools/scree/dotgraph/header.html and place it inside the
dotgraph folder. (See the Twine wiki for more information about installing and using story formats in Twine 1.)
DotGraph may fail to draw the graph in some versions of Twine 2 due to issues with Chrome;
in that case it will still give you the text of the dot source file, as well as some links to sites online that can render it for you.
DotGraph may fail to save the SVG in Safari; if it fails, try a different browser.
Add a text tracing option and and support for configuration using the StorySettings passage.
Add support for Harlowe's display macro, plus fix a leaf counting issue.
Add option to use last tag for tag colors/clusters, plus fix a start node issue.
Minor fix to tag display.
Counts and marks unreachable passages.
Optionally omit any passages with certain (user-specified) tags.
Optionally parse <<display>> links.
Refactored with support for Twine 1.x, offline use, omitting special passages, and renumbering nodes.
Added saving (except possibly on Safari).
Added various configuration options, scaling, and some statistics.
Decoration of terminal passages (either leaves, or marked with a tag "End").
Optional clustering by (first) tags.
Now in Technicolor!
Only built the dotfile and required an external renderer. Not released.
Building From Source
npm install to install dependencies. Run
grunt package to create the release versions for Twine under
grunt --help to list other grunt targets.