Frontend API

export class Component

A component is something close to the notion of Class in object-oriented programming. When you “instantiate” it, you get a Node.

On the UI point of view, the set of components is the library of the different kind of nodes the user can use in order to describes her process. So, each component has a specific behavior.

A component is a concept of Flow-Based Programming and its fields are imposed by the FBP.

On the backend, there is a library that contains all the components a given workspace can use. This library is in resources/WebUIComponents

Created by antoine on 09/06/17.

getInportsAsstringArray (): Array

Returns the inports of the node formatted as an array of string.

getOutportsAsstringArray (): Array

Returns the outports of the node formatted as an array of string.

stringArrayFromPortArray(array: Array): Array

Transform an Array into an Array. The new array will only contain the names of the ports, not the whole attributes of the Ports.