NE.Standard.UI.Web.Graph 2.8.1

There is a newer version of this package available.
See the version list below for details.
dotnet add package NE.Standard.UI.Web.Graph --version 2.8.1
                    
NuGet\Install-Package NE.Standard.UI.Web.Graph -Version 2.8.1
                    
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="NE.Standard.UI.Web.Graph" Version="2.8.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="NE.Standard.UI.Web.Graph" Version="2.8.1" />
                    
Directory.Packages.props
<PackageReference Include="NE.Standard.UI.Web.Graph" />
                    
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 NE.Standard.UI.Web.Graph --version 2.8.1
                    
#r "nuget: NE.Standard.UI.Web.Graph, 2.8.1"
                    
#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 NE.Standard.UI.Web.Graph@2.8.1
                    
#: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=NE.Standard.UI.Web.Graph&version=2.8.1
                    
Install as a Cake Addin
#tool nuget:?package=NE.Standard.UI.Web.Graph&version=2.8.1
                    
Install as a Cake Tool

NE.Standard.UI.Graph

Three canvases for the NE.Standard UI framework, over one canvas core — pan and zoom, the grid, selection, groups, reroute points, undo, the menus and the save. Two packages, on the framework's own pattern — the component, which is platform-independent, and its web rendering, which carries the canvas engine and its stylesheet embedded in its assembly — and two of ready-made node kinds, a calculator's and pictures'.

Component The viewer... Its items come from
NodesComponent builds a network of typed nodes — values, pins, connections — which the package then runs your own C# classes, read by their attributes
LayeredGraphComponent reads or edits a graph of nodes and links laid out in layers, its cycles drawn as backward edges a bound live collection of UIGraphNode, each carrying its links
ProductionGraphComponent reads, edits or plans resources and the recipes between them: how many runs of what reach the amounts asked for a bound live collection of UIResource and UICraft

Each is an input whose value is its document, edited in the browser and committed whole by an explicit save. On the node canvas the node kinds are your own C# classes: you mark ordinary types with attributes, and the canvas builds the catalogue, the picker, the pins, the editors and the wiring from them — and a saved sheet deserializes straight back into instances of those types, so the network you run is typed, not JSON.

The documentation is its own site: akievansdev.github.io/NE.Standard.UI.Graph — the node canvas, the ready-made kinds, the canvas every component shares, the layered graph, the production graph, and a reference page per component.

Install

dotnet add App package NE.Standard.UI.Graph
dotnet add App.Web package NE.Standard.UI.Web.Graph

The first is the component, for the application's library; the second its rendering, for the web project that hosts the library (getting started).

A calculator's kinds come ready made in a third, NE.Standard.UI.Graph.Calculator, and picture kinds worked with SkiaSharp in a fourth, NE.Standard.UI.Graph.Image.

Each package brings its namespaces as global usings, so the code below needs no using line for them; a project that sets NEStandardUIImplicitUsings to false writes its own.

Register the web rendering beside the framework's renderers:

services.AddStandardRenderers();
services.AddGraph();

The canvases' own words (ui.graph.*) ship in Russian and Simplified Chinese as well as English (GraphStrings.Translations), turned on with application.AddFrameworkWords("ru", "zh-Hans") and outranked by any word of the application's own.

A node kind

[GraphNode(Category = "Maths", Title = "Operation", Color = "#8b5cf6")]
public sealed class OperationNode : IGraphNode
{
    [GraphInput(Title = "Left")]
    public double Left { get; set; }

    [GraphInput(Title = "Right")]
    public double Right { get; set; }

    [GraphInput(Choices = ["Add", "Subtract", "Multiply", "Divide"])]
    public string Operation { get; set; } = "Add";

    [GraphOutput]
    public double Result { get; set; }

    public void Execute(UINodeRunContext context)
        => Result = Operation switch
        {
            "Subtract" => Left - Right,
            "Multiply" => Left * Right,
            "Divide" => Left / Right,
            _ => Left + Right
        };
}

Documentation

Page What it covers
The node canvas Node kinds as your own classes: the attributes, running a sheet, pictures, whose document it is
Ready-made kinds The common kinds, the reroute every catalogue carries, the calculator and picture packages
The canvas What every canvas shares, and what the viewer can do on it
Layered graph A graph of the application's nodes and links, laid out in layers
Production graph Resources and recipes, and a plan over the catalogue
Components Every property, event and method, read off the code

Licence

The framework's: the Prosperity Public License 3.0.0. Free for noncommercial use, with a thirty-day trial for commercial use.

Contributing

This repository is a read-only mirror. Development happens in a private repository alongside the framework — that is how the canvas stays in step with the renderer it plugs into — and everything here is generated from it, so pull requests are switched off.

Issues are open and welcome.

Product Compatible and additional computed target framework versions.
.NET net11.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.10.0 0 11/16/2026
2.9.0 50 11/15/2026
2.8.2 68 11/15/2026
2.8.1 44 11/15/2026
2.8.0 55 11/15/2026
Loading failed