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
Great start on a flow editor! I came to to the project because I saw Ricardo Cabello using it for a shader editor for three. I'm trying out the library to build a UI for an in browser geometry modeler based on our C# library Elements.
Im wondering if there are currently built in methods to traverse the connected graph. I see linkedElement that enables me to build this. Just wondering if there was anything out of the box.
The text was updated successfully, but these errors were encountered:
hi @ikeough . I will update this week and rename some methods, for example: linkedElement to getLinkedElement() .
I can include a function to transverse the connections too.
Thanks @sunag. Also happy to help. It took me a little while to figure out that a link's outputElement was the start of the link and the inputElement was the end of the link. If I've got that right, then the last trick in traversal is that I don't know how to get from a node to its inputs/outputs to the links. The links have references to the nodes, but the nodes just get a collection of links that they are associated with and you have to match up the associated elements. Would be more straightforward if you could go node->output element->link->input element ->node->... Perhaps you can and I'm missing how to do it.
Great start on a flow editor! I came to to the project because I saw Ricardo Cabello using it for a shader editor for three. I'm trying out the library to build a UI for an in browser geometry modeler based on our C# library Elements.
Im wondering if there are currently built in methods to traverse the connected graph. I see
linkedElement
that enables me to build this. Just wondering if there was anything out of the box.The text was updated successfully, but these errors were encountered: