dotnet add package Gremlin.Net --version 3.7.0
NuGet\Install-Package Gremlin.Net -Version 3.7.0
<PackageReference Include="Gremlin.Net" Version="3.7.0" />
paket add Gremlin.Net --version 3.7.0
#r "nuget: Gremlin.Net, 3.7.0"
// Install Gremlin.Net as a Cake Addin #addin nuget:?package=Gremlin.Net&version=3.7.0 // Install Gremlin.Net as a Cake Tool #tool nuget:?package=Gremlin.Net&version=3.7.0
Gremlin.Net for Apache TinkerPop™ is a language variant and driver for .NET.
Apache TinkerPop™ is a graph computing framework for both graph databases (OLTP) and graph analytic systems (OLAP). Gremlin is the graph traversal language of TinkerPop. It can be described as a functional, data-flow language that enables users to succinctly express complex traversals on (or queries of) their application's property graph.
Gremlin.Net implements Gremlin within .NET. C# syntax has the same constructs as Java including "dot notation" for function chaining (a.b.c), round bracket function arguments (a(b,c)), and support for global namespaces (a(b()) vs a(__.b())). As such, anyone familiar with Gremlin-Java will immediately be able to work with Gremlin.Net. Moreover, there are a few added constructs to Gremlin.Net that make traversals a bit more succinct.
Gremlin.Net is designed to connect to a "server" that is hosting a TinkerPop-enabled graph system. That "server" could be Gremlin Server
or a remote graph provider that exposes protocols by which Gremlin.Net can connect.
Please see the Reference Documentation of Apache TinkerPop for more information on usage: https://tinkerpop.apache.org/docs/current/reference
and use our Google Group gremlin-users if there are any questions: https://s.apache.org/c8hru
The Gremlin language allows users to write highly expressive graph traversals and has a broad list of functions that cover a wide body of features. The Reference Documentation describes these functions and other aspects of the TinkerPop ecosystem including some specifics on Gremlin in .NET itself:
Most of the examples found in the documentation use Groovy language syntax in the Gremlin Console. For the most part, these examples should generally translate to C# with some logical modification:
Given the strong correspondence between canonical Gremlin in Java and its variants like C#, there is a limited amount of C#-specific documentation and examples. This strong correspondence among variants ensures that the general Gremlin reference documentation is applicable to all variants and that users moving between development languages can easily adopt the Gremlin variant for that language.
NOTE that versions suffixed with "-rc" are considered release candidates (i.e. pre-alpha, alpha, beta, etc.) and thus for early testing purposes only.
|Product||Versions Compatible and additional computed target framework versions.|
|.NET||net5.0 was computed. net5.0-windows was computed. net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed.|
|.NET Core||netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed.|
|.NET Standard||netstandard2.0 is compatible. netstandard2.1 was computed.|
|.NET Framework||net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed.|
|MonoAndroid||monoandroid was computed.|
|MonoMac||monomac was computed.|
|MonoTouch||monotouch was computed.|
|Tizen||tizen40 was computed. tizen60 was computed.|
|Xamarin.iOS||xamarinios was computed.|
|Xamarin.Mac||xamarinmac was computed.|
|Xamarin.TVOS||xamarintvos was computed.|
|Xamarin.WatchOS||xamarinwatchos was computed.|
NuGet packages (21)
Showing the top 5 NuGet packages that depend on Gremlin.Net:
.NET object-graph-mapper for Apache TinkerPop™ Gremlin enabled databases.
Helper library to use Gremlin.Net with a Cosmos DB graph instance
This package builds on the DataStax C# Driver for Apache Cassandra, adding functionality for interacting with DataStax Graph features using Apache TinkerPop Gremlin.Net.
JanusGraph.Net extends Apache TinkerPop™'s Gremlin.Net with support for JanusGraph-specific types.
Fluent querys for gremlin using lambda expressions
GitHub repositories (2)
Showing the top 2 popular GitHub repositories that depend on Gremlin.Net:
Enterprise HealthChecks for ASP.NET Core Diagnostics Package
A .NET object-graph-mapper for Apache TinkerPop™ Gremlin enabled databases.