Creating a graph in Studio
Depending on the DSE Graph schema mode, DataStax Studio will have differing behavior. In Production mode, DataStax Studio will not auto-create a graph, and the graph must be created in the Gremlin console. In Development mode, DataStax Studio creates a graph and aliases the graph to a graph traversal automatically for each connection that is created.
Install and start DataStax Studio. Also create a Studio notebook, if needed.
In DataStax Studio, create a new connection. Choose a graph name; any graph previously unused will work.
In DataStax Studio, create a new notebook. Select the connection created in the last step.
A blank notebook will open with a single cell. DSE Graph runs a Gremlin Server
tinkerpop.serveron each DSE node. DataStax Studio automatically connects to the Gremlin Server, and if it doesn’t exist, creates a graph using the connection information. The graph is stored as one graph instance per DSE database keyspace with a replication factor of 1 and a strategy of
SimpleStrategy. Once a graph exists, a graph traversal g is configured that will allow graph traversals to be executed. Graph traversals are used to query the graph data and return results. A graph traversal is bound to a specific traversal source which is the standard OLTP traversal engine.