问题标签 [noflo]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
1504 浏览

java - Pentaho Kettle 用于基于流的编程

Pentaho Data Integration aka Kettle 是否适合基于流的编程 FBP?

Kettle 是一个 ETL(提取、转换和加载)工具,基于FBP 概念

用户定义的 Java 类步骤并有一个SDK,因此您可以扩展 Kettle 并将Kettle 与 Java Web 应用程序集成。

是否可以仅使用带有自定义插件的 Kettle 构建 Web 应用程序?

值得为 Web 应用程序编写自定义插件吗?

用于 Web 开发的 Kettle 中缺少哪些步骤?

我应该去noflojs并离开Java吗?

JavaFBP是 FBP 的 java 实现。我可以使用 JavaFBP 构建一个组件,例如读取 Excel 文件。但是这个组件已经存在于 Kettle 中!

我的目的是做一些研究并构建一个原型而不是真正的应用程序。

0 投票
1 回答
261 浏览

node.js - 在 Windows 中使用 NodeJS 运行 NofloJS

按照 NoflowJS 的说法,它是 JavaScript 的可视化编程接口。我陷入了这种语法:

我想要 Windows 操作系统的语法。链接到 NofloJS:http ://noflojs.org/documentation/

还推荐一些最好的 JavaScript 可视化编程。

0 投票
1 回答
171 浏览

node.js - 尝试列出 noflo 节点模块会导致语法错误

我正在关注 有关如何启动和运行 NoFlo的文档。就在“定义你的第一个图表”部分之前,有一行说我可以通过键入来查看已安装组件的列表

但是,这样做会导致下面的堆栈回溯。noflo 讨厌的程序的前几行是:

shell会话的记录如下

tbrannon@tbrannon0:~/Documents/Programming/noflo/my-noflo-example-app$ ./node_modules/.bin/noflo list 。

