Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question] Node execution way #143

Open
shawwillen opened this issue Oct 28, 2024 · 4 comments
Open

[Question] Node execution way #143

shawwillen opened this issue Oct 28, 2024 · 4 comments
Assignees
Labels
question Further information is requested

Comments

@shawwillen
Copy link

I would like to ask: in the calculator example, the execution of a node is based on the change of its port value. However, is it possible to implement the same execution way as visual scripts in Unity or UE4 blueprints?

@shawwillen shawwillen added the question Further information is requested label Oct 28, 2024
@miroiu
Copy link
Owner

miroiu commented Oct 28, 2024

Yes, it is possible. Nodify is a controls library to help you build custom node-based editors, so it doesn’t enforce a specific approach to app logic. For example, take a look at the StateMachine example (specifically the StateMachine.Start method). This example demonstrates another way of traversing and executing nodes.

And... here's some shader editor I'm working on:

debugging

@shawwillen
Copy link
Author

Thank you, I will try something similar later.

@goudcode
Copy link

Yes, it is possible. Nodify is a controls library to help you build custom node-based editors, so it doesn’t enforce a specific approach to app logic. For example, take a look at the StateMachine example (specifically the StateMachine.Start method). This example demonstrates another way of traversing and executing nodes.

And... here's some shader editor I'm working on:

debugging debugging

In this example, how do you implement that animation over that connection line?

@miroiu
Copy link
Owner

miroiu commented Nov 25, 2024

Set IsAnimatingDirectionalArrows to true on the connection. I recommend you check out the Playground app, which demonstrates most of the features.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants