Create geometry in node based ui.

Hello, I need to create an addon, which will enable to create complex object hierarchies in node based ui. Basicly every node should have a slot for geometric object and then some other slots for different transformations and properties, which could be linked to other nodes.
Could you please direct me to something which could help me? Could I reuse some node based editor which is already in blender or will I have to create the UI from the scratch?
Thanks a lot…Jan