This package has been deprecated

Author message:

no longer supported

@dags/dag
TypeScript icon, indicating that this package has built-in type declarations

0.6.5 • Public • Published

Directed Acyclic Graph with global identification

This is the core module of the dags monorepo.


NPM module version CI status GitHub issues NPM Downloads Bundle Size MIT License


Install

$ yarn add @dags/core

# or

$ npm install @dags/core

Usage

import { Dag } from '@dags/core'

const dag = new Dag()

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

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

dag.setParenthood(parent, child)

Package Sidebar

Install

npm i @dags/dag

Weekly Downloads

22

Version

0.6.5

License

MIT

Unpacked Size

56.3 kB

Total Files

19

Last publish

Collaborators

  • alexanderlapygin