Gram parser & writer for graphology.
npm install @gram-data/graphology-gram
import MakeGraph from 'graphology';
import gram from '@gram-data/graphology-gram';
const src = "(a)-->(b)<--(c)";
// Parse the gram src
var graph = gram.parse(MakeGraph, src);
var serializedGraph = gram.stringify(graph);