Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
brq666 opened this issue Oct 9, 2024 · 1 comment

Comments

@brq666
Copy link

brq666 commented 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是没问题。

@github-actions github-actions bot 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
@yvonneyx
Copy link
Contributor

我这里没有复现你提到的问题,请贴一个复现链接方便我们定位问题~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants