Feature request: editor enhancement for link call node

It would be useful if the link call node, configured for a fixed target, could (when selected) display its target and allow the user to jump there if it is on another tab. This would be similar to the behavior of the standard link node.

The suggestion comes from a recent discussion about using link or link call nodes to collapse parts of flows in order to improve readability and save screen space in the editor. I have been doing this with link in and link out nodes for some time, but I think the programming logic would be more rigorous using the link call node. The two approaches are compared in this flow.

[{"id":"c3b4e23e95193f6b","type":"tab","label":"main flow","disabled":false,"info":"","env":[]},{"id":"bf040553bc32c1f5","type":"tab","label":"details","disabled":false,"info":"","env":[]},{"id":"cf7f21fded7359a0","type":"inject","z":"c3b4e23e95193f6b","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":200,"y":140,"wires":[["b9f19feea543cbc6"]]},{"id":"b9f19feea543cbc6","type":"link out","z":"c3b4e23e95193f6b","name":"link out 2","mode":"link","links":["485a12923e2ae0fb","f742359509d2cce2"],"x":305,"y":140,"wires":[]},{"id":"a57396a0c97b2a8c","type":"link in","z":"c3b4e23e95193f6b","name":"link in 4","links":["1a6ef03001ec3211","959886de4798e265"],"x":565,"y":140,"wires":[["2f6858bd627d5d01"]]},{"id":"5720556958cc4366","type":"comment","z":"c3b4e23e95193f6b","name":"do something","info":"","x":430,"y":100,"wires":[]},{"id":"8dcd05329e331b2c","type":"inject","z":"c3b4e23e95193f6b","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":240,"y":260,"wires":[["49c326dd991f871c"]]},{"id":"49c326dd991f871c","type":"link call","z":"c3b4e23e95193f6b","name":"do something else","links":["7b69553e38bfc1a1"],"linkType":"static","timeout":"30","x":430,"y":260,"wires":[["6565eef3d33614c1"]]},{"id":"6565eef3d33614c1","type":"debug","z":"c3b4e23e95193f6b","name":"something else","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","statusVal":"","statusType":"auto","x":640,"y":260,"wires":[]},{"id":"2f6858bd627d5d01","type":"debug","z":"c3b4e23e95193f6b","name":"something","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","statusVal":"","statusType":"auto","x":690,"y":140,"wires":[]},{"id":"485a12923e2ae0fb","type":"link in","z":"bf040553bc32c1f5","name":"start something","links":["b9f19feea543cbc6"],"x":260,"y":100,"wires":[["35caa4701f8b253c"]],"l":true},{"id":"35caa4701f8b253c","type":"function","z":"bf040553bc32c1f5","name":"do something","func":"msg.payload = 'I did something.'\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":460,"y":100,"wires":[["1a6ef03001ec3211"]]},{"id":"1a6ef03001ec3211","type":"link out","z":"bf040553bc32c1f5","name":"finish something","mode":"link","links":["a57396a0c97b2a8c"],"x":650,"y":100,"wires":[],"l":true},{"id":"7b69553e38bfc1a1","type":"link in","z":"bf040553bc32c1f5","name":"start something else","links":[],"x":270,"y":180,"wires":[["02de29d08b9b6a51"]],"l":true},{"id":"5190cd329288bf53","type":"link out","z":"bf040553bc32c1f5","name":"finish something else","mode":"return","links":[],"x":680,"y":180,"wires":[],"l":true},{"id":"02de29d08b9b6a51","type":"function","z":"bf040553bc32c1f5","name":"do something else","func":"msg.payload = 'I did something else.'\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":470,"y":180,"wires":[["5190cd329288bf53"]]}]

Currently, the link node method has the advantage of showing where the "collapsed" flow segment is located and allowing direct access to it. If this enhancement could be implemented, the ui might look something like this:


This might be difficult or impossible to implement, but I'll ask anyway...

I agree. It is inconsistent that the editor shows you the connection between a link-out and it's matching link-in
Untitled 1

And even (sort of) shows you if nothing links to a link-in
Untitled 2

But there are no visual clues for a link call or return to calling link node

Responded here: Feature request: Collapsable Groups in UI for organisation - #5 by Steve-Mcl

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.