View-model driven graphs

MVVM Integration

Keep graph behavior in view models and visual composition in XAML.

Explore source
Parent systemNodeEditor
StatusStable
Modules1
RepositoryNodeEditor/NodeEditorAvalonia.Mvvm

MVVM packages expose graph state, commands, selection, and connection workflows through bindable models suitable for application architecture and testing.

  1. 01

    Bindable graph collections

  2. 02

    Command-oriented editing

  3. 03

    Testable selection and connection logic

  4. 04

    XAML templates remain replaceable

From intent
to working system.

01

Domain

Application models own graph meaning and data.

02

View model

Adapters expose position, sockets, commands, and notifications.

03

Binding

The editor binds to collections and selection state.

04

Template

Views render domain-specific nodes without changing the control.

Adopt this
capability.

Start with the primary module, then add the related packages only when the application needs those layers. Replace VERSION with the current NuGet version.

01 · Install
Terminal
dotnet add package NodeEditorAvalonia.Mvvm
02 · Use · csharp
QuickStart.cs
Nodes.Add(new NodeViewModel
{
Title = "Transform",
Position = new Point(320, 180)
});

Use one layer.
Compose the rest.

Read the module beside the complete system.

The implementation, samples, issues, and release notes stay in the parent repository so module details remain connected to the product architecture.

NodeEditor

Search everything.

Loading the index…

move open esc close

Preparing metadata and full-text search…