Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alexanderlapygin/dags
A set of modules that implements a Directed Acyclic Graph and some related functionality
https://github.com/alexanderlapygin/dags
cd ci clean-architecture dag graph lerna lib library monorepo ts typescript
Last synced: about 2 months ago
JSON representation
A set of modules that implements a Directed Acyclic Graph and some related functionality
- Host: GitHub
- URL: https://github.com/alexanderlapygin/dags
- Owner: AlexanderLapygin
- License: mit
- Created: 2020-09-20T23:10:42.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-03-11T18:41:07.000Z (almost 3 years ago)
- Last Synced: 2024-10-09T21:37:38.708Z (3 months ago)
- Topics: cd, ci, clean-architecture, dag, graph, lerna, lib, library, monorepo, ts, typescript
- Language: TypeScript
- Homepage:
- Size: 1.84 MB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 21
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# DAGs
A set of modules that implements a **Directed Acyclic Graph** and some related functionality.
## Installing
To use DAG modules, all you need to do is install the `@dags/core` package:
```sh
$ 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:
```ts
import { Dag } from '@dags/core'const dag = new Dag()
const parent = dag.newNode()
const child = dag.newNode()
dag.setParenthood(parent, child)
```## License
MIT © [Alexander Lapygin](https://github.com/AlexanderLapygin)