UOptimusNodeGraph::CollapseNodesToFunction

Take a set of nodes and collapse them into a single function, replacing the given nodes with the new function node and returning it.