antonioru/beautiful-react-diagrams
Voir sur GitHubuseSchema should export a "disconnect" function to programmatically disconnect two linked nodes
Open
#31 ouverte le 19 oct. 2020
enhancementfeature requestgood first issue
Métriques du dépôt
- Stars
- (2 727 stars)
- Métriques de merge PR
- (Aucune PR mergée en 30 j)
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.