MCPcopy Create free account
hub / github.com/alibaba/GraphScope / frucht_graph

Function frucht_graph

python/graphscope/nx/generators/small.py:215–234  ·  view source on GitHub ↗
(create_using=None)

Source from the content-addressed store, hash-verified

213
214@patch_docstring(nxa.frucht_graph)
215def frucht_graph(create_using=None):
216 G = cycle_graph(7, create_using)
217 G.add_edges_from(
218 [
219 [0, 7],
220 [1, 7],
221 [2, 8],
222 [3, 9],
223 [4, 9],
224 [5, 10],
225 [6, 10],
226 [7, 11],
227 [8, 11],
228 [8, 9],
229 [10, 11],
230 ]
231 )
232
233 G.name = "Frucht Graph"
234 return G
235
236
237@patch_docstring(nxa.heawood_graph)

Callers

nothing calls this directly

Calls 2

cycle_graphFunction · 0.90
add_edges_fromMethod · 0.80

Tested by

no test coverage detected