Skip to content

Latest commit

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

jam-graph

Super-simple and super-light (~1Kb gzip) graph-data manager

Usage example

import{Cluster}from'jam-graph';// Create new graph cluster:constmyGraph=newCluster();// Add label handler myGraph.subscribeOnLabel('UNLABELED',(idList)=>{console.log(idList);console.log(myGraph.getVtxList(idList));});// Add first vertex:constid1=myGraph.addValue({myDataField: 'EXAMPLE 1',});// Add second vertex:constid2=myGraph.addValue({myDataField: 'EXAMPLE 2',});// Create edge:myGraph.linkDuplex(id1,id2);

Documentation will be updated and enhanced soon.

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages