graphscope.framework.dag_utils.create_graphΒΆ
- graphscope.framework.dag_utils.create_graph(session_id, graph_type, inputs=None, **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 (
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.