1.0.5 • Published 1 year ago

metatools-graph v1.0.5

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

@Metatolls/Graph

graph data utility

Install

npm install metatools-graph 

Usage

const graph = require('metatools-graph')

const g = new graph.Graph()
const startV = g.addVertex({1:3, 3:4})
const endV = g.addVertex({4:5})
const label = 'test'
startV.setOutEdge(endV, label)
        
console.dir(endV.getInV(label).vertexs)

if want more, see docs directry

1.0.5

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago