All Projects → noflo → polymer-noflo

noflo / polymer-noflo

Licence: other
Polymer Web Components wrapper for NoFlo

Programming Languages

HTML
75241 projects
coffeescript
4710 projects

Projects that are alternatives of or similar to polymer-noflo

noflo-polymer
Polymer components for NoFlo
Stars: ✭ 15 (+25%)
Mutual labels:  noflo, polymer-components
noflo-image
Image processing components for NoFlo.
Stars: ✭ 14 (+16.67%)
Mutual labels:  noflo
noflo-react
Facebook React components for NoFlo
Stars: ✭ 20 (+66.67%)
Mutual labels:  noflo
dataflow-noflo
DEPRECATED prototype. To see the current work:
Stars: ✭ 54 (+350%)
Mutual labels:  noflo
noflo-cad
CAD solid modelling components for NoFlo
Stars: ✭ 19 (+58.33%)
Mutual labels:  noflo
noflo-assembly
Industrial approach to writing NoFlo applications
Stars: ✭ 17 (+41.67%)
Mutual labels:  noflo
noflo-ui-server
DEPRECATED, see README
Stars: ✭ 62 (+416.67%)
Mutual labels:  noflo
noflo-canvas
Generative Canvas 2D drawing with NoFlo.
Stars: ✭ 18 (+50%)
Mutual labels:  noflo
noflo-graphviz
NoFlo visualization tools for GraphViz
Stars: ✭ 14 (+16.67%)
Mutual labels:  noflo
mapbox-gl
Polymer 2.0 custom element for mapbox-gl-js. Uses WebGL to render interactive maps from vector tiles and Mapbox styles - compatible with deck-gl.
Stars: ✭ 24 (+100%)
Mutual labels:  polymer-components
Noflo
Flow-based programming for JavaScript
Stars: ✭ 3,202 (+26583.33%)
Mutual labels:  noflo
c-flo
MsgFlo setup for programming the c-base space station
Stars: ✭ 21 (+75%)
Mutual labels:  noflo

NoFlo Web Components

This repository provides Polymer Web Components for running NoFlo flow-based programs on HTML pages.

Usage

To use the Polymer NoFlo components, you need to include Polymer and NoFlo on your page. The easiest way to do this is to utilize the combined build:

<script src="./browser/polymer-noflo.js"></script>

Once the script is loaded, you can enable Web Components with:

<script>
  require('components-polymer');
</script>

Now the NoFlo components (and other web components) can be used anywhere on the page!

Loading external graphs

The noflo-graph tag supports loading and launching NoFlo graphs loaded from external JSON definition files.

Make the component available on your pages with:

<link rel="import" href="noflo-graph.html">

Then you can use it as a HTML tag:

<noflo-graph src="touch-demo.json" root="/bergie-noflo"></noflo-graph>

Attributes:

  • src provides the URL from where the graph JSON file will be loaded via AJAX
  • root provides the root library from which NoFlo will start loading components

Additionally, inports of the graph will be available as attributes. For example, to send an IIP to the IN port of the ReadFile node, set the value as attribute readfile-in.

Running NoFlo graphs inline

The noflo-fbp tag support running NoFlo graphs from inline FBP language syntax.

Make the component available on your pages with:

<link rel="import" href="noflo-fbp.html">

The you can use it as a HTML tag:

<noflo-fbp root="/bergie-noflo">
  'Hello, world!' -> IN Display(Output)
</noflo-fbp>

Attributes:

  • root provides the root library from which NoFlo will start loading components

Development

You need a checkout of this repository, and the Grunt command-line runner. Grab it with:

$ npm install -g grunt-cli

You also need the NPM build dependencies of this library. Get them with:

$ npm install

Then you're ready build polymer-noflo with:

$ grunt build

The resulting JavaScript library will be placed in the browser directory under the repository.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].