drawing.encodeGeometry();
drawing.getEditor().startUndo("Replace placeholder");
// Add the new node to the process
process.addNode(node);
node.maintainReferences(ModelObject.SYNC_GLOBAL_REFNAMES | ModelObject.SYNC_LOCAL_REFNAMES);
// Try to connect the control and data links from/to the placeholder to the new node
// If the orientation of the new node figure and the drawing don't match,