I'd like to be able to add virtual wires between my own custom nodes and have them behave similar to how link-in / link-out pair does it - shows the normally invisible port with a dashed wire when selected, possibly with many wires leading to other tabs, maintain the linkage even on cut/copy/paste/undo, handle message passing between ... the only customization would be the UI editor so that my custom node can decide the list of selectable source/target nodes based on custom criteria (such as the type of the custom node...)
Currently, it appears that all of the link-in / link-out node functionality is hardcoded in the dashboard based on their
node.type but it would be nice if custom nodes could somehow specify if the node is to be treated as a link-in or link-out node by the dashboard (sort of, subclass the custom node from either of the built-in nodes).
I'd also like to be able to program any additional custom logic into such node (hence the custom node) such as show my own status, process incoming messages... not be limited to just the link - duh
I know that all this can be done using additional link-in and link-out nodes to the flow, but there are two problems with that for me (as I build large, complex flows):
1) The extra clutter (link nodes and wires leading to them)
2) Link selection UI - my custom nodes could limit the list based on additional criteria such as the node type, name... For example, only show matching nodes with the same name and a specific type...
If possible, it would also be great to be able to add dynamic links, say to all nodes of a given type with specified name ... or whatever the criteria is needed ... similar to the topic-link or an option for link-in / link-out to link by
link.name so if I have several links with the same name, they'd be all linked together automatically.