graphscope.framework.dag_utils.add_labels_to_graph#

graphscope.framework.dag_utils.add_labels_to_graph(graph, loader_op)[source]#

Add new labels to existed graph.

Parameters
Raises

NotImplementedError – When encountered not supported graph type.

Returns

The operation.

Notes

Since we don’t want to trigger the loading, we must not use any api that can trigger the loading process implicitly.