Sharuk Ahmed
Sharuk Ahmed

Reputation: 855

NoFlo graph.json / graph.fbp to JavaScript file

I have a noflo graph.json.

My basic use case is

  1. Generate graph.json using noflo-ui
  2. Convert graph.json into a javascript(or node module) file using any means possible.
  3. run the file in my own node express application.

I want to see the final compiled code in javascript. I have been searching the documentation and source code. I just couldn't locate it.

Upvotes: 0

Views: 127

Answers (1)

bergie
bergie

Reputation: 930

NoFlo doesn't compile graphs to JavaScript, but instead has a runtime that wires the graph's components up on demand.

If you want to expose the graph as a JavaScript function, you can use noflo.asCallback.

Upvotes: 2

Related Questions