-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Comments
你需要修改 id 的场景是什么? |
感谢回复。这个也应该是比较常用的api功能吧, jsPlumb也有类似的api。场景:画布中拖进一个空白节点,单击对这个节点A进行数据配置,然后右键修改节点,改为节点B。既然id代表唯一标识,data数据层就没有必要再添加一个唯一标识了,容易混淆。
| |
花开无果
|
|
***@***.***
|
签名由网易邮箱大师定制
在2021年11月12日 ***@***.***> 写道:
你需要修改 id 的场景是什么?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
|
+1,我也需要 |
+1 |
+1,我也需要 |
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! 💪💯 |
谢谢你的来信,这里是幸的邮箱,以后常联系!
|
+1 发现改了id,removeNode(selectCell)无法删除节点,不知道算不算bug |
自定义 ID 会造成很多不好定位的问题。大部分场景都不需要自定义ID。在 dnd 拖拽过程中,增加了保持 id 的方法。 |
还是提供了。。。 @TheShining @overofheight @UriasUdall @changehu |
|
+1,一般公司有自己的ID规则,x6的ID不适用,另外,提个bug,修改ID后撤销会报错 |
|
加一 我也遇到了 |
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. |
希望可以有api去更新节点的id,类似这样的:node.setId(newId) / cell.updateId(newId)
变更后的节点 相关的连线的id 也会自动变更
The text was updated successfully, but these errors were encountered: