Clarkclk commented on issue #9488: Is there any other way to make a node fixed 
in force graph than setoption() method?
URL: 
https://github.com/apache/incubator-echarts/issues/9488#issuecomment-442358774
 
 
   OK, now I set all node fixed after initial setOption method, but if I drag a 
node then this node becomes unfixed again (though other nodes remain fixed). So 
my question changes to how echarts make a node fixed property changed. If it 
has to use a method like setoption to render the whole graph? Or is there an 
inner interface to change a node property like fixed and axis easily?  I think 
rendering the whole graph is time-consuming. So what is the inner method to 
change a node property?
   
中文:我在初始setOption之后会将所有节点设置为fixed,但如果我去拖动一个顶点,该顶点会重新编程unfixed(其他顶点保持fixed)。我的问题是,echarts内部是怎么改变一个顶点的属性的?如果也是类似于setOption一样的方法去重新渲染整个图太浪费时间了,或者有一个内部接口可以很方便的更改顶点属性值,比如fixed属性和坐标?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

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

Reply via email to