m. c. de marco: To invent new life and new civilizations...
Twine 1 stories and offline use are also supported.
The current version of DotGraph is 2.0.0, which includes support for Twine 1, offline use, omitting special passages, and renumbering nodes. Previous versions are archived here.
To add DotGraph to the online version of Twine 2, use this URL (under Formats > Add a New Format):
To add DotGraph to the installable local versions of Twine 2, follow the installation instructions for online use, but use the following “offline” URL:
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. For offline use, download and use https://mcdemarco.net/tools/scree/dotgraph/offline/header.html instead.
See the Twine wiki for more information about installing and using story formats in Twine 1.
After installation, you may want to click the star or radio button next to DotGraph in the Proofing Formats list (also under Formats) to make it your default proofing format.
Next, import your story (if it isn’t already in Twine 2), click on it to open it, and click View Proofing Copy in the popup menu in the lower left hand corner of the UI.
In Twine 1, open or create a story (under the File menu). Then, in the Story menu under Story Formats, select DotGraph as the story format. Choose Test Play or Build Story from the Build menu to see your story. (You may need to restart Twine 1 if you installed DotGraph while it was still running.)
You can also use the dotgraph format with an external Twine renderer like Twee or Twee2; just download the appropriate file (
header.html, depending on the Twine version) to your filesystem and follow the instructions for your renderer.
Here’s a bigger rendition of the proofing format’s icon, which is a simplified version of the graph for my Scree example story:
Below is the graph of a longer, incomplete story with renumbered passages, end tags, and coloring by passage length.
I described the issue with Chrome in the Twine forum. This is why the offline mode is not only for running offline.
The source code is available at BitBucket.
DotGraph does not support Internet Explorer 8, but any newer browser should work.
I also use coloring and/or clustering on tags for my Scrivener labels, which are one-per-passage anyway. You can get your Scrivener labels into your twee tags (using Scree) by adding
[<$label>] to the beginning of the title suffix for each text document level under Compile > All Options > Formatting > Section Layout button. See the placeholder list under Help for other variables you might want to put there, but beware of anything with spaces in it, like the default “No Label” and “No Status” label and status, respectively. You can edit those in Scrivener if necessary, even to the empty string.