Flow 3.0

Wed Jul 05 2017 09:55:33 GMT+0200 (Central European Summer Time), Peter Širka

Total.js Flow v3.0

Today I'm very happy to announce that I have published a new release of Total.js Flow. This version brings a lot of new features, improvements and new components. Total.js Flow is a really great tool for everyone.

Multiple inputs

The big change in this version is the support of multiple inputs. The inputs can be changed dynamically in any component.

Multiple inputs

component.on('<input-number>', function(message) {
    // message as specified above in 'data' event
    // input 0 to event '0' and so on
});

// Example for e.g. input 1
component.on('0', function(message) {
    // processing
});

// Example for ![multipleinputs.jpg](/download/1707050814T1892x.jpg)e.g. input 3
component.on('2', function(message) {
    // processing
});

// Example for all inputs
component.on('data', function(message) {
    // this event processes data from any input
});

Message identificator

Each received data are wrapped into messages and each message has its own identificator stored in message.id variable. ID is generated by Flow message counter, the counter is incremented if new instance of FlowMessage is created and not sent.

Message Counter

Added global variables

Variables can contain different values. The syntax is same as Total.js configuration/resource file.

Reading:

// Reads a value from variables
console.log(instance.variable('secret'));

// or
console.log(FLOW.variable('secret'));

// or
console.log(FLOW.variables.secret);

Event:

instance.on('variables', function(variables) {
    // variables have been modified
    // variables is key/value object
});

Flow Global Variables

Improved designer

I have improved designer by adding new features like:

  • copy & paste component with all outputs
  • improved export/import designer
  • re-order tabs
  • duplicate tabs
  • added drag & drop components in database form
  • faster moving components with shift key

New Tools

New components

  • Consumption measures CPU and Memory consumption of the current Flow instance (only for Linux servers)
  • Monitor: CPU (only for Linux servers)
  • Monitor: Memory (only for Linux servers)
  • Monitor: Disk (only for Linux servers)
  • Monitor: Network (only for Linux servers)
  • Monitor: Process (only for Linux servers)
  • Monitor: SuperAdmin applications
  • Dashboard Analytics for new Dashboard
  • Merge to Object

Modified components

  • Merge supports merging by message.id and supports timeout
  • MQTT components
  • All Flowboard components

What awaits us in Flow?

I want to add a support for Node Cluster in the next version, so we will see.

Jude Sackville - thank you for sponsoring this version.


New Flow video tutorial: Monitor your Linux server

https://blog.totaljs.com/blogs/tutorials/20170705-flow-video-tutorial-monitor-your-linux-server/


Tags

Follow us

Latest blogs
Total.js Wiki v2
Fri Jan 04 2019 22:15:01 GMT+0100 (Central European Standard Time)
Total Year 2018
Thu Jan 03 2019 21:14:00 GMT+0100 (Central European Standard Time)
Total.js Code Editor v1
Fri Dec 07 2018 22:55:13 GMT+0100 (Central European Standard Time)
New release: Total.js v3.1
Fri Dec 07 2018 11:41:40 GMT+0100 (Central European Standard Time)
New CDN for Flow + Dashboard + Flowboard
Sun Nov 04 2018 09:05:03 GMT+0100 (Central European Standard Time)

Latest comments
Nice tip
Mauro Junior
Thu Sep 20 2018 21:41:02 GMT+0200 (Central European Summer Time)
Not only for Total.js. You can communicate with different websocket servers.
Peter Širka
Mon Apr 23 2018 20:08:20 GMT+0200 (Central European Summer Time)
Marko: you need to create a buffer with this codepage and write byte-to-byte string. I recommend ...
Peter Širka
Mon Apr 23 2018 20:06:21 GMT+0200 (Central European Summer Time)
Is WEBSOCKETCLIENT only for internal ws connections between totaljs apps?
Stelios Stephanua
Fri Mar 16 2018 06:04:22 GMT+0100 (Central European Standard Time)
Total.js is amazing! ;)
Leonardo Hessel
Tue Dec 19 2017 19:51:15 GMT+0100 (Central European Standard Time)

Pixabay


Read more

Total.js Wiki v2

Products: I have released a new version of Total.js Wiki. New version brings new improvements.

Fri Jan 04 2019 22:15:01 GMT+0100 (Central European Standard Time)
Total Year 2018

Business: Last year was perfect for Total.js platform. Total.js platform grows up and it has great results.

Thu Jan 03 2019 21:14:00 GMT+0100 (Central European Standard Time)
Total.js Code Editor v1

Products: Try our real-time collaboration tool for Total Developers. Code Editor offers great features for development.

Fri Dec 07 2018 22:55:13 GMT+0100 (Central European Standard Time)
New release: Total.js v3.1

News: I have released a new version of Total.js with bug fixes and with small improvements.

Fri Dec 07 2018 11:41:40 GMT+0100 (Central European Standard Time)
New CDN for Flow + Dashboard + Flowboard

News: I have changed CDN for Flow + Dashboard + Flowboard components to KeyCDN.

Sun Nov 04 2018 09:05:03 GMT+0100 (Central European Standard Time)
OpenPlatform v3

News: I have published a new version of OpenPlatform. New, better, faster, more secure and more simpler.

Mon Oct 15 2018 10:11:07 GMT+0200 (Central European Summer Time)