You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I like your software and tried to use it. I introduced a drag and drop feature. Just a frame with a folder -tree. The files in the folder-tree may be dragged into the NodeEditor and appear as nodes immediately. This works fine, but I tried to add the edges as soon as they are connected between the nodes, I expected it will be possible to accumulate the nodes and edges step by step and eventually save the json structure of nodes and edges in the backend. I ran into trouble because onConnect is never triggered. Eventually I found out it is hardcoded onConnect=useSocketConnect() in NodeGraphEditor. So I never get anything in my components. Is there anything you provided to store the edges as well in a structure or to get some event from the hook onConnect?
Hi,
I like your software and tried to use it. I introduced a drag and drop feature. Just a frame with a folder -tree. The files in the folder-tree may be dragged into the NodeEditor and appear as nodes immediately. This works fine, but I tried to add the edges as soon as they are connected between the nodes, I expected it will be possible to accumulate the nodes and edges step by step and eventually save the json structure of nodes and edges in the backend. I ran into trouble because onConnect is never triggered. Eventually I found out it is hardcoded onConnect=useSocketConnect() in NodeGraphEditor. So I never get anything in my components. Is there anything you provided to store the edges as well in a structure or to get some event from the hook onConnect?
I can add nodes, but I can not add edges.
const TheNodeEditor = () => {
.
.
.
onNodeDragStop={onNodeDragStop}
works, but
onConnect={onConnect}
does not.
Any clue.
Thank you for your help in advance.
Greetings from Munich
Peter
The text was updated successfully, but these errors were encountered: