A node editor control for Avalonia.
The node editor is an Avalonia control for editing and rendering nodes and connectors. Node contents can be defined from xaml. Node controls, connectors and pins can be retemplated from xaml or used with the provided default theme. The contents of the nodes are rendered based on provided view models. The default implementation of the view models is done using ReactiveUI, users can create their own view models based on core model interfaces. The node contents are resolved using the provided object type by view locator.
First, clone the repository or download the latest zip.
git clone https://github.com/wieslawsoltes/NodeEditor.git
Open up a command-prompt and execute the commands:
.\build.ps1
Open up a terminal prompt and execute the commands:
./build.sh
Open up a terminal prompt and execute the commands:
./build.sh
git clone https://github.com/wieslawsoltes/NodeEditor.git
dotnet workload install wasm-tools
dotnet run --project ./samples/NodeEditor.Web/NodeEditor.Web.csproj -c Release
NodeEditor is delivered as a NuGet package.
You can find the packages here NuGet and install the package like this:
Install-Package NodeEditorAvalonia
- NodeEditorAvalonia - The main package with Avalonia controls and default theme.
- NodeEditorAvalonia.Model - The base interfaces used in controls and view models.
- NodeEditorAvalonia.MVVM - The MVVM view models with default implementation.
NodeEditor is licensed under the MIT license.