antonioru/beautiful-react-diagrams

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

Open

#31 aberto em 19 de out. de 2020

Ver no GitHub
 (4 comments) (0 reactions) (0 assignees)JavaScript (172 forks)github user discovery
enhancementfeature requestgood first issue

Métricas do repositório

Stars
 (2.727 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

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.

Guia do colaborador