(nid: str, label: str, line: int)
| 36 | methods_by_class: dict[str, dict[str, str]] = {} |
| 37 | |
| 38 | def add_node(nid: str, label: str, line: int) -> None: |
| 39 | if nid not in seen_ids: |
| 40 | seen_ids.add(nid) |
| 41 | nodes.append({"id": nid, "label": label, "file_type": "code", |
| 42 | "source_file": str_path, "source_location": f"L{line}"}) |
| 43 | |
| 44 | def add_edge(src: str, tgt: str, relation: str, line: int, |
| 45 | confidence: str = "EXTRACTED", weight: float = 1.0, |
no outgoing calls
no test coverage detected