/Engine/Source/Editor/Kismet/Public/BlueprintEditor.h
Collapses a selection of nodes into a graph for composite, function, or macro nodes.
void CollapseNodesIntoGraph ( [UEdGraphNode](API\Runtime\Engine\EdGraph\UEdGraphNode) * InGatewayNode, class [UK2Node_EditablePinBase](API\Editor\BlueprintGraph\UK2Node_EditablePinBase) * InEntryNode, class [UK2Node_EditablePinBase](API\Editor\BlueprintGraph\UK2Node_EditablePinBase) * InResultNode, [UEdGraph](API\Runtime\Engine\EdGraph\UEdGraph) * InSourceGraph, [UEdGraph](API\Runtime\Engine\EdGraph\UEdGraph) * InDestinationGraph, [TSet](API\Runtime\Core\Containers\TSet)< [UEdGraphNode](API\Runtime\Engine\EdGraph\UEdGraphNode) * > & InCollapsableNodes, bool bCanDiscardEmptyReturnNode, bool bCanHaveWeakObjPtrParam )