MCPcopy Create free account
hub / github.com/alibaba/GraphScope / add_vertices

Method add_vertices

python/graphscope/framework/graph.py:1348–1355  ·  view source on GitHub ↗
(
        self, vertices, label="_", properties=None, vid_field: Union[int, str] = 0
    )

Source from the content-addressed store, hash-verified

1346
1347 @apply_docstring(GraphDAGNode.add_vertices)
1348 def add_vertices(
1349 self, vertices, label="_", properties=None, vid_field: Union[int, str] = 0
1350 ) -> Union["Graph", GraphDAGNode]:
1351 if not self.loaded():
1352 raise RuntimeError("The graph is not loaded")
1353 return self._session._wrapper(
1354 self._graph_node.add_vertices(vertices, label, properties, vid_field)
1355 )
1356
1357 @apply_docstring(GraphDAGNode.add_edges)
1358 def add_edges(

Callers 15

load_ppiFunction · 0.45
load_ogbn_arxivFunction · 0.45
load_modern_graphFunction · 0.45
load_p2p_networkFunction · 0.45
load_ogbl_ddiFunction · 0.45
load_ogbl_collabFunction · 0.45
load_coraFunction · 0.45
load_ogbn_proteinsFunction · 0.45
load_u2iFunction · 0.45
load_ogbn_magFunction · 0.45

Calls 2

loadedMethod · 0.95
_wrapperMethod · 0.80

Tested by 15

p2p_property_graphFunction · 0.36
p2p_multi_property_graphFunction · 0.36
p2p_graph_from_pandasFunction · 0.36
p2p_property_graph_int32Function · 0.36
test_demo_on_hdfsFunction · 0.36
test_serialize_roundtripFunction · 0.36