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

能不能配置让非combo内的节点不能拖入combo,或者在布局的时候实现非combo内的节点一定在combo外部? #5221

Closed
XiaoRIGE opened this issue Dec 4, 2023 · 5 comments
Labels
Outdate This issue is too old to be resolved stale Issue has not had recent activity or appears to be solved. Stale issues will be automatically closed

Comments

@XiaoRIGE
Copy link

XiaoRIGE commented Dec 4, 2023

问题描述

使用dagre布局,不同layer的节点可能属于同一个combo,希望将相同combo的节点放在一起,保障combo内的节点一定是有相同group字段的。

重现链接

www.test.com

重现步骤

1.使用dagre布局;
2.依据数据的group字段生成combo;
3.会出现combo圈中不相关的节点的情况

预期行为

1.使用dagre布局;
2.依据数据的group字段生成combo;
3.保障combo内节点都有相同的group

平台

  • 操作系统: [macOS, Windows, Linux, React Native ...]
  • 网页浏览器: [Google Chrome, Safari, Firefox]
  • G6 版本: [4.5.1 ... ]

屏幕截图或视频(可选)

No response

补充说明(可选)

No response

@AntarcticPresident
Copy link

非组内的节点一定在combo外。只不过重叠了。

@XiaoRIGE
Copy link
Author

XiaoRIGE commented Dec 7, 2023

非组内的节点一定在combo外。只不过重叠了。

能否有好的方式解决这种重叠问题呢?

@neolee6053
Copy link

neolee6053 commented Jan 10, 2024

我也想知道,如何让非combo内的节点不能拖入combo, 和combo内的节点不能被拖出combo

@neolee6053
Copy link

找到了,onlyChangeComboSize。 而且 drag-node 和 drag-combo 都要加

#5106

@dosubot dosubot bot added the stale Issue has not had recent activity or appears to be solved. Stale issues will be automatically closed label Apr 17, 2024
@Aarebecca Aarebecca added the Outdate This issue is too old to be resolved label Jul 5, 2024
Copy link

github-actions bot commented Jul 5, 2024

This issue has been closed because it has been outdate for a long time.
Please open a new issue if you still need help.

这个 issue 已经被关闭,因为 它已经过期很久了
如果你仍然需要帮助,请创建一个新的 issue。

@github-actions github-actions bot closed this as completed Jul 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Outdate This issue is too old to be resolved stale Issue has not had recent activity or appears to be solved. Stale issues will be automatically closed
Projects
None yet
Development

No branches or pull requests

4 participants