redot-parse
Parser for unified. Parses graphviz to an dotast syntax tree. Used in the redot processor.
Installation
npm install redot-parse
Usage
var unified = require("unified");
var createStream = require("unified-stream");
var graphviz = require("redot-parse");
var stringify = require("redot-stringify");
var processor = unified()
.use(graphviz)
.use(stringify);
process.stdin.pipe(createStream(processor)).pipe(process.stdout);