Skip to content

Repository files navigation

DAGs

A set of modules that implements a Directed Acyclic Graph and some related functionality.


NPM module versionCI statusGitHub issuesNPM DownloadsBundle SizeMIT License


Installing

To use DAG modules, all you need to do is install the @dags/core package:

$ yarn add @dags/core
# or
$ npm install @dags/core

Usage

At the moment, the library provides the following modules:

  • dag
  • dag-local
  • uid-local
  • uid-uuid

For example, you can use the dag module in semi-procedural style like this:

import{Dag}from'@dags/core'constdag=newDag()constparent=dag.newNode()constchild=dag.newNode()dag.setParenthood(parent,child)

License

MIT © Alexander Lapygin

About

A set of modules that implements a Directed Acyclic Graph and some related functionality

Topics

Resources

Code of conduct

Contributing

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages