We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
需求:节点A、节点B,节点A连线了节点B,如果有连线节点B删除的时候要带着节点A一起删除。 效果:我删除节点B的时候如何知道节点B是否被连线了?连线的源头又是哪个?
我删除节点B的时候如何知道节点B是否被连线了?连线的源头又是哪个?
看API好像没合适的方法。这个我从哪个方面去找呢
No response
The text was updated successfully, but these errors were encountered:
https://x6.antv.antgroup.com/api/mvc/model#getoutgoingedges
Sorry, something went wrong.
const edges = graph.model.getIncomingEdges(nodeB) for(let edge of edges){ let source =edge.getSourceCell()
}
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.
No branches or pull requests
Describe the feature you'd like to request
需求:节点A、节点B,节点A连线了节点B,如果有连线节点B删除的时候要带着节点A一起删除。
效果:我删除节点B的时候如何知道节点B是否被连线了?连线的源头又是哪个?
Describe the solution you'd like
我删除节点B的时候如何知道节点B是否被连线了?连线的源头又是哪个?
Describe alternatives you've considered
看API好像没合适的方法。这个我从哪个方面去找呢
Your Example Website or App
No response
Screenshots or Videos
No response
The text was updated successfully, but these errors were encountered: