(root: Path, nodes: list[dict], links: list[dict])
| 24 | |
| 25 | |
| 26 | def _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 | |
| 32 | def _file_node(path: str) -> dict: |
no outgoing calls
no test coverage detected