Hi please help me to point to the source code of the class source code of RED.nodes. i would like to see createNode method.
Hi,
you can see it (mostly) here: https://github.com/node-red/node-red/blob/master/packages/node_modules/%40node-red/runtime/lib/nodes/index.js
Here is createNode
: https://github.com/node-red/node-red/blob/f49d1ae8602c618f2e2e3707f3353389a3dd7dd8/packages/node_modules/%40node-red/runtime/lib/nodes/index.js#L94
Did you have a particular question about the code?
Thank you knolleary. I didn't expect i will get such a detailed references.
I am looking for the code where the nodes are created based on the parameters (like, color, etc..)
If you are interested in creating a node and how it all fits together, perhaps this will help rather than examining this?
https://nodered.org/docs/creating-nodes/first-node
Actually i am interested to look at the code on how nodes are created and shown in UI based on the config. I am trying to do this in Angular so can take reference from this implementation. Please help me by pointing to the code