antvis/G6



The issue has been closed
If Layout is set to tree, setting edge to polyline is invalid. #6277
AGG-an posted onGitHub
Describe the bug / 问题描述
当为树类型的edge设置了
edge: {
type: 'polyline',
style: {
router: {
type: 'orth',
},
stroke: '#C0C0C0',
},
},
会出现错误:
其实 我想实现的效果也很简单:
左右树结构,只是边不是曲线的;为实现这种效果 需要怎么配置?
Reproduction link / 重现链接
No response
Steps to Reproduce the Bug or Issue / 重现步骤
No response
G6 Version / G6 版本
🆕 5.x
Operating System / 操作系统
Windows
Browser / 浏览器
Chrome
Additional context / 补充说明
No response