Use Graph in DataStax Studio

Graph databases are useful for discovering simple and complex relationships between objects. Relationships are fundamental to how objects interact with one another and their environment. Graph databases perfectly represent the relationships between objects.

Using DSE Graph in DataStax Studio provides an interactive way to do the following:

  • Compose Gremlin traversals and view results in multiple dynamic views such as JSON, table, charts, and graph.

  • Leverage Studio’s schema view and schema-aware content-assist for rapid Gremlin Traversal development.

  • Manipulate the graph view with interactive graph graph features that can expand vertex neighborhoods and remove vertices and edges from view.

DataStax Graph 6.8 and DataStax Studio can work with two graph engines, Core and Classic. Classic is the graph type of DSE Graph 6.7 and earlier, while Core is a new graph type for DataStax Graph 6.8. Studio can create graphs using either format. When creating a new graph in Studio, DataStax recommends using the Core graph type because Classic is included to migrate older graphs to the new Core type.

new graph

Graph in Studio tutorial notebooks

For an interactive introduction to working with DSE Graph in Studio, see the DSE Graph notebook tutorials that are installed with Studio:

Working with Graph v6.8.0

Introduces the DSE Graph-centric features of Studio and provides a basic introduction to vertices sizes, edge colors, and using interactive graph features:

  • Use display name templates to improve the display names shown in graph view

  • Dynamically view results in multiple views such as JSON, table, charts, and graph

  • Examine a subset of a graph based on an edge label, a set of edge labels, or a set of edges

  • Select vertices and edges, learn about vertices sizes and colors

  • Use full screen

  • Hide the code editor

  • Use content assist and schema-aware content assist for Gremlin code

  • Use schema view to see what is connected and how Learn about charting to visualize data results.

  • Learn how to view help for efficient keyboard shortcuts.

DSE Graph QuickStart v6.8.0

Introduction tutorial for using Studio to learn about DataStax Graph (core). The tutorial provides steps to insert data and run traversals. For additional guidance, see DataStax Graph QuickStart.

DSE Graph: CQL as Graph v6.8.0

Introduction tutorial for using Studio to learn about DataStax Graph using CQL. The tutorial provides steps to create CQL schema, insert data, and run traversals. For additional guidance, see DataStax Graph: CQL as Graph.

DSE Graph: CQL Conversion to Graph v6.8.0

Introduction tutorial for using Studio to learn about DataStax Graph (Core). The tutorial provides steps to create CQL as Graph schema, convert it to Graph schema, insert data, and run traversals. For additional guidance, see DataStax Graph: CQL conversion to Graph.

About the graph view

The Studio graph view provides a contextual view of a result by automatically populating the entire sub-graph shared between the result’s vertices and edges. The Gremlin result is examined as follows.

  • If a result contains vertices, then all edges linking those vertices are automatically populated.

  • If a result contains edges, then the adjacent vertices are automatically populated.

  • If the result is a subgraph, then it is displayed as-is.

Path results can contain arbitrary Java objects (not just vertices and edges), so path results are not rendered by the graph view.

Interactive graph view

Studio provides these interactive graph features:

  • Expand vertex neighborhoods, with the ability to filter by edge label

  • Remove vertices and edges from the graph view

Right-click vertices and edges to activate these features.

In a gremlin cell, you can interactively expand the neighborhood in graph view.

Edge population in neighborhood expansion happens in two stages:

  1. Adjacent edges and their corresponding other vertices are retrieved.

  2. Edges between new vertices and existing vertices may be automatically populated based on the selected Edge Population Strategy.

Neighborhood expansion has the following view options:

  • Populate all common edges, the default complete view.

  • Populate only the edges of the selected labels to expand.

    All edges that connect a newly retrieved vertex and an existing vertex are added to the view only if their Edge Label is selected.

  • Do not auto-populate common edges.

At any time, double-click the graph view to recenter the display.

To learn more about neighborhood expansion, try the Working with Graph v6.8.0 tutorial notebook.

Was this helpful?

Give Feedback

How can we improve the documentation?

© 2025 DataStax, an IBM Company | Privacy policy | Terms of use | Manage Privacy Choices

Apache, Apache Cassandra, Cassandra, Apache Tomcat, Tomcat, Apache Lucene, Apache Solr, Apache Hadoop, Hadoop, Apache Pulsar, Pulsar, Apache Spark, Spark, Apache TinkerPop, TinkerPop, Apache Kafka and Kafka are either registered trademarks or trademarks of the Apache Software Foundation or its subsidiaries in Canada, the United States and/or other countries. Kubernetes is the registered trademark of the Linux Foundation.

General Inquiries: +1 (650) 389-6000, info@datastax.com