@gram-data/graphology-gram
TypeScript icon, indicating that this package has built-in type declarations

0.1.1 • Public • Published

Graphology Gram

Gram parser & writer for graphology.

Installation

npm install @gram-data/graphology-gram

How to 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);

Readme

Keywords

none

Package Sidebar

Install

npm i @gram-data/graphology-gram

Weekly Downloads

1

Version

0.1.1

License

MIT

Unpacked Size

737 kB

Total Files

16

Last publish

Collaborators

  • akollegger