feat: set the edge as the data source to achieve two-way linkage betw… (#1299)

### What problem does this PR solve?

feat: set the edge as the data source to achieve two-way linkage between
the edge and the to field. #918

### Type of change

- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
balibabu
2024-06-27 18:09:02 +08:00
committed by GitHub
parent 5a1e01d96f
commit 840e921e96
5 changed files with 49 additions and 41 deletions

View File

@ -169,7 +169,7 @@ export const useWatchGraphChange = () => {
const edges = useGraphStore((state) => state.edges);
useDebounceEffect(
() => {
console.info('useDebounceEffect');
// console.info('useDebounceEffect');
},
[nodes, edges],
{