antvis/G6


The issue has been closed
G6 automatic layout, I set the layout layout: { type: 'antv-dagre', rankdir: 'RL'}, when setting the rankdir attribute to RL, type: 'cubic-horizontal', it will not work and become the default straight line, it is no problem to set it to LR. #6388
brq666 posted onGitHub
Describe the bug / 问题描述
G6自动布局,我设置布局layout: { type: 'antv-dagre', rankdir: 'RL'}, 在设置rankdir属性为RL的时候,type: 'cubic-horizontal',就失效变成默认的直线了,设置为LR是没问题。
Reproduction link / 重现链接
No response
Steps to Reproduce the Bug or Issue / 重现步骤
G6自动布局,我设置布局layout: { type: 'antv-dagre', rankdir: 'RL'}, 在设置rankdir属性为RL的时候,type: 'cubic-horizontal',就失效变成默认的直线了,设置为LR是没问题。
G6 Version / G6 版本
🆕 5.x
Operating System / 操作系统
macOS
Browser / 浏览器
Chrome
Additional context / 补充说明
G6自动布局,我设置布局layout: { type: 'antv-dagre', rankdir: 'RL'}, 在设置rankdir属性为RL的时候,type: 'cubic-horizontal',就失效变成默认的直线了,设置为LR是没问题。