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

Method add_edges

python/graphscope/framework/graph.py:1358–1374  ·  view source on GitHub ↗
(
        self,
        edges,
        label="_",
        properties=None,
        src_label=None,
        dst_label=None,
        src_field: Union[int, str] = 0,
        dst_field: Union[int, str] = 1,
    )

Source from the content-addressed store, hash-verified

1356
1357 @apply_docstring(GraphDAGNode.add_edges)
1358 def add_edges(
1359 self,
1360 edges,
1361 label="_",
1362 properties=None,
1363 src_label=None,
1364 dst_label=None,
1365 src_field: Union[int, str] = 0,
1366 dst_field: Union[int, str] = 1,
1367 ) -> Union["Graph", GraphDAGNode]:
1368 if not self.loaded():
1369 raise RuntimeError("The graph is not loaded")
1370 return self._session._wrapper(
1371 self._graph_node.add_edges(
1372 edges, label, properties, src_label, dst_label, src_field, dst_field
1373 )
1374 )
1375
1376 @apply_docstring(GraphDAGNode.consolidate_columns)
1377 def consolidate_columns(

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