I'm still pretty new to the topic Node-RED and especially custom nodes. At the moment I have a specific question, which I haven't found an answer to in the documentation yet and I'm asking for help:
Can I programmatically determine at runtime which other nodes are connected to my node via the input(s) and output(s)?
Thanks for your answer. Currently i am evaluating possibilities, so i am not sure if i will use the wires property. Maybe i just don't see it, but where do i find a documentation about the node object?
It is not documented as node's are not meant to care who they are connected to - they just call node.send(...) with the messages it wants passing on and the runtime takes care of routing the messages.
The fact there is an internal property called wires is not something a node's logic should rely on.