Source code of RED.nodes.createNode

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.


you can see it (mostly) here:

Here is createNode:

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?

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