echarts icon indicating copy to clipboard operation
echarts copied to clipboard

[Feature] Cross-linking lines between branches on tree graph

Open reregaga opened this issue 3 years ago • 2 comments

What problem does this feature solve?

Thanks for the great library, it helped me a lot in visualizing the data.
Now I am working on creating a mind map and trying to find how to create cross-links between branches in the tree graph and I can't figure out how to do it. It's possible?
For example, I marked the desired lines in red. test

Maybe I'd better use a simple graph to create custom edges? But I like how the nodes are automatically aligned vertically in the tree graph, and for a simple graph they will have to be aligned manually?

What does the proposed API look like?

As you wish.

reregaga avatar Aug 20 '22 16:08 reregaga

By definition, this is no longer a tree so I'm afraid it's not possible to make this. You can consider using graph series. With layout: 'none', you can mannually provide the position of each node.

Ovilia avatar Aug 22 '22 10:08 Ovilia

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.

github-actions[bot] avatar Aug 21 '24 21:08 github-actions[bot]

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!

github-actions[bot] avatar Aug 28 '24 21:08 github-actions[bot]