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'm nearing completion on an app built with this great tool and am trying to clean up some loose ends (pun intended). I need to prevent any dangling links from being created.
I found the following snippet within the Simple Flow Example, which looked promising:
However, it appears to work only sometimes. If I repeatedly attempt to create dangling links, many are removed, but some remain. This happens quite frequently in my app and is replicable in the online demo linked above.
Screen.Recording.2024-01-23.at.8.04.09.PM.mov
I'm not even sure where to begin attempting to debug this. Open to suggestions.
The text was updated successfully, but these errors were encountered:
I am new to this library, can you tell me what kind of app did you made. if Possible, please share your github link for that app, that would be a great help for me.
I am new to this library, can you tell me what kind of app did you made. if Possible, please share your github link for that app, that would be a great help for me.
Unfortunately, it's a simple internal app and not available online. Also, I'm currently refactoring it to use ReactFlow. I kept having to work around ReactDiagrams bugs and eventually ran into one that I couldn't get around without rewriting a large part of the framework.
Since I'm sure someone will ask, I discovered that the event triggered on removing ports didn't contain information about the port on the other side of a connected port. This is because the framework had already internally deleted the connection. Therefor I had no way to propagate consistent state through my tree without either maintaining my own external state or refactoring vasts portions of ReactDiagram internals.
Seeing as how this project is old and not well maintained, I decided my best bet was to switch to a more modern and supported tool. Either way I was going to have to spend a bunch of time refactoring my app.
I'm nearing completion on an app built with this great tool and am trying to clean up some loose ends (pun intended). I need to prevent any dangling links from being created.
I found the following snippet within the Simple Flow Example, which looked promising:
However, it appears to work only sometimes. If I repeatedly attempt to create dangling links, many are removed, but some remain. This happens quite frequently in my app and is replicable in the online demo linked above.
Screen.Recording.2024-01-23.at.8.04.09.PM.mov
I'm not even sure where to begin attempting to debug this. Open to suggestions.
The text was updated successfully, but these errors were encountered: