FBlueprintEditorUtils::GetAllNodesOfClassEx

Returns all nodes in all graphs of at least the minimum node type