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

dagre布局问题 #5950

Closed
WKingIce opened this issue Jun 28, 2024 · 1 comment
Closed

dagre布局问题 #5950

WKingIce opened this issue Jun 28, 2024 · 1 comment

Comments

@WKingIce
Copy link

使用dagre布局后,拖拽画布中的节点后,改变布局位置了,此时,点击按钮添加节点,可以在保持原先布局的情况下,将节点还是通过dagre布局添加到画布中吗?

@Aarebecca
Copy link
Contributor

描述需求只能通过自定义布局实现,布局前先记录拖拽节点的位置,然后执行 dagre 布局,并根据布局结果仅调整未拖拽以及新增节点的位置

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