graphscope.framework.dag_utils.为图添加标签

graphscope.framework.dag_utils.add_labels_to_graph(graph, loader_op)[源代码]

向现有图添加新标签。

Parameters:
Raises:

NotImplementedError – 当遇到不支持的图类型时抛出。

Returns:

该操作。

备注

由于我们不希望触发加载过程,因此必须避免使用任何可能隐式触发加载的API。