MCPcopy Create free account
hub / github.com/Tencent/embedx / next_node

Method next_node

demo/data/scripts/embedx_graph.py:135–138  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

133 self.has_feature = self.__has_feature()
134
135 def next_node(self):
136 assert "nodes" in self.data
137 for json_node in self.data["nodes"]:
138 yield EmbedxNode(json_node)
139
140 def statistics(self):
141 stats = [("Total edge number", self.context.total_edge_num())]

Callers 4

statisticsMethod · 0.95
write_node_featureMethod · 0.95
write_node_labelMethod · 0.95
__has_featureMethod · 0.95

Calls 1

EmbedxNodeClass · 0.85

Tested by

no test coverage detected