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

Function _graph

tests/test_theme_gate.py:26–29  ·  view source on GitHub ↗
(root: Path, nodes: list[dict], links: list[dict])

Source from the content-addressed store, hash-verified

24
25
26def _graph(root: Path, nodes: list[dict], links: list[dict]) -> None:
27 out = root / "graphify-out"
28 out.mkdir(exist_ok=True)
29 (out / "graph.json").write_text(json.dumps({"nodes": nodes, "links": links}), encoding="utf-8")
30
31
32def _file_node(path: str) -> dict:

Calls

no outgoing calls

Tested by

no test coverage detected