describe

How to list schema information about a particular graph.

Synopsis

schema.describe()

Description

List schema information about a particular graph using this command. An alias must be created to bind the graph to a graph traversal before running this command.

Examples

Discover if a particular graph exists. The return value is a boolean value.
gremlin> schema.describe()
The resulting list:
==>schema.vertexLabel("FridgeItem").create()