You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by "bhavyakelp (via GitHub)" <gi...@apache.org> on 2024/07/18 05:32:05 UTC
[I] [Feature] Bi Direction Tree [echarts]
bhavyakelp opened a new issue, #20174:
URL: https://github.com/apache/echarts/issues/20174
### What problem does this feature solve?
Hi
I am wanting to create a bidirectional tree chart ( similar to a family tree), which has the root node at the center, its children below it and parents above it with each node having a fixed height and width.
If I further expand my parent nodes they open upwards and if I open child node they open downwards.
- If the layout is bottom : It opens the chart in bottom up direction ( upwards )
<img width="852" alt="Screenshot 2024-07-18 at 10 53 49 AM" src="https://github.com/user-attachments/assets/2150bb40-70dc-4695-a678-a8528358e8d1">
- and if the layout is top : It opens the chart in top down direction (downwards)
<img width="867" alt="Screenshot 2024-07-18 at 10 53 43 AM" src="https://github.com/user-attachments/assets/2d59f96a-383e-4517-a592-76d8e780c3f7">
what I aim to do is have both of these in one single chart and create something similar to this:
- with the yellow node being the root
- purple being the children
- green being the parent
- and a expand (+)/ collapse(-) icon to toggle between expanded states

How will be able to achieve this ? I tried multiple ways but am unable to attain this behaviour.......
### What does the proposed API look like?
.
--
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: commits-unsubscribe@echarts.apache.org.apache.org
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
Re: [I] [Feature] Bi Direction Tree [echarts]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #20174: [Feature] Bi Direction Tree
URL: https://github.com/apache/echarts/issues/20174
--
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: commits-unsubscribe@echarts.apache.org
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
Re: [I] [Feature] Bi Direction Tree [echarts]
Posted by "bhavyakelp (via GitHub)" <gi...@apache.org>.
bhavyakelp commented on issue #20174:
URL: https://github.com/apache/echarts/issues/20174#issuecomment-2244737567
Thank you @helgasoft
--
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: commits-unsubscribe@echarts.apache.org
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
Re: [I] [Feature] Bi Direction Tree [echarts]
Posted by "helgasoft (via GitHub)" <gi...@apache.org>.
helgasoft commented on issue #20174:
URL: https://github.com/apache/echarts/issues/20174#issuecomment-2237473205
Here is TB + BT format - [Demo](https://echarts.apache.org/examples/en/editor.html?c=tree-orient-right-left&code=LYTwwgFghgTgLgOgM4QPYHcAyqoBMCWAdgOYAUAlANwBQAJAsQKZykBKA8uwCoD6ACgEEuACQAEAalEByAPS4ocKDKhIkzOQqUAzADaxGCAFZJUhKQBpRWgK6EAxnHynRpeYvKiA3tVGjQkWEQIfFxGbDwiMiofUTcoBDtgnVwYRkIELVQYAFEoRNIbe0dnVwVrYEsiUIAPD29fXyrGatEAUlEAJlEAXl7RAAZRADIhlzdyhNQdPQAHNVwe0TgYa0Zo3wBfddEkVkxF-oa4EBnGAC5pZcZGCxjfOIuAbTiAXXM7pdQZi6kAVlbbg1RBBGPhiBA4D8ACz_QENdAhOAQH4ARn6_QB7yBSBAwAARlMAMr4ABe51EAHYsQ0svg0pDpAAhLhw3x6PGMHQXQ5AmaoJD4YqEH4EuBwVDAVkNABujHg-DsUB0Ah0YOF0mAIVwOhu1KBSrVPx1WjgUg-Gz1oh1UFlSG5HzZUA5XK8DoafIFQqNjBNUqBsvliuVquI6qkmtw2t1bt8BtDPxgYIhZqBm3NlsYwBm0AFdq8VlQdmseakoSQdjS8kIptEFo-zRmUEIuAEzbAU1maguy1Wlqb-GACichAAItYYEPTBdfr9-n3CAPJ6Px0uAKozNzkimz6kbGi-JCYViLABShPYADkEI2YGpSGfL8hlpF8FoQKRdphyNsZDJYpzmEYHYJSAvEJ3sEEkE-PwoAAayApFM1iV8tDlekYkPVgEDiR5-heBIkhSNJFkw7DNFw_DEnwZJUnSJBVQrUgoW2UicLwhBCCgYAgO6aQpH3HYjwQWl6UWKQuEZfiMKE61bQOdlOW5UQPUFYcEyTU1LDjMNjVNDY92krDxRmMTZwBATSNFcVgFMgEYi-
IUDjdcUpkcb58zrVNRGIRNcG5YyzjnKyJUCyxE3BSE5ytH1IssOxTEUIhMCdRSe0YTzUzURNGDzR4dj2SxMNEF4Yg2GJ_GgeBkGYdgZiFUgHOHaItkoIA).
Please read [tree API](https://echarts.apache.org/en/option.html#series-.type), all settings are there. Also search in [issues](https://github.com/apache/echarts/issues) for examples. Good luck!
--
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: commits-unsubscribe@echarts.apache.org
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
Re: [I] [Feature] Bi Direction Tree [echarts]
Posted by "helgasoft (via GitHub)" <gi...@apache.org>.
helgasoft commented on issue #20174:
URL: https://github.com/apache/echarts/issues/20174#issuecomment-2237099714
https://echarts.apache.org/en/option.html#series-tree.orient
--
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: commits-unsubscribe@echarts.apache.org
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
Re: [I] [Feature] Bi Direction Tree [echarts]
Posted by "bhavyakelp (via GitHub)" <gi...@apache.org>.
bhavyakelp commented on issue #20174:
URL: https://github.com/apache/echarts/issues/20174#issuecomment-2237115691
how can I control the gap/spacing between parent-child and the siblings?
--
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: commits-unsubscribe@echarts.apache.org
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
Re: [I] [Feature] Bi Direction Tree [echarts]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #20174:
URL: https://github.com/apache/echarts/issues/20174#issuecomment-5136437631
This issue has been automatically closed because it did not have recent activity. If this remains to be a problem with the latest version of Apache ECharts, please open a new issue and link this to it. Thanks!
--
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: commits-unsubscribe@echarts.apache.org
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
Re: [I] [Feature] Bi Direction Tree [echarts]
Posted by "helgasoft (via GitHub)" <gi...@apache.org>.
helgasoft commented on issue #20174:
URL: https://github.com/apache/echarts/issues/20174#issuecomment-2236930743
looks like duplicate of #18190
--
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: commits-unsubscribe@echarts.apache.org
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
Re: [I] [Feature] Bi Direction Tree [echarts]
Posted by "bhavyakelp (via GitHub)" <gi...@apache.org>.
bhavyakelp commented on issue #20174:
URL: https://github.com/apache/echarts/issues/20174#issuecomment-2237097014
Thank you @helgasoft for these playgrounds, but is there any way I can make the chart BT and TB,
the graph that you shared, is in the LR & RL direction
--
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: commits-unsubscribe@echarts.apache.org
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
Re: [I] [Feature] Bi Direction Tree [echarts]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #20174:
URL: https://github.com/apache/echarts/issues/20174#issuecomment-5063656287
This issue has been automatically marked as stale because it did not have recent activity. It will be closed in 7 days if no further activity occurs. If you wish not to mark it as stale, please leave a comment in this issue.
--
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: commits-unsubscribe@echarts.apache.org
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