Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Enfoirer/Text2GraphRAG
/ GraphNode
Class
GraphNode
rag_modules/graph_data_preparation.py:15–20 ·
view source on GitHub ↗
图节点数据结构
Source
from the content-addressed store, hash-verified
13
14
@dataclass
15
class
GraphNode:
16
""
"图节点数据结构"
""
17
node_id: str
18
labels: List[str]
19
name: str
20
properties: Dict[str, Any]
21
22
@dataclass
23
class
GraphRelation:
Callers
2
load_graph_data
Method · 0.85
_load_simple_nodes
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected