helgasoft commented on issue #19230:
URL: https://github.com/apache/echarts/issues/19230#issuecomment-1773851389

   > setOption is called to show the node label
   
   Why use setOption? Node label shows by default on hover, see [official 
example](https://echarts.apache.org/examples/en/editor.html?c=graph-force).
   
   > calling setOption causes force graph to update nodes position which makes 
any kind of interactivity impossible
   
   
[force.friction](https://echarts.apache.org/en/option.html#series-graph.force.friction)
 set to 0.1 or 0 helps.
   [Demo 
Code](https://echarts.apache.org/examples/en/editor.html?c=graph-force&code=LYTwwgFghgTgLgOgM4QPYHcAyqoBMCWAdgOYAUAlANwBQAJAsQKZykBKA8uwCoD6ACgEEuACQAEAalEByAPS4ocKDKhIkzOQqUAbRkgC0wfGphQARjqQIAVklSEpAGlEAzAK6EAxnHx3RpYiYADhDkogDe1KKioJCwiBD4uIzYeERkVJGiAVDBCISoSZbOqDAAolAeEKRunt6-pPlJoRFRUY2MyCDApqhaAMr4AF6MogC8ogCsNFEAvhlRqIF1hGPhmVHecDoAXGutrXCMAB5wu1IeWvgeANYuJaJqcOxLPvYO6weLZz1wcKjAjg-UR0zlO0hg-GIEDgUg-M3e-z-vW8gV2YXhHx0TEIuF2AG0gXt9q15Ipdtlch4FIxiCV8LoEMActV3F5Xn4oM1CfsYMxXDAVlA8lBgIxpsTZuRCTMPgBdBGtYz0pD4wktCWiQgixhnTC6UQAWSMjBM5l0gI1ojgIECOukFIgFo1WigIFQrjBUmKMA8jCdEtJUHJQQgeQKugVEsuhGuKqyIYQ0djkeJVMOtIhumDOVDaZpdIj3NEMBwwF2cBgrkYKf2LtMjC0aKLUUCqCQ-GWZwhUJhRYxlu9vqblqivMCri07bsuwAjAAGOc14nOCFs6dzhAzvvSuWZGbimLQeDIZjPZakRbLebRcBHxB2UjnS43RwuVnLPyBLn7Q9xE9PF4HzCTYdmA45TkCYVRRmOZRD3DI5koIA)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to