Files
xod/docs/guide/linking-rules

title
title
Linking Rules

Linking Rules

To make behavior of XOD programs predictable there are some rules on how pins can be linked.

Outputs and inputs

Youre are not allowed to link two input pins, neither youre allowed to link two output pins. It doesnt makes much sense.

A link should always connect an output and an input.

If you want to mirror values, just create multiple links from an output pin.

Link fan out

An output can have an arbitrary number of links and an input can have no more than one incoming link.

Type matching

If an input and an output has same data type they may be linked as is.

However if they have different types they are only allowed to be linked if casting between their type is possible.

Once you start linking pins that are suitable for other end of the link are highlighted.

Color code

Pulse
Boolean
Number
String