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

变更改节点id #1547

Closed
overofheight opened this issue Nov 12, 2021 · 15 comments
Closed

变更改节点id #1547

overofheight opened this issue Nov 12, 2021 · 15 comments
Labels
type: feature 新功能 Feature/enhancement requests

Comments

@overofheight
Copy link

overofheight commented Nov 12, 2021

希望可以有api去更新节点的id,类似这样的:node.setId(newId) / cell.updateId(newId)

变更后的节点 相关的连线的id 也会自动变更

@overofheight overofheight added the type: feature 新功能 Feature/enhancement requests label Nov 12, 2021
@NewByVector
Copy link
Contributor

你需要修改 id 的场景是什么?

@overofheight
Copy link
Author

overofheight commented Nov 12, 2021 via email

@EmiyaYang
Copy link

+1,我也需要

@changehu
Copy link

+1

@enjoy-learning-everything

+1,我也需要

@x6-bot
Copy link
Contributor

x6-bot bot commented Dec 8, 2021

Hiya!

This issue has gone quiet. Spooky quiet. 👻

We get a lot of issues, so we currently close issues after 60 days of inactivity. It’s been at least 20 days since the last update here. If we missed this issue or if you want to keep it open, please reply here. You can also add the label "not-stale" to keep this issue open!

As a friendly reminder: the best way to see this issue, or any other, fixed is to open a Pull Request. Check out contribute for more information about opening PRs, triaging issues, and contributing!

Thanks for being a part of the AntV community! 💪💯

@x6-bot x6-bot bot added the stale Issue that may be closed soon due to the original author not responding any more. label Dec 8, 2021
@enjoy-learning-everything
Copy link

@x6-bot x6-bot bot removed the stale Issue that may be closed soon due to the original author not responding any more. label Dec 9, 2021
@TheShining
Copy link

+1 发现改了id,removeNode(selectCell)无法删除节点,不知道算不算bug

@NewByVector
Copy link
Contributor

自定义 ID 会造成很多不好定位的问题。大部分场景都不需要自定义ID。在 dnd 拖拽过程中,增加了保持 id 的方法

@EmiyaYang
Copy link

EmiyaYang commented Jan 23, 2022

78cdb3b

还是提供了。。。 @TheShining @overofheight @UriasUdall @changehu

@dlr188
Copy link

dlr188 commented May 19, 2022

+1 发现改了id,removeNode(selectCell)无法删除节点,不知道算不算bug

@dlr188
Copy link

dlr188 commented May 19, 2022

+1,一般公司有自己的ID规则,x6的ID不适用,另外,提个bug,修改ID后撤销会报错

@dlr188
Copy link

dlr188 commented May 19, 2022

+1,一般公司有自己的ID规则,x6的ID不适用,另外,提个bug,复制粘贴时修改ID后,撤销会报错(我做的时候拖拽已支持自定义ID)

@XueMeijing
Copy link
Contributor

+1,一般公司有自己的ID规则,x6的ID不适用,另外,提个bug,复制粘贴时修改ID后,撤销会报错(我做的时候拖拽已支持自定义ID)

加一 我也遇到了

@x6-bot
Copy link
Contributor

x6-bot bot commented Jan 18, 2024

This thread has been automatically locked because it has not had recent activity.

Please open a new issue for related bugs and link to relevant comments in this thread.

@x6-bot x6-bot bot locked as resolved and limited conversation to collaborators Jan 18, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: feature 新功能 Feature/enhancement requests
Projects
None yet
Development

No branches or pull requests

8 participants