You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
github-actionsbot
changed the title
G6自动布局,我设置布局layout: { type: 'antv-dagre', rankdir: 'RL'}, 在设置rankdir属性为RL的时候,type: 'cubic-horizontal',就失效变成默认的直线了,设置为LR是没问题。
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.
Oct 9, 2024
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是没问题。
The text was updated successfully, but these errors were encountered: