Skip to Content
CypherCommandsDdlGraph Management

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_graph

List Graph

List graph under a namespace.

Syntax

LIST GRAPH

Example

LIST GRAPH

Drop 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_graph

Describe Graph

Show meta information about given graph.

Syntax

DESCRIBE GRAPH <graph_name>

Example

DESCRIBE GRAPH test_graph
Last updated on