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 2020/06/10 07:10:37 UTC

[GitHub] [incubator-echarts] babyvip229 opened a new issue #12788: Echarts Sankey 对数据一直提示Sankey is a DAG, the original data has cycle!

babyvip229 opened a new issue #12788:
URL: https://github.com/apache/incubator-echarts/issues/12788


   ### Version
   4.5.0
   
   ### Reproduction link
   [https://gallery.echartsjs.com/editor.html?c=xr3LI5lPST&v=4](https://gallery.echartsjs.com/editor.html?c=xr3LI5lPST&v=4)
   
   ### Steps to reproduce
   https://gallery.echartsjs.com/editor.html?c=xr3LI5lPST&v=4
   直接查看示例地址可以看到结果。谢谢
   
   ### What is expected?
   能够正常显示不报错就行。
   
   ### What is actually happening?
   无法显示出结构,报错:
   Sankey is a DAG, the original data has cycle!
   
   <!-- 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



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


[GitHub] [incubator-echarts] babyvip229 commented on issue #12788: Echarts Sankey 对数据一直提示Sankey is a DAG, the original data has cycle!

Posted by GitBox <gi...@apache.org>.
babyvip229 commented on issue #12788:
URL: https://github.com/apache/incubator-echarts/issues/12788#issuecomment-642342821


   收到,谢谢,环形布局如何配置每个不一样的颜色呢?


----------------------------------------------------------------
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



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


[GitHub] [incubator-echarts] yanheSu commented on issue #12788: Echarts Sankey 对数据一直提示Sankey is a DAG, the original data has cycle!

Posted by GitBox <gi...@apache.org>.
yanheSu commented on issue #12788:
URL: https://github.com/apache/incubator-echarts/issues/12788#issuecomment-641890178


   > 你好,子数据 指向 父(及以上)数据的情况是什么意思呢?
   > 什么情况下会导致数据存在这样的问题呢?
   > 这个数组格式是我这边自己编辑的。没有做过任何的处理的。
   【企业微信功能测试组】-> 业务总部 -> 职能总部 -> 【企业微信功能测试组】
   用 环形布局 可能会看的清晰一点 https://gallery.echartsjs.com/editor.html?c=xRh8MLaqz7&v=1
   


----------------------------------------------------------------
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



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


[GitHub] [incubator-echarts] yanheSu edited a comment on issue #12788: Echarts Sankey 对数据一直提示Sankey is a DAG, the original data has cycle!

Posted by GitBox <gi...@apache.org>.
yanheSu edited a comment on issue #12788:
URL: https://github.com/apache/incubator-echarts/issues/12788#issuecomment-641890178


   > 你好,子数据 指向 父(及以上)数据的情况是什么意思呢?
   > 什么情况下会导致数据存在这样的问题呢?
   > 这个数组格式是我这边自己编辑的。没有做过任何的处理的。
   
   
   【企业微信功能测试组】-> 业务总部 -> 职能总部 -> 【企业微信功能测试组】
   用 环形布局 可能会看的清晰一点 https://gallery.echartsjs.com/editor.html?c=xRh8MLaqz7&v=1
   


----------------------------------------------------------------
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



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


[GitHub] [incubator-echarts] merdisheva commented on issue #12788: Echarts Sankey 对数据一直提示Sankey is a DAG, the original data has cycle!

Posted by GitBox <gi...@apache.org>.
merdisheva commented on issue #12788:
URL: https://github.com/apache/incubator-echarts/issues/12788#issuecomment-703874381


   I need to be able to render Sankey diagram with cycles as well.
   I see some implementations drawing links in the opposite direction as well as duplicating nodes so that it becomes DAG.
   (a.g. drag A->B->C->A with node A displayed twice)


----------------------------------------------------------------
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



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


[GitHub] [incubator-echarts] Ovilia commented on issue #12788: Echarts Sankey 对数据一直提示Sankey is a DAG, the original data has cycle!

Posted by GitBox <gi...@apache.org>.
Ovilia commented on issue #12788:
URL: https://github.com/apache/incubator-echarts/issues/12788#issuecomment-642392635


   是的


----------------------------------------------------------------
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



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


[GitHub] [incubator-echarts] yanheSu commented on issue #12788: Echarts Sankey 对数据一直提示Sankey is a DAG, the original data has cycle!

Posted by GitBox <gi...@apache.org>.
yanheSu commented on issue #12788:
URL: https://github.com/apache/incubator-echarts/issues/12788#issuecomment-641869299


   桑基图 是要求一个 有向无环图 的数据结构,你的数据 中 有可能存在 子 数据 指向 父(及以上) 数据的情况


----------------------------------------------------------------
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



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


[GitHub] [incubator-echarts] babyvip229 commented on issue #12788: Echarts Sankey 对数据一直提示Sankey is a DAG, the original data has cycle!

Posted by GitBox <gi...@apache.org>.
babyvip229 commented on issue #12788:
URL: https://github.com/apache/incubator-echarts/issues/12788#issuecomment-641885099


   > 桑基图 是要求一个 有向无环图 的数据结构,你的数据 中 有可能存在 子 数据 指向 父(及以上) 数据的情况
   
   你好,子数据 指向 父(及以上)数据的情况是什么意思呢?
   什么情况下会导致数据存在这样的问题呢?
   这个数组格式是我这边自己编辑的。没有做过任何的处理的。


----------------------------------------------------------------
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



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


[GitHub] [incubator-echarts] babyvip229 commented on issue #12788: Echarts Sankey 对数据一直提示Sankey is a DAG, the original data has cycle!

Posted by GitBox <gi...@apache.org>.
babyvip229 commented on issue #12788:
URL: https://github.com/apache/incubator-echarts/issues/12788#issuecomment-642362313


   > > 你好,子数据 指向 父(及以上)数据的情况是什么意思呢?
   > > 什么情况下会导致数据存在这样的问题呢?
   > > 这个数组格式是我这边自己编辑的。没有做过任何的处理的。
   > 
   > 【企业微信功能测试组】-> 业务总部 -> 职能总部 -> 【企业微信功能测试组】
   > 用 环形布局 可能会看的清晰一点 https://gallery.echartsjs.com/editor.html?c=xRh8MLaqz7&v=1
   
   您好,我在和您确认一下,是不是所有的桑基图都不支持环形布局?


----------------------------------------------------------------
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



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


[GitHub] [incubator-echarts] dominic-simplan commented on issue #12788: Echarts Sankey 对数据一直提示Sankey is a DAG, the original data has cycle!

Posted by GitBox <gi...@apache.org>.
dominic-simplan commented on issue #12788:
URL: https://github.com/apache/incubator-echarts/issues/12788#issuecomment-652576212


   I don't know if I understood everything because I've just ran it though google translate, but wouldn't it be possible to add it as a feature request to allow cycles in the Sankey diagram?
   Is there any definition which says a Sankey diagram must be acyclic? I don't think so, and there are many examples online for Sankey diagrams with cycles. Also, it should be technically possible, as there are cyclic Sankey diagrams e.g. for d3.js.
   
   So while it is not possible now, maybe the cyclic support could be added in the future?


----------------------------------------------------------------
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



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


[GitHub] [incubator-echarts] susiwen8 closed issue #12788: Echarts Sankey 对数据一直提示Sankey is a DAG, the original data has cycle!

Posted by GitBox <gi...@apache.org>.
susiwen8 closed issue #12788:
URL: https://github.com/apache/incubator-echarts/issues/12788


   


----------------------------------------------------------------
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



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


[GitHub] [incubator-echarts] echarts-bot[bot] commented on issue #12788: Echarts Sankey 对数据一直提示Sankey is a DAG, the original data has cycle!

Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] commented on issue #12788:
URL: https://github.com/apache/incubator-echarts/issues/12788#issuecomment-641779153


   Hi! We've received your issue and please be patient to get responded. 🎉
   The average response time is expected to be within one day for weekdays.
   
   In the meanwhile, please make sure that **you have posted enough image to demo your request**. You may also check out the [API](http://echarts.apache.org/api.html) and [chart option](http://echarts.apache.org/option.html) to get the answer.
   
   If you don't get helped for a long time (over a week) or have an urgent question to ask, you may also send an email to dev@echarts.apache.org. Please attach the issue link if it's a technical questions.
   
   If you are interested in the project, you may also subscribe our [mail list](https://echarts.apache.org/en/maillist.html).
   
   Have a nice day! 🍵


----------------------------------------------------------------
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



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