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
In the Node Editor, suppose we have node A and node B, If I connect node A's output to node B's input, and then connect node B's output back to node A's input, it creates a loop that causes the entire application to hang. Is there a way to prevent this in the Dear PyGui node editor. We have to delink the previous connection if there any reverse link case.
Example:
The text was updated successfully, but these errors were encountered:
If I remember correctly, the links are created by your own code, not by DPG. That's where you can check if the new link creates a loop and delete old links as necessary. Take a look at the node_editor's callback argument.
In the Node Editor, suppose we have node A and node B, If I connect node A's output to node B's input, and then connect node B's output back to node A's input, it creates a loop that causes the entire application to hang. Is there a way to prevent this in the Dear PyGui node editor. We have to delink the previous connection if there any reverse link case.
Example:

The text was updated successfully, but these errors were encountered: