When I use PyTigerGraph, if I want to get the current global verties or edges, I have to go through print (conn.gsql("ls"))
, but there is no function to get the verties or edges name directly.
I can only get local verties or edges of a graph by specifying a specific graph name.
This makes it possible that when I create a global edge or vertex, I may encounter an error message indicating that the vertex or edge already exists.