Default Nodes

@bluepjs coming with default set of Nodes. New Nodes can be added be Developers

Note

Current list of Nodes is small cuz was developed “on demand” and doesn’t contains all basic operations with different types.

New Nodes will be updated in next versions.

Booleans

And (A && B)

boolean and

Modifier node with multiple inputs.

Set output “Result” as logical AND of inputs.

Or (A || B)

boolean or

Modifier node with multiple inputs.

Set output “Result” as logical OR of inputs.

Not (!A)

boolean not

Modifier node.

Set output “Result” as logical NOT of input.

Equal (A === B)

boolean eq

Modifier node.

Set output “Result” as A === B

Numbers

Equal (A === B)

number eq

Modifier node.

Set output “Result” as A === B

Is even

number is even

Modifier node.

Set output “Result” to true if input number is even.

Greater or equal then

number is greater or equal then

Modifier node.

Set output “Result” to true if input A is greater then input B (or equal if boolean input is true).

To String

number to string

Modifier node.

Stringify input number.

Plus (A + B)

number plus

Modifier node with multiple inputs.

Set output “Result” as summ of inputs

Strings

Append (A + B)

string append

Modifier node with multiple inputs.

Set output “Result” as united inputs.

Datetime

Note

@bluepjs uses dayjs (website) library to manage date/time/datetime.

Create

datetime create

Modifier node.

Creates basic/datetime object using numbers input.

Unwrap

datetime unwrap

Modifier node.

Unwrap basic/datetime object into numbers.

To String

datetime to string

Modifier node.

Formats basic/datetime into string by format template.

Note

Check dayjs format docs.

Now

datetime now

Executable node.

Created basic/datetime output with current datetime.

Undefined

Is undefined

is undefined

Modifier node.

Set “Result” output to true if input is undefined.

Note

javascript: typeof input === 'undefined'

Branches and execution flow

For

for loop

Executable node.

For loop to iterate by ‘from-to-step’

Each

each loop

Executable node.

Each loop to iterate arrays.

If

if/else node

Executable node.

If/else node.

Switch .. case

switch .. case

Executable node with multiple inputs/outputs.

Switch .. case node.

Call

Call Node example

Executable node.

Autogenerated by IDE. Can’t be added/removed manualy.

Return

Return Node example

Executable node.

Can be added for Functions with outputs.

Wait

wait

Executable node.

Pause execution flow for ms input.

Function

function example

Dynamic executable node.

Autogenerated by IDE nodes for each available Function.

Note

Colorize function described in extended integration example

Others

Console log

console log

Executable node.

Prints message to Vm console.

Enums

Enums nodes are autogenerated by IDE for each enum

Equal

enum equal

Modifier node.

Check if inputs are same.

To String

enum to string

Modifier node.

Stringify input enum value.

Structs

Structs nodes are autogenerated by IDE for each struct.

Note

Struct on images described in extended integration example.

Pack

struct pack

Modifier node.

Creates struct by fields.

Unpack

struct unpack

Modifier node.

Unpack struct by fields.

To Object

struct to object

Modifier node.

Convert type from struct type to basic/object (javascript object)

From Object

struct from object

Modifier node.

Convert type from basic/object (javascript object) to struct type.

Function inputs/outputs/variables, class properties

For any Function (simple function, event function, class constructor or method) there are autogenerated by IDE getters and setters Nodes.

Generating depends on variable context and access for class properties.

Get

Get Function variable:

get function variable

Get Class property:

get class property

Getter node.

Get required variable/property. For Classes takes object of class to modify.

Set

Set Function variable:

set function variable

Set Class property:

set class property

Executable node.

Set required variable/property. For Classes takes object of class to modify.

Classes

Classes Nodes are autogenerated by Classes and Actors.

This

class this

Getter node.

Exists only in Class methods and constructor blueprints. Returns “this” pointer of object.

Cast to

class this

Modifier node.

Exists only when some Classes Inheritance is found. Convers object type from parent type to child type.

New

class new

Executalbe dynamic node.

Exists only when some Classes exists. Creates new object of class. Node inputs are autogenerated by selected constructor inputs.

Constructor

class constructor

Executalbe dynamic node.

Exists only when some Classes Inheritance exists in child classes constructors. Allows call (or not) parent class constructors.

Note

Example image demostractes “Demo class 2” constructor. “Demo class 2” defined as extends from “Demo Class 1”.

Method

class method

Executalbe dynamic node.

Autogenerated by IDE for Classes/Actors methods with accesibility checking (public/protected/private/…). Takes object to use as input.

Note

Colorize function described in extended integration example