What is your question?
I need to find libs in topological order of a dependency (openssl) and its dependencies, in order to get their libs, lib dirs, include dirs, defines, system libs/frameworks so that I can patch a CMakeLists for check_symbol_exists() (for the well known bug in targets defined by CMakeDeps not working with these functions: conan-io/conan#12012 & conan-io/conan#12180).
I don't want the full graph (other unrelated dependencies of this recipe), and I don't want only cpp_info of openssl (I need also its dependencies (there might be zlib depending on an openssl option)).
How can I do that with self.dependencies?
Have you read the CONTRIBUTING guide?