/usr/local/g7/home/tbrannon/Documents/Programming/noflo/my-noflo-example-app/node_modules/noflo/src/components/Graph.coffee:1(函数(exports,require,module,__filename,__dirname ) { if typeof proces ^^^^^^ SyntaxError: Unexpected token typeof at Module._compile (module.js:439:25) at Object.Module._extensions..js (module.js:474:10) at Module。加载 (module.js:356:32) 在 Function.Module._load (module.js:312:12) 在 Module.require (module.js:364:17) 在 require (module.js:380:17) 在ComponentLoader.load (/usr/local/g7/home/tbrannon/Documents/Programming/noflo/my-noflo-example-app/node_modules/noflo/lib/ComponentLoader.js:127:26) 在/usr/local/g7 /home/tbrannon/Documents/Programming/noflo/my-noflo-example-app/node_modules/noflo/bin/noflo.js:115:36 在功能。。每个。.forEach (/usr/local/g7/home/tbrannon/Documents/Programming/noflo/my-noflo-example-app/node_modules/noflo/node_modules/underscore/underscore.js:87:22) 在/usr/local/ g7/home/tbrannon/Documents/Programming/noflo/my-noflo-example-app/node_modules/noflo/bin/noflo.js:113:18 在 /usr/local/g7/home/tbrannon/Documents/Programming/noflo /my-noflo-example-app/node_modules/noflo/lib/nodejs/ComponentLoader.js:132:16 在 /usr/local/g7/home/tbrannon/Documents/Programming/noflo/my-noflo-example-app/ node_modules/noflo/node_modules/underscore/underscore.js:758:21 在 /usr/local/g7/home/tbrannon/Documents/Programming/noflo/my-noflo-example-app/node_modules/noflo/lib/nodejs/ComponentLoader .js:152:18 在 /usr/local/g7/home/tbrannon/Documents/Programming/noflo/my-noflo-example-app/node_modules/noflo/lib/nodejs/ComponentLoader.js:39:16 在 /usr/local/g7/home/tbrannon/Documents/Programming/noflo/my-noflo-example-app/node_modules/noflo/node_modules/underscore/underscore.js:758:21 在 ComponentLoader.getModuleComponents (/usr/ local/g7/home/tbrannon/Documents/Programming/noflo/my-noflo-example-app/node_modules/noflo/lib/nodejs/ComponentLoader.js:61:16) 在 /usr/local/g7/home/tbrannon/文档/Programming/noflo/my-noflo-example-app/node_modules/noflo/lib/nodejs/ComponentLoader.js:146:22 在 /usr/local/g7/home/tbrannon/Documents/Programming/noflo/my-noflo -example-app/node_modules/noflo/node_modules/read-installed/read-installed.js:118:5 在 /usr/local/g7/home/tbrannon/Documents/Programming/noflo/my-noflo-example-app/ node_modules/noflo/node_modules/read-installed/read-installed.js:234:14 在 cb (/usr/local/g7/home/tbrannon/Documents/Programming/noflo/my-noflo-example-app/node_modules/noflo/node_modules/read-installed/node_modules/slide/lib/async-map.js :48:11) 在 /usr/local/g7/home/tbrannon/Documents/Programming/noflo/my-noflo-example-app/node_modules/noflo/node_modules/read-installed/read-installed.js:234:14在 cb (/usr/local/g7/home/tbrannon/Documents/Programming/noflo/my-noflo-example-app/node_modules/noflo/node_modules/read-installed/node_modules/slide/lib/async-map.js: 48:11)在 /usr/local/g7/home/tbrannon/Documents/Programming/noflo/my-noflo-example-app/node_modules/noflo/node_modules/read-installed/read-installed.js:234:14 在cb (/usr/local/g7/home/tbrannon/Documents/Programming/noflo/my-noflo-example-app/node_modules/noflo/node_modules/read-installed/node_modules/slide/lib/async-map.js:48 :11) 在 /usr/local/g7/home/tbrannon/Documents/Programming/noflo/my-noflo-example-app/node_modules/noflo/node_modules/read-installed/read-installed.js:234:14 在 cb ( /usr/local/g7/home/tbrannon/Documents/Programming/noflo/my-noflo-example-app/node_modules/noflo/node_modules/read-installed/node_modules/slide/lib/async-map.js:48:11 ) 在 /usr/local/g7/home/tbrannon/Documents/Programming/noflo/my-noflo-example-app/node_modules/noflo/node_modules/read-installed/read-installed.js:234:14 在 cb (/ usr/local/g7/home/tbrannon/Documents/Programming/noflo/my-noflo-example-app/node_modules/noflo/node_modules/read-installed/node_modules/slide/lib/async-map.js:48:11)在/usr/local/g7/home/tbrannon/Documents/Programming/noflo/my-noflo-example-app/node_modules/noflo/node_modules/read-installed/read-installed.js:234:14 在 cb (/usr/local/g7/home/tbrannon/Documents/Programming/noflo/my-noflo-example-app/node_modules/noflo/node_modules/read-installed/node_modules/slide/lib/async-map.js :48:11) 在 /usr/local/g7/home/tbrannon/Documents/Programming/noflo/my-noflo-example-app/node_modules/noflo/node_modules/read-installed/read-installed.js:234:14在 asyncMap (/usr/local/g7/home/tbrannon/Documents/Programming/noflo/my-noflo-example-app/node_modules/noflo/node_modules/read-installed/node_modules/slide/lib/async-map.js: 27:18)接下来(/usr/local/g7/home/tbrannon/Documents/Programming/noflo/my-noflo-example-app/node_modules/noflo/node_modules/read-installed/read-installed.js:200: 5) 在 /usr/local/g7/home/tbrannon/Documents/Programming/noflo/my-noflo-example-app/node_modules/noflo/node_modules/read-installed/read-installed.js:157:7 在 LOOP ( fs.js:1356:14) 在 process._tickCallback (node.js:415:13)

tbrannon@tbrannon0:~/Documents/Programming/noflo/my-noflo-example-app$

0 投票
1 回答
405 浏览

node.js - noflo 示例中的语法错误

NoFlo文档有一个标题为“定义你的第一个图”的部分,它指出创建一个目录,在该目录中定义一个图,然后调用noflo 该图应该成功执行。

但是,就我而言,我收到语法错误:

0 投票
1 回答
580 浏览

noflo - NoFlo - 如何启动图形/网络

Pure Data 有一个loadbang组件,它执行它所说的:当图形开始运行时发出一声巨响。NoFlo在输入被击中core/Kick之前不会发送其数据IN,并且您无法在 noflo-ui 中保存 bang IIP。

0 投票
1 回答
202 浏览

noflo - When do the events emitted by Port get emitted? And what do they mean?

As far as I can tell there are 7 events dispatched by a NoFlo port:

attach, connect, begingroup, data, endgroup, disconnect, detach

To me some of these events sound very similar such as attach + connect, and disconnect + detach. What is the difference?

What does begingroup and endgroup mean?

When do these events get emitted and when are they generally used?

I've seen the documentation at: http://noflojs.org/documentation/components/#portevents

Would my assumption be correct to assume that attach and detach are for handling NoFlo UI cases eg changing the state of the components look?

Another assumption would be that connect gets fired every time before data is sent? Then data gets fired. Then disconnect? Seems a bit odd to me...

I'm completely in the dark when it comes to groups.

0 投票
1 回答
123 浏览

noflo - 端口的默认值?

是否可以通过 Coffee/Javascript 为端口设置默认值或 IIP(初始信息包)?

通常最好为端口设置一个默认值,以便有一些初始数据开始。

0 投票
1 回答
240 浏览

noflo - 图如何作为组件公开并在 NoFlo UI 中使用

我希望能够在 NoFlo UI 中使用基于 NoFlo node.js 的项目中的一些自定义 NoFlo 组件和图表。

在 NoFlo UI 中,我可以毫无问题地搜索和使用自定义组件,但图表没有出现在组件搜索中。

我在现有的 NoFlo 库项目中寻找示例。以下是一些包含自定义组件和图表的库项目示例。我将两者都安装到了我的项目中,在这两种情况下,我都能看到组件,但看不到 NoFlo UI 中的图表:

我应该能够将这些图表用作 UI 中的组件吗?我需要以其他方式暴露它们吗?

0 投票
1 回答
142 浏览

node-inspector - 如何调试 noflo-nodejs

如何在启用调试的情况下启动 noflo-nodejs,以便我可以使用节点检查器进行调试?

我尝试--debug-brk在调用时添加选项noflo-nodejs.cmd

我也试过打电话node "node_modules\noflo-nodejs\bin\noflo-nodejs" --debug-brk

0 投票
2 回答
155 浏览

javascript - 如何通过组选择扩展 NoFlo-Ui

我正在尝试向 noflo ui 添加功能,我希望能够选择组并显示一个显示组名称和描述的面板。(该面板将显示在与帮助面板相同的位置。)我试图将其作为扩展组范例的第一步。(我希望能够添加更多组元数据并允许用户编辑该元数据。)

问题

我找不到在哪里放置所选组集合的钩子。(或选定的组属性)。我已经查看了选定节点集合的实现方式,但是 selectedNodes 属性之间的theGraph/thegraph-editor.html连接连接到节点检查器的节点属性(在elements/noflo-node-inspector.htmlelements/noflo-context.html

我查看了application/fbpindex.html 中的脚本,但似乎没有一个与 selected nodes 属性相对应。

问题

如何在 中创建属性并在中theGraph查看该属性noflo-ui