Install dagre-d3-component
:
npm i dagre-d3-component --save
Once installed, import it in your application:
import 'dagre-d3-component';
Add <dagre-d3-component>
element to the page.
<dagre-d3-component></dagre-d3-component>
-
Fork the
dagre-d3-component
repository and clone it locally. -
Make sure you have npm installed.
-
When in the
dagre-d3-component
directory, runnpm install
to install dependencies. -
Run
npm start
to open the demo.