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

Function _graph

tests/test_export_control_characters.py:42–52  ·  view source on GitHub ↗
(label)

Source from the content-addressed store, hash-verified

40
41
42def _graph(label):
43 return build_from_json({
44 "nodes": [
45 {"id": "a", "label": label, "file_type": "document", "source_file": "d.md"},
46 {"id": "b", "label": "plain", "file_type": "code", "source_file": "b.py"},
47 ],
48 "edges": [{"source": "a", "target": "b", "relation": "references",
49 "confidence": "INFERRED", "confidence_score": 0.85,
50 "source_file": "d.md"}],
51 "hyperedges": [],
52 })
53
54
55COMMUNITIES = {0: ["a", "b"]}

Calls 1

build_from_jsonFunction · 0.90

Tested by

no test coverage detected