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
1
vote
1 answer

add/remove components in noflo-ui version 0.18.0

I am running noflo-ui locally and trying to replace default set of components with my own set. This is very similar to the question add/remove components in noflo-ui, but provided answers are not correct for current version of noflo-ui. At least…
Timofey Chernousov
  • 1,284
  • 8
  • 12
1
vote
1 answer

NoFlo and Loading JSON Graphs

I am reviewing the possibility of using NoFlo as an Orchestration Engine. To keep a "Separation Of Concerns", and using NodeJS, I will basically create a RESTful API, using Express, that will have a series of POST and GET requests. This RESTFful API…
user2932053
1
vote
1 answer

NoFlo UI Components Suddenly Broken ... "TypeError: this.node.getTransformToElement is not a function"

Our NoFlo graph components have suddenly compressed themselves all into one uneditable box that says "WaitForward". See attached image. For a while, this was happening on every browser, except Opera, so I could go in there and update graphs. Then, a…
1
vote
1 answer

Running a JSON graph locally

I've been using Flowhub.io to do my development on the nodejs device. Now that the GUI-based design is done, I'm ready to take it offline and run the code via the command line. How would do I do this? I have the JSON file corresponding to the graph…
v33j
  • 103
  • 1
  • 6
1
vote
0 answers

noflo 0.5.13 spreadsheet example broken?

I am new to noflo and looking at examples in order to explore it. The spreadsheet example looked interesting but I couldn't make it run. First, it takes some time and manual debugging to identify missing components, not a big deal and I believe will…
mcku
  • 1,351
  • 12
  • 23
1
vote
1 answer

how to add a noflo chart/plot component

I have a time-series-style array of data I would like to pass into a noflo component which displays the data in a cart/graph/plot using the browser runtime and the flowhub ui. I've browsed through the component library and not found a relevant…
7yl4r
  • 4,788
  • 4
  • 34
  • 46
1
vote
2 answers

add/remove components in noflo-ui

I've cloned noflo-ui from github and am running locally but cannot figure out how to add/remove components from the noflo-search box. Ideally, I would like to remove all components from the search results and show only a the ones from my component…
7yl4r
  • 4,788
  • 4
  • 34
  • 46
1
vote
1 answer

Forward only a single group using the WirePattern helper when config.group is true

I'm trying to use the WirePattern helper to perform some synchronisation within my graph. I'm setting config.group to true so I can ensure that only packets received with the same group are collected and handled within this component. For the sake…
Robin Hawkes
  • 688
  • 8
  • 24
1
vote
2 answers

noflo how to save changes in noflo-ui at the server

i install node + noflo on my server and create a .fbp. now i start the ws server for the noflo-ui with node node_modules/.bin/noflo-nodejs --graph graphs/test1.fbp now i get an url for the ui. there i can make changes. but this changes are not…
yuki
  • 68
  • 7
1
vote
1 answer

noflo: Dynamic component loading - Component [name] not available with base [path]

I am getting the error: Component [name] not available with base [path] when trying to dynamically attach components to a network's ComponentLoader instance. var components = []; // This is populated with noflo.Component instances at runtime. var…
Hayes
  • 848
  • 4
  • 10
1
vote
1 answer

Noflo .fbp array initiallizer

I'm using noflo and am trying to send an array as an initiallizer. There doesn't seem to be a supported (or at least documented) way to do this. I'm currently using: '["Kicker"]' -> IN Nodes(strings/ParseJson) '{"in":"go!"}' -> IN…
cwohlman
  • 763
  • 6
  • 21
1
vote
1 answer

Error initializing noflo nodejs

I am getting the following error while trying to setup my node.js server. I am using the latest version of noflo and node.js. Is anyone else seeing this behaviour for NoFlo on Windows? Here is the command and…
Johan
  • 660
  • 1
  • 6
  • 13
1
vote
2 answers

NoFlo async components and data races

In NoFlo I often come across components like this: noflo = require 'noflo' class Foo extends noflo.AsyncComponent constructor: -> @inPorts = new noflo.InPorts main: datatype: 'int' description: 'Main async input' …
0
votes
1 answer

Is there something wrong with this noflo component?

This is my noflo component, HelloWorld.js - it just takes the string passed in and sends it out. const noflo = require('noflo'); exports.getComponent = () => { if (!input.hasData('in')) { return; } const c = new noflo.Component(); …
0
votes
1 answer

Simple example of noflo embedded in webpage for UI

Are there any complete examples of how noflo can be embedded in a webpage, including the hookup between noflo and the webpage UI components. For example, a simple noflo graph for; Date input for date of birth, using datepicker UI on the…
chumtoadafuq
  • 256
  • 5
  • 14