MCPcopy Create free account
hub / github.com/Graphify-Labs/graphify / _write_graph

Function _write_graph

tests/test_benchmark.py:25–27  ·  view source on GitHub ↗
(G: nx.Graph, path)

Source from the content-addressed store, hash-verified

23
24
25def _write_graph(G: nx.Graph, path) -> None:
26 data = json_graph.node_link_data(G, edges="links")
27 path.write_text(json.dumps(data))
28
29
30# --- _query_subgraph_tokens ---

Calls

no outgoing calls

Tested by

no test coverage detected