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:
Type | Description |
---|---|
Entity Nodes | Entity nodes are representations of entities in the level. The ports on the nodes are defined in the LUA script and call events in the entity, or are activated from within, to output something. |
Component Nodes | Component nodes are abstract nodes that perform a specific behavior. Component nodes can have a target entity set to perform actions on. |
The layouts of Component and Entity nodes are similar. A node consists of two sides, an input and an output. The information transfer of the nodes is handled through ports. Ports can send or receive information. On the left side of a node, you will find the input ports that are used for connecting incoming links. Links from other nodes are connected to these ports. The ports on the right side of the node are called output ports and are activated depending on the behavior 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 their color. A port can have one of six different data types:
Each type of port has a specific color assigned to it, to help users to quickly determine the data type provided or accepted by the port.
The colors are:
Color | Data Type |
---|---|
Green | Any |
Red | Integer |
Blue | Boolean |
White | Float |
Turquoise | String |
Yellow | Vec3 |