# echarts-dagre
**Repository Path**: mirrors_ecomfe/echarts-dagre
## Basic Information
- **Project Name**: echarts-dagre
- **Description**: ECharts graph layout extension using dagre.js
- **Primary Language**: Unknown
- **License**: Not specified
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2020-08-08
- **Last Updated**: 2026-01-24
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# graph layout extension integrated with dagre.js and [Apache ECharts (incubating)](https://github.com/apache/incubator-echarts)
### Install
```html
```
Or
```
npm install echarts-dagre
```
```js
var echarts = require('echarts');
require('echarts-dagre');
```
### Usage
```js
...
chart.setOption({
...
series: [{
type: 'graph',
// Change the layout to dagre, that's all you need to do.
layout: 'dagre',
nodes: [...],
links: [...]
}]
});
```