Skip to content

chaosbreakers/metagraph-node

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

metagraph-node

Usage

Add npm dependency in package.json.

{
  "name": "awesome-project",
  "dependencies": {
    "metagraph-node": "^0.2.0"
  }
}

Start playing with graphs.

import Metagraph from 'metagraph-node';

const mg = new Metagraph();
const g = mg.addGraph();

const v = g.addVertex('PLANET');
v.setProperties({ 'name': 'Mars' });

Contribute

First, clone the repo via git:

git clone [email protected]:openmg/metagraph-node.git

And then install dependencies.

$ cd metagraph-node && npm install

Editor Configuration

Atom

apm install autocomplete-flow autocomplete-modules ava editorconfig es6-javascript language-babel linter linter-flow linter-xo