Closed leissler closed 1 year ago
Changing the GraphModelEditor's OpenGraph method as follows seems to have done the trick:
And had to introduce a new public property in GraphWindow class:
However, I lack experience with UIToolkit and Unity UI/Editor in general, so I have no idea if this is clean or hacky. Could produce anything, from endless mem leaks to demons spawning out of your PC.
Fixed in 0.3.1
With a GraphWindow open and double-clicking on a GraphModel-asset that is not currently shown (or alternatively clicking the open button in the Unity-Inspector), the new GraphModel-asset is not opened in the existing window. Even though there is a "Load" button in the GraphView itself, this would be expected behavior.