echarts echart graph 关系图 自适应

xjreopfe  于 2022-10-20  发布在  Echarts
关注(0)|答案(3)|浏览(514)

Version

4.7.0

Steps to reproduce

没有

What is expected?

根据节点连线数量自适应,数量多就显示比例就小一点;数量少的话,显示比例就大一点。最重要的是一定要显示全

What is actually happening?

显示全

syqv5f0l

syqv5f0l1#

Hi! We've received your issue and please be patient to get responded. 🎉
The average response time is expected to be within one day for weekdays.

In the meanwhile, please make sure thatyou have posted enough image to demo your request. You may also check out the API and chart option to get the answer.

If you don't get helped for a long time (over a week) or have an urgent question to ask, you may also send an email to dev@echarts.apache.org . Please attach the issue link if it's a technical questions.

If you are interested in the project, you may also subscribe our mail list .

Have a nice day! 🍵

tjrkku2a

tjrkku2a3#

对于这类关系图 https://echarts.apache.org/examples/zh/editor.html?c=graph-force
如果有一个中心节点[0],周边有三类节点([1,2,3] [4,5,6] [7,8,9])都跟这个中心节点相连,其他没有相连,那么,如何使得渲染的时候,1、2、3挨在一起,4、5、6挨在一起,7、8、9挨在一起,这样一个簇一个簇的排序,而不是无序的排列。请问如何操作???谢谢

相关问题