apache / echarts

Apache ECharts is a powerful, interactive charting and data visualization library for browser
https://echarts.apache.org
Apache License 2.0
59.62k stars 19.58k forks source link

[Feature] echarts支持力导向图固定输出坐标吗 #20111

Open papandadj opened 6 days ago

papandadj commented 6 days ago

What problem does this feature solve?

我最近在项目中用到了echarts,在做图谱的时候,类型是force。每次相同的节点和边渲染的数据是不一样的。我在网上看一般都有随机数,能不能取消随机数或者其他方法达到节点和边相同,计算出的坐标相同的目的

What does the proposed API look like?

helgasoft commented 6 days ago

use other methods to achieve the goal of the same nodes and edges and the same calculated coordinates?

use layout:'none', coordinateSystem:'cartesian2d', - Demo

papandadj commented 5 days ago

Thinks for your reply, but I think the coordinates calculated are too ugly to display.

image