How to create Knime Node

<strong>Hello everyone,</strong>

I need your help please.

I followed steps thaks to this link :

But I do not know where insert my personal code?

Should i insert in :NodeDialog, NodeFactory, NodeModel, NodePlugin , or NodeView?


My work is : Loading a file, calculate and i will get a diagram like y = ax+b for example



The crucial part is the *NodeModel. Follow the instructions given here, which explain all classes in detail: