metatools-graph
TypeScript icon, indicating that this package has built-in type declarations

1.0.5 • Public • Published

@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

/metatools-graph/

    Package Sidebar

    Install

    npm i metatools-graph

    Weekly Downloads

    9

    Version

    1.0.5

    License

    MIT

    Unpacked Size

    22.5 kB

    Total Files

    9

    Last publish

    Collaborators

    • hagiwara_takayuki