]>
git.r.bdr.sh - rbdr/graphviz-to-grafn/blob - bin/g2g
5 const GraphvizToGrafn
= require('..');
7 const stdin
= process
.stdin
;
8 let graphvizSource
= '';
10 stdin
.setEncoding('utf8');
12 stdin
.on('data', function (chunk
) {
14 graphvizSource
+= chunk
;
17 stdin
.on('end', function () {
19 console
.log(GraphvizToGrafn(graphvizSource
));
22 stdin
.on('error', console
.error
);