echarts-dagre

0.1.0 • Public • Published

ECharts graph layout extension using dagre.js

Install

<script src="echarts.min.js">
<script src="echarts-dagre.min.js">

Or

npm install echarts-dagre
var echarts = require('echarts');
require('echarts-dagre');

Usage

 
...
 
chart.setOption({
    ...
    series: [{
        // Change the layout to dagre, that's all you need to do.
        layout: 'dagre',
        nodes: [...],
        links: [...]
    }]
});

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.1.014latest

Version History

VersionDownloads (Last 7 Days)Published
0.1.014

Package Sidebar

Install

npm i echarts-dagre

Weekly Downloads

14

Version

0.1.0

License

ISC

Last publish

Collaborators

  • ecomfe-core
  • ovilia
  • lang
  • errorrik