- graphscope.g(incoming_data=None, oid_type='int64', directed=True, generate_eid=True)
Construct a GraphScope graph object on the default session.
It will launch and set a session to default when there is no default session found.
See params detail in
Evaluated in eager mode.
- Return type
>>> import graphscope >>> g = graphscope.g() >>> import graphscope >>> sess = graphscope.session() >>> sess.as_default() >>> g = graphscope.g() # creating graph on the session "sess"