FBlueprintEditorUtils::GetAllNodesOfClass

Returns all nodes in all graphs of the specified class