small752 commented on issue #6811: 
关系图graph支持两个data节点之间多条link,每个link代表一种关系,并可以筛选?
URL: 
https://github.com/apache/incubator-echarts/issues/6811#issuecomment-483920990
 
 
   1.修改源码
   nodemodules-echarts-lib-data-Graph.js中graphProto.addEdge:
   if (edgesMap[key]) {
   return;
   }
   return注释掉
   2.代码中曲度改用随机
   curveness: Math.random()
   
   用上述方法好像还是没有效果, 
另外改node-modules里的方法还是不太方便,以后版本迭代了针对源码的这个改动肯定就忘记了。有没有在业务代码中实现这个效果的方法

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

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

Reply via email to