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

How do I run a single node when it's already added to a graph? #764

Closed
oneWalker opened this issue Dec 25, 2024 · 4 comments
Closed

How do I run a single node when it's already added to a graph? #764

oneWalker opened this issue Dec 25, 2024 · 4 comments

Comments

@oneWalker
Copy link

The question is the title, how to trigger a single Node?

@guidorietbroek
Copy link

This section is for issues.

You should run nodes depending on the edges. Beginnen with START and ending with END.

@oneWalker
Copy link
Author

This section is for issues.

You should run nodes depending on the edges. Beginnen with START and ending with END.

single node is not the whole graph. There are two concepts.

Its the whole graph that beignning with STAT and endging with END, not single node.

@jacoblee93
Copy link
Collaborator

You can do:

await graph.nodes[nodeName].invoke({});

This is not yet documented, will close the issue when it is!

@oneWalker
Copy link
Author

oneWalker commented Dec 31, 2024

You can do:

await graph.nodes[nodeName].invoke({});

This is not yet documented, will close the issue when it is!

It works, and thanks a lot for making my codes more clean.
I really appreciate your work on the great library.

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

No branches or pull requests

3 participants