redot-parse
v0.5.0
Published
Graphviz dot parser for redot
Downloads
75
Readme
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);