Graph Management
A graph is a collection of vertices and edges that represent relationships between entities. The following commands allow you to create, list, drop, and describe graphs in the database.
Create Graph
Create a graph
Syntax
CREATE GRAPH <graph_name>Example
Create a graph named test_graph
CREATE GRAPH test_graphList Graph
List graph under a namespace.
Syntax
LIST GRAPHExample
LIST GRAPHDrop Graph
Drop graph and all underlying vertex tables and edge tables.
Syntax
DROP GRAPH <graph_name>Example
Drop a graph named test_graph
DROP GRAPH test_graphDescribe Graph
Show meta information about given graph.
Syntax
DESCRIBE GRAPH <graph_name>Example
DESCRIBE GRAPH test_graphLast updated on