Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Table of Contents
- Bug Tracking
Try our interactive demo!
Or some of our other examples:
- Sentence Tokenization
- TCP State Diagram
- ETL Visualization
- Style Attributes
- Built-in Shapes
- Built-in Arrows
- User-defined Shapes and Arrows
- Tooltip on Hover
- Graph Story Board
- Clusters experimental
Before installing this library you need to install the npm package manager.
To get dagre-d3 from npm, use:
$ npm install dagre-d3
You can install dagre-d3 with bower using the following command:
$ bower install dagre-d3
then, include the dependencies in the correct order in your HTML file:
<script src="bower_components/lodash/lodash.js"></script> <script src="bower_components/graphlib/dist/graphlib.core.js"></script> <script src="bower_components/dagre/dist/dagre.core.js"></script> <script src="bower_components/dagre-d3/dist/dagre-d3.core.js"></script>
You can get the latest browser-ready scripts:
You can also get the scripts for a particular version. For example, to get v0.3.0:
Look at the releases page to find a list of versions.
Before building this library you need to install the npm package manager.
Check out this project and run this command from the root of the project:
$ make dist
This will generate
dagre-d3.min.js in the
of the project.
Dagre-d3 is licensed under the terms of the MIT License. See LICENSE for details.