antonioru/beautiful-react-diagrams
在 GitHub 查看useSchema should export a "disconnect" function to programmatically disconnect two linked nodes
Open
#31 创建于 2020年10月19日
enhancementfeature requestgood first issue
仓库指标
- Star
- (2,727 star)
- PR 合并指标
- (30 天内没有已合并 PR)
描述
Given that useSchema currently exports a connect function to connects two different nodes and a removeNode function to remove a given node, it should also export a disconnect function to programmatically disconnect two linked nodes without removing them.
At the moment the only way to do so, is to change the schema directly.