langgraph
langgraph copied to clipboard
Feat/Add @workflow.register_node decorator
Adding graph.register_node decorator for easily register a node to the workflow.
oh it's kinda convenient. Will defer to @nfcampos on the approval though
I'm not opposed to this as long as we can do it inside the existing add_node method
Hi there, I've tried to make it inside the add_node method.PLTAL It may looks a little bit tricky but this is the best way for me to make add_node as a decorator as well as thinking about the forward compatibility.
Any updates on this? Seems quite helpful