A set of modules that implements a Directed Acyclic Graph and some related functionality.
To use DAG modules, all you need to do is install the @dags/core package:
$ yarn add @dags/core
# or
$ npm install @dags/coreAt the moment, the library provides the following modules:
dagdag-localuid-localuid-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)MIT © Alexander Lapygin