OM# Documentation

Connections

The main procedure to set the value of a function or object box input is to connect it to another box’s output. This is how functions are composed, and visual programs are built in OM.

In order to create a connection, use the mouse to drag from a box output to another box input. If the connection is allowed (for instance, cycles are not permitted and inconsistent with the visual language semantics), the connection line will appear in the patch.

Existing connections can be selected with the mouse, re-routed (e.g. for readability) with “mouse drag”, re-connected somewhere else, or deleted (using the backspace key).

Note: Use the I key to rest the shape of a connection back to normal.

Clicking on a connected input allows unconnecting it, keeping the connection at hand and re-connecting it somewhere else.

shift + clicking on a connected input removes its connection (remember that shift + clicking again on an unconnected input pops out its value as a box and reconnects it).


Commands for Automatic Connections

Two commands are available to auto-connect several of selected boxes together:

Hint: Make lists!

Use shift + L to create a LIST function box that automatically connects to all currently selected boxes.


Graphic Properties

The inspector interface [ Ctrl/⌘+I ] allows setting the color and shape of selected connection(s).