LiteGraph.Sdk 4.0.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package LiteGraph.Sdk --version 4.0.0
                    
NuGet\Install-Package LiteGraph.Sdk -Version 4.0.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="LiteGraph.Sdk" Version="4.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="LiteGraph.Sdk" Version="4.0.0" />
                    
Directory.Packages.props
<PackageReference Include="LiteGraph.Sdk" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add LiteGraph.Sdk --version 4.0.0
                    
#r "nuget: LiteGraph.Sdk, 4.0.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package LiteGraph.Sdk@4.0.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=LiteGraph.Sdk&version=4.0.0
                    
Install as a Cake Addin
#tool nuget:?package=LiteGraph.Sdk&version=4.0.0
                    
Install as a Cake Tool

<img src="https://github.com/jchristn/LiteGraph/blob/main/assets/favicon.png" width="256" height="256">

LiteGraph C# SDK

NuGet Version NuGet

LiteGraph is a property graph database with support for graph relationships, tags, labels, metadata, data, and vectors. LiteGraph is intended to be a unified database for providing persistence and retrieval for knowledge and artificial intelligence applications.

New in v4.0.x

  • Refactor to group and simplify APIs
  • Multiple bugfixes and QoL improvements

Bugs, Feedback, or Enhancement Requests

Please feel free to start an issue or a discussion!

Example

Refer to the Test.Sdk project for a full example.

using LiteGraph.Sdk;

LiteGraphSdk sdk = new LiteGraphSdk("http://localhost:8701", "default");
Guid tenantGuid = Guid.Parse("00000000-0000-0000-0000-000000000000");

Graph graph = sdk.Graph.Create(new Graph { TenantGUID = tenantGuid, Name = "My graph" });
Node node1 = sdk.Node.Create(new Node { TenantGUID = tenantGuid, GraphGUID = graph.GUID, Name = "My node 1" });
Node node2 = sdk.Node.Create(new Node { TenantGUID = tenantGuid, GraphGUID + graph.GUID, Name = "My node 2" });
Edge edgeFrom1To2 = sdk.Edge.Create(new Edge { TenantGUID = tenantGuid, GraphGUID = graph.GUID, From = node1.GUID, To = node2.GUID });

Version History

Please refer to CHANGELOG.md for version history.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on LiteGraph.Sdk:

Package Downloads
View.Sdk

C# SDK for View AI.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
4.1.0 475 7/22/2025
4.0.9 322 7/3/2025
4.0.8 124 7/1/2025
4.0.6 142 6/22/2025
4.0.5 98 6/22/2025
4.0.4 147 6/5/2025
4.0.3 151 5/28/2025
4.0.2 145 5/27/2025
4.0.1 145 5/26/2025
4.0.0 171 4/22/2025
3.1.5 292 2/17/2025
3.1.4 109 2/15/2025
3.1.3 121 2/10/2025
3.1.1 100 1/15/2025
3.1.0 91 1/9/2025
2.1.1 140 11/8/2024
2.1.0 120 11/2/2024
2.0.17 150 10/30/2024
2.0.14 144 8/29/2024
2.0.13 152 8/24/2024
2.0.12 147 8/13/2024
2.0.11 134 8/10/2024
2.0.10 136 8/9/2024
2.0.9 137 8/8/2024
2.0.8 136 8/8/2024
2.0.7 127 8/7/2024
2.0.6 120 8/7/2024
2.0.5 116 8/7/2024
2.0.4 109 8/6/2024
2.0.3 106 8/6/2024
2.0.2 132 7/18/2024
2.0.1 123 7/18/2024

Refactor.