You can set properties for specific nodes encapsulated within a SuperNode by
accessing the child diagram within the SuperNode. For example, you can create a Derive node and set
the mode and field name extension as follows:
If you want to create a SuperNode and its content from scratch, you can do
that in a similar way by creating the SuperNode, accessing the child diagram, and creating the nodes
you want. You must also ensure that the nodes within the SuperNode diagram are also linked to the
input and/or output connector nodes. For example, if you want to create a process SuperNode:
process_supernode = modeler.script.stream().createAt("process_super", "My SuperNode", 200, 200)
childDiagram = process_supernode.getChildDiagram()
filternode = childDiagram.createAt("filter", "My Filter", 100, 100)
childDiagram.linkFromInputConnector(filternode)
childDiagram.linkToOutputConnector(filternode)