// TODO Feature 6: Placeholder substitution: Implement
ProcessDrawing drawing = getDrawing();
ProcessItem process = drawing.getProcess();
// Save any geometry changes
drawing.encodeGeometry();
drawing.getEditor().startUndo("Replace placeholder");
// Add the new node to the process
process.addNode(node);