graphscope.framework.dag_utils.create_graph¶
-
graphscope.framework.dag_utils.
create_graph
(session_id, graph_type, **kwargs)[source]¶ Create an CREATE_GRAPH op, add op to default dag.
- Parameters
session_id (str) – Refer to session that the graph will be create on.
graph_type (:enum:`GraphType`) – GraphType defined in proto.types.proto.
**kwargs – additional properties respect to different graph_type.
- Returns
An op to create a graph in c++ side with necessary configurations.