How to set the x and y coordinates of each node in the graph of echarts

1, I refer to the simple graph demo of the echarts official website to make a diagram, but I don"t understand how to set the x and y coordinates of a node. I find that when changing the coordinates of a node, the position of other coordinates will also change, that is to say, the node does not seem to have a fixed reference origin. Take the demo of the official website as an example, the original data and the location of each node are as follows:

clipboard.png

1fixed:

clipboard.png
you can see that the positions of other nodes have also changed relative to the canvas.
so where is the coordinate origin here? How can we ensure that one node is modified without causing a change in the location of other nodes?

Feb.28,2021

calculate the coordinates of the central point using sin cos to dynamically calculate the coordinates of each node can achieve uniform distribution


after all nodes are set up fixed, you can still achieve the desired layout effect by adjusting x and y, but it is a bit troublesome.


Hello, have you solved this problem? I don't know how to solve this problem now.


have you solved the location

?
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3176f-2bd7c.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3176f-2bd7c.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?