Questions tagged [noflo]

NoFlo is a JavaScript implementation of Flow-Based Programming (FBP), a specific type of dataflow programming, for Node.js and browser.

78 questions
0
votes
1 answer

Can noflo.js be used in a browser?

I'd like to use noflo.js's workflow co-ordination in a browser application. Is that possible? If it's not possible, my bonus question is what is a workflow co-ordination library that does work in the browser, and allows external (i.e. not code)…
Marcin
  • 48,559
  • 18
  • 128
  • 201
0
votes
3 answers

Viability of running noflo.js in another javascript engine (not node.js platform)

We're evaluating noflo to be executed on an embedded linux box using an simple javascript engine, being an interpreter (no JIT). In our case, the Node.js engine (with embedded V8 engine) might be too resource intensive. The immediate question is…
0
votes
2 answers

How to find component dependencies in noflo

Noflo seems to magically find components as long as they are installed. For example, this one: # Read a file 'package.json' -> IN Read(ReadFile) # Split the file contents by newlines Read() OUT -> IN Split(SplitStr) # Count the packets Split() OUT…
Johan
  • 660
  • 1
  • 6
  • 13
0
votes
1 answer

noflo components not showing up

I am trying to get started with NoFlo on Windows. After following these instructions: http://flowhub.io/documentation/getting-started-node/ I was able to start a noflo.js runtime. However, when trying to create my first graph, I can only see some…
Johan
  • 660
  • 1
  • 6
  • 13
0
votes
1 answer

Example using polymer noflo-ui connecting to a websocket

I need to connect my polymer component, which uses noflo-ui to a websocket server. Does anyone know or have any examples.
Jojo1311
  • 11
  • 1
0
votes
1 answer

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…
jsnelgro
  • 137
  • 2
  • 11
0
votes
1 answer

noflo like expressjs middleware

I'm new in noflo and I'd like to use it like expressjs middleware. Each middleware will be separate noflo graph, which admin can change. Is reasonable to use noflo like middleware and if yes how to convert function "registerUser" to noflo graph?…
0
votes
1 answer

Optional synchronization of IP:s in NoFlo component

I am writing a component that has one required IP and three optional IPs. The catch is that even though the three latter IPs are optional, at least one of them is required. It looks something like this: @inPorts.add 'search_term', new noflo.InPort…
Jonas.z
  • 415
  • 4
  • 18
0
votes
1 answer

noflo network emits start and end events multiple times

I have a simple graph below. It is a math/Add component with two numeric inputs which has its output connected to a component that just prints what it receives. I am new to noflo and I expected to see the start and end events just once, but instead…
akonsu
  • 28,824
  • 33
  • 119
  • 194
0
votes
1 answer

NoFlo Error: TypeError: Object # has no method 'isAddressable'

I recently started getting the errors: TypeError: Object # has no method 'isAddressable' TypeError: Object # has no method 'isAddressable' I am creating the ports on my components like: this.inPorts.in = new noflo.Port();
Hayes
  • 848
  • 4
  • 10
0
votes
1 answer

How does a single threaded engine such as noflo implement flow based programming?

Paul Morrison says here the core concept of FBP is of multiple component processes running asynchronously, communicating by means of streams of data chunks which run across what are now called bounded buffers. So, how does a single threaded…
Graham Chiu
  • 4,856
  • 1
  • 23
  • 41
0
votes
2 answers

How to extend NoFlo-Ui with group selection

I'm trying to add functionality to the noflo ui, I'd like to be able to select groups and display a panel showing the group name and description. (The panel would show up in the same place as the help panel.) I'm trying to do this as the first step…
cwohlman
  • 763
  • 6
  • 21
0
votes
1 answer

How to debug noflo-nodejs

How do I start noflo-nodejs with debugging enabled so that I can debug using node-inspector? I've tried adding the --debug-brk option when calling noflo-nodejs.cmd I've also tried calling node "node_modules\noflo-nodejs\bin\noflo-nodejs" --debug-brk
cwohlman
  • 763
  • 6
  • 21
0
votes
1 answer

How can graphs be exposed as components and used in NoFlo UI

I have some custom NoFlo components and graphs in a NoFlo node.js-based project that I'd like to be able to use in the NoFlo UI. In the NoFlo UI, I'm able to search for and use the custom components without a problem, but the graphs aren't appearing…
0
votes
1 answer

Syntax Error in noflo example

The NoFlo Documentation has a section titled "Defining your first graph" and it states that making a directory, defining a graph in that directory and then calling noflo on that graph should execute successfully. However, in my case I get a syntax…
Terrence Brannon
  • 4,760
  • 7
  • 42
  • 61