A node is the representation of an entity or an action inside the Flow-Graph.
There are two categories of nodes: Entity nodes and component nodes. An entity node can do everything that a normal entity can do, only that its behaviour is controlled through the graph it is used in.
Component nodes are nodes which can perform special functions, but are not related directly to any entity. Most component nodes however use specific entities to perform their behaviour
On the left side of a node you find the input ports used to connect incoming links. Links from other nodes are connected into these ports. The ports on the right side of the node are called output ports and are activated depending on the behaviour of the node.
Ports are visualized as small arrows on both sides of the nodes. Ports can have different data types, which can be determined by the colour it has. A port can have one of six different types:
It is used to store positions, angles or colour values.
Values whose type doesn’t match the input port data type will be automatically converted to match the type of the port connected to, if possible. Any output port can be connected to any input port, no matter what type. A integer with the value ‘1‘can be fed in a Boolean input port for example and will be converted to a ‘true’ to match the data type of the port.
For some component nodes there is a special input port at the top of the entity which is used to set the target entity of the node.
Green |
Any |
Red |
Integer |
Blue |
Boolean |
White |
Float |
Turquoise |
String |
Purple |
Vec3 |