Search code examples
noflo

Running client and server modules in Noflo


I have a noflo Node.js runtime set up with a hosted Noflo-UI. Is there any way to run client-side modules in the same graph as the Node.js runtime? I need to upload an image file, send it to the server, then send it back and display it in the preview window. Thank you very much for any input!


Solution

  • You cannot run them in the same graph, but you can use a noflo-nodejs runtime as a component in the noflo-browser one. You need to add noflo-runtime as a dependency in your component.json (for browser) and declare the runtime. Example