Skip to content

ecomfe/echarts-dagre

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

graph layout extension integrated with dagre.js and Apache ECharts (incubating)

Install

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

Or

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

Usage

...

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

About

ECharts graph layout extension using dagre.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published