Skip to main content
Links

All about using links in Logica models

Carissa Castro avatar
Written by Carissa Castro
Updated over a month ago

Overview

This article describes the following:


What is a link?

A link is one of the two basic building blocks of all Logica models. Links transfer values between nodes. Hovering over any node in the canvas will display any link connection points on the left and right sides.

A link is capable of multiplication, division, addition, subtraction, rounding, averaging, accumulation (of multiple values), and more. When used efficiently, it can help minimize variable and operator usage.


How are links created and viewed?

A link is created by dragging and dropping from the link connection node on one variable or operator to that of another.

To view all links coming in and out for a given node, hover over or select the node with the mouse cursor. Incoming links are displayed in blue, and outgoing links are displayed in green. Links with default settings will display a solid line. Links with any non-default settings will display with a dotted line.


Link Settings

Click on a link to view the Link Settings in the right panel.

Description

The link description provides insight to yourself and other users about the context and settings of the link.

Get

The Get option sets whether the link passes the value or a transformed version of the values. See this section for more information about each option.

From

The From field displays the source node that is passing its value through the link.

Scenario

The Scenario option allows you to set the value being passed through the link to a different source scenario.

Time

The Time option sets either a static period value to be passed through the link or a number of relative periods included in the link transformation. See this section for more information about each option.

For specific link functions that can utilize relative time, there are two options:

  • Latest period(s) - This option takes the time period on a rolling basis.

  • Fixed period(s) - This option takes the time period on a fixed basis.

Skipping

The Skipping options allows for skipping a relative number of periods.

Send

The Send option is used to adjust whether the values being passed through the link are set forward in time or backward in time.

To

The To field displays the destination node that is receiving its value through the link.

Multiply/Divide By

When this option is used, the source node values will be multiplied or divided by an input.

Add/Subtract

When this option is used, the input will be added to or subtracted from the source node values.


Link Functions

There are several ways links can be used to transform values from one node to another. This option is the Get field in the Right Side Panel.

Value(s)

When a link is set to get values, the output node receives the exact same values.

Moving Average

When a link is set to get moving average, the output node receives the moving average of the input node values. This option can be used with the relative period Time field option to calculate rolling averages, such a 12-month rolling average.

Cumulative

When a link is set to get cumulative, the output node receives the cumulative of the input node values. This option can be used with the relative period Time field option to calculate rolling cumulative, such a 12-month rolling cumulative.

Change

When a link is set to get change, the output node receives the change in value over each time period of the input node values.

Relative Change

When a link is set to get relative change, the output node receives the relative change in value over each time period of the input node values.

Round

When a link is set to get round, the output node receives the input node values rounded to the nearest integer.

Floor

When a link is set to get floor, the output node receives the input node values rounded down to the nearest integer.

Ceiling

When a link is set to get ceiling, the output node receives the input node values rounded up to the nearest integer.

Min

When a link is set to get min, the output node receives minimum value of the input node on a rolling time basis.

Max

When a link is set to get max, the output node receives maximum value of the input node on a rolling time basis.


What's next?

Did this answer your question?