Save and load different types of node objects via XML

Hi

I have a document where I have different node types I have derived these types from GoGeneralNode. However, I’m struggling to find a way to save and load the different types of nodes via XML file.

I’m using the FunctionBlock example, and in the RegisterTransformers method, a prototype node is created. If I save my project, and reload it from the XML file, all node are created as the prototype node defined in RegisterTransformers. Is there any way to load different types of nodes based on some property defined in the XML file?

Thanks!

Register a transformer for each type of node with a prototype for each.

Thanks, got it working!