antonioru/beautiful-react-diagrams

useSchema should export a "disconnect" function to programmatically disconnect two linked nodes

Open

#31 创建于 2020年10月19日

在 GitHub 查看
 (4 评论) (0 反应) (0 负责人)JavaScript (172 fork)github user discovery
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.

贡献者指南