How to add links between devices/shortcuts?

Click on the add link icon. Drag the cursor and draw the link between the devices/shortcuts.