Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RedisGraph/RedisGraph
/ create_node_map
Function
create_node_map
tests/flow/random_graph.py:49–53 ·
view source on GitHub ↗
(node, i)
Source
from the content-addressed store, hash-verified
47
48
49
def
create_node_map(node, i):
50
item = {
"v"
: i}
51
for
j in range(0, node[
"properties"
]):
52
item[f
"v{i}"
] = random_graph_value()
53
return
item
54
55
56
def
create_edge_map(edge, nodes):
Callers
2
create_nodes_range
Function · 0.85
create_node
Function · 0.85
Calls
1
random_graph_value
Function · 0.85
Tested by
no test coverage detected