Original Post
Hello, for a couple of years i had the intention to write own node-based interface like Node Editor in Blender, Hypershade in Maya or MapZone. Now i finally got some spare time for it so the plan is to write in C# and visualize in WPF. But my first problem is, i cannot get my had wrapped around the data structures. I'm not that bad at programming, but this thing gives me headaches. I wrote a little test application to connect nodes between their pins and to check for data type of the connection. But it feels not really right. Base class Node for nodes and base class Pin for pins, also a Connection class exists. It looks all very simple, but if i look at other source code of similiar programs i have no idead why they look so complex and what my mistake is. Should it be done like an interface pattern? I would appreciate some suggestions or links how it's done.