@ebay/nice-dag-core
v1.0.34
Published
[![NPM](https://img.shields.io/npm/v/@ebay/nice-dag-core.svg)](https://www.npmjs.com/package/@ebay/nice-dag-core) [![Downloads](https://img.shields.io/npm/dm/@ebay/nice-dag-core.svg)](https://www.npmjs.com/package/@ebay/nice-dag-core) [![Demo](https://img
Downloads
264
Readme
nice-dag-core
What is nice-dag-core?
nice-dag-core
creates and maintains an easy-to-use DOM structure for visualising DAG Diagram. The positions of nodes and lines are calculated based on Dagre, while the rendering logic is controlled by developers in the manner of JS APIs.
Besides DAG diagram layout, it also provides build-in functions for Flow Editor interactions like dragging, dropping, creating or removing nodes and edges. Developers can use these functions according to their customized use cases.
Ideally, nice-dag-core
is framework agnostic. For the current version, nice-dag-core
can be used with nice-dag-react or with nice-dag-vue3.
Installation
If your project is using yarn, you can run the command.
yarn add @ebay/nice-dag-core
If your projet is using npm, you can run the command.
npm install @ebay/nice-dag-core
Besides, you can add /node_modules/@ebay/nice-dag-core/lib/index.umd.cjs
to html directly if you are not working on react
or vue3
framework.
For more details, please you can visit Doc Portal.