Connecting Models  


In LINQ, models can be connected by allowing the output of one model to flow into another. To do this, you can follow these steps: 


1. Select an Information Node you wish to share across models. In the Properties Panel, toggle the option to Connect node to other models


2. Go to the model where you want to link the nodes. You will notice an additional information node with two lines has appeared. This indicates the shared information nodes from the previous model which you have marked as Connect node to other models in the properties panel. 


3. After selecting the information node, the model icon (as shown in the screenshot) will appear on the canvas. You can then connect this node to an action node within your current model. The dotted line represents a connection between models, showing the flow of information from the connected node to another model. 


4. Save the model to ensure the connection is established. Once saved, refresh the page, and you will see that the models are now connected. 


5. In the Organisation View card, you can see an overview of the connected models. This includes shared information and action nodes that link the models together. The dotted lines represent how the information flows between models, offering a representation of dependencies and interactions across different parts of your workflow.

 

Disconnecting Models

Once models are connected, you can also disconnect them by removing the shared information node from the subsequent model.   Follow these steps to disconnect models:


1. Go to the next model where the shared information node is connected.  For instance, Order Product is the first model, and the screenshot is the next model Shipping Product.  Then delete the shared information node (in this case, Order ID, Shipping info) and don't forget to save the changes.

 

2. When you return to the first model, you will notice the toggle option Connect node to other models is switched on in green color. You can either leave it in the green color (connected) state or revert it to the black color (not connected) state.


Moving Data to a New Model

In LINQ, you can move part of a model to a new model by selecting an action node and using the Move downstream of selected actions to a new model icon. Here is how to do it step by step:


1. Go to an action node that you want to move, right-click on the action node, and choose to select downstream.


2. All nodes downstream of the selected action will be highlighted in blue, indicating the portion of the model that will be moved. 


3. Click on the Move downstream of selected actions to a new model icon in the toolbar. Give the new model a name, add a description, choose appropriate model tags, and set up user access to the newly created model.  And then click Save.



4. The selected downstream elements will now turn gray, indicating they are ready for the move. The Changes button at the top will display the number of changes, including nodes and edges selected. Click on Changes to complete the move. Once saved, the new model will be created, and it will be connected to the original model from which it was moved. 


Copying Data to a New Model

You can copy parts of an existing model into a new one or other existing models, which helps when duplicating similar processes without rebuilding everything from scratch.  Here is how you do it step by step: 


1. To copy nodes to a new model, you can simply click and hold the left mouse button, drag to draw a selection around the desired nodes and then release the left mouse button.  The highlighted area will turn blue, indicating the selected nodes. For more LINQ shortcuts, please refer to the Tips and Tricks section.



2. Once the nodes are selected, click on the Copy icon in the toolbar or right-click a specific node to find the Copy option.  Then navigate to the Models menu (as shown in the screenshot) to decide where to paste the selected nodes. You can either select an existing model or click on Create model to create a new model where the copied nodes will be added.