0.6.3 • Published 4 years ago

@dags/dag-local v0.6.3

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

Directed Acyclic Graph with local identification

Install

$ yarn add @dags/core

# or

$ npm install @dags/core

Usage

import { DagLocal } from '@dags/core'

const dag = new DagLocal()

const parent = dag.newNode()
const child = dag.newNode()

console.log(parent.equals(parent))
console.log(parent.equals(child))

dag.setParenthood(parent, child)