replaceContainment

fun NodeData.replaceContainment(newParent: NodeId?, newRole: String?): NodeData