You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2019/12/06 09:23:27 UTC

[GitHub] [incubator-echarts] Caitingwei opened a new issue #11807: Echarts关系图(Graph)能否获取到力矢量布局(force)后点(node)的[x, y]坐标点?

Caitingwei opened a new issue #11807: Echarts关系图(Graph)能否获取到力矢量布局(force)后点(node)的[x, y]坐标点?
URL: https://github.com/apache/incubator-echarts/issues/11807
 
 
   ### What problem does this feature solve?
   项目中有一个需求,后面的渲染需要固定某个点。但初始化使用了力矢量布局(force)。我并不知道其布局出来的xy轴坐标。导致下次渲染时不能固定该点。
   node: {
      fixed: true,
      x: ?, 因为想固定该点,但不知道力矢量布局(force)后的x,y坐标
      y: ?,
   }
   
   ### What does the proposed API look like?
   希望在力矢量布局完成后再chart.getOption() api中返回力矢量布局(force)后的x,y坐标
   
   <!-- This issue is generated by echarts-issue-helper. DO NOT REMOVE -->
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org