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.
- Returns:
Array<string>
— the set of inports of this component
getOutportsAsstringArray (): Array
Returns the outports of the node formatted as an array of string.
- Returns:
Array<string>
— the set of outports of this component
stringArrayFromPortArray(array: Array): Array
Transform an Array
- Parameters:
array
— the array of port to transform - Returns:
Array<string>
— an array containing each given port’s public name