DataStax C# Graph Extension

This package builds on the DataStax C# Driver for Apache Cassandra, adding functionality for interacting with DataStax graph features using Apache TinkerPop Gremlin.Net.

This library supports .NET Framework 4.6.1+ and .NET Core 1+.

The package should be used with DataStax Enterprise.


Get it on Nuget

PM> Install-Package CassandraCSharpDriver.Graph


Basic Usage

Import namespace:

using Cassandra.DataStax.Graph;

Get the traversal source using a IDseSession instance

GraphTraversalSource g = DseGraph.Traversal(session);

You can reuse your GraphTraversalSource instance across your application.

Get a list of vertices

IList<Vertex> people = g.V().HasLabel("person").ToList();

Visit the Getting Started Guide for more examples.

Getting Help

You can use the project Mailing list or create a ticket on the Jira issue tracker.


© DataStax, Inc.

Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.