Create a graph node resembling real graphify schema.
(path: str)
| 714 | |
| 715 | |
| 716 | def _make_file_node(path: str) -> tuple[str, dict]: |
| 717 | """Create a graph node resembling real graphify schema.""" |
| 718 | nid = _make_id(path) |
| 719 | return nid, {"label": Path(path).name, "source_file": path, "file_type": "code"} |
| 720 | |
| 721 | |
| 722 | def _make_cycle_graph_directed() -> nx.DiGraph: |
no test coverage detected