I noticed the documentation for the distance_graph function, and I wanted to view its source code.
However, I tried ? graphs.distance_graph
do not work.
So, I searched for it on Sage's GitHub repository. I came across this line: :meth:sage.graphs.generic_graph.distance_graph
for diameter distance. However, I still couldn't find the relevant description in the file sage.graphs.generic_graph. Running ? graphs.distance_graph also does not work
How can I locate its implementation?