- bizcharts Version:^3.5.5
- Platform or react version:^16.11.0
- Mini Showcase(like screenshots):
- CodePen Link:
- you can fork CodePen template from this: https://codepen.io/leslie2014/pen/xjJGER
render() {
let ds = new DataSet();
this.dv = ds.createView().source(data, {
type: "graph",
edges: (d: { links: any }) => d.links
});
this.dv.transform({
type: "diagram.sankey"
});
return (
<>
<React.Fragment>
</React.Fragment>
</>
);
1条答案
按热度按时间mwyxok5s1#
我对新数据和老数据做了深比较,不同时才更新解决了此问题