This page has no translation to 한국어 yet. The original English version is below. If you’d like to help, great! See how to translate a documentation page in the contribution guide.

Linking Rules

To make XOD programs behave predictably, there are some rules on how pins can be linked.

Outputs and inputs #

You’re not allowed to link two input pins, nor are you allowed to link two output pins. It doesn’t make much sense.

A link must 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, but an input can have no more than one incoming link.

Type matching #

If an input and an output have the same data type, they may be linked as is.

However, if they have different types, they can only be linked if the output type can be cast into the input type.

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

Color code #

Pulse
Boolean
Number
String

Found a typo or mistake? Want to improve the text? Edit this page on GitHub and open a pull request. If you have a complex proposal or you want to discuss the content, feel free to start a new thread on XOD forum.