/Engine/Source/Editor/BlueprintEditorLibrary/Public/BlueprintEditorLibrary.h
Remove any nodes in this blueprint that have no connections made to them.
static void RemoveUnusedNodes ( [UBlueprint](API\Runtime\Engine\Engine\UBlueprint) * Blueprint )