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

Function _two_node_graph

tests/test_export_idempotent_writes.py:40–45  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

38
39
40def _two_node_graph():
41 G = nx.Graph()
42 G.add_node("n1", label="Database", community=0, source_file="app/db.py", type="code")
43 G.add_node("n2", label="Server", community=0, source_file="app/srv.py", type="code")
44 G.add_edge("n1", "n2")
45 return G, {0: ["n1", "n2"]}
46
47
48def test_to_obsidian_rerun_does_not_rewrite_unchanged_notes(tmp_path):

Calls 2

add_nodeMethod · 0.95
add_edgeMethod · 0.95

Tested by

no test coverage detected