1 | initial version |
That hardcoded reference in the documentation seems to be outdated. The following work:
sage: sage.graphs.graph.Graph.distance_graph??
sage: Graph.distance_graph??
sage: G = Graph([(0,1)])
sage: G.distance_graph??
To find the file/module:
sage: search_src("distance_graph")