()
| 767 | # ── Existing-vault safety: graphify must not clobber user notes / .obsidian (#1506) ── |
| 768 | |
| 769 | def _two_node_graph(): |
| 770 | import networkx as nx |
| 771 | G = nx.Graph() |
| 772 | G.add_node("n1", label="Database", community=0, source_file="app/db.py", type="code") |
| 773 | G.add_node("n2", label="Server", community=0, source_file="app/srv.py", type="code") |
| 774 | G.add_edge("n1", "n2") |
| 775 | return G, {0: ["n1", "n2"]} |
| 776 | |
| 777 | |
| 778 | def test_to_obsidian_preserves_existing_user_notes_and_obsidian_config(): |
no test coverage detected