antvis/G6

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', }, }, 会出现错误: image

其实 我想实现的效果也很简单: image

左右树结构,只是边不是曲线的;为实现这种效果 需要怎么配置?

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


使用的CDN引入,版本5.0.19 image

posted by AGG-an 8 months ago

Fixed in 5.0.21

posted by yvonneyx 8 months ago

Fund this Issue

$0.00
Funded

Pull requests