NodeEditor/README.md

3.0 KiB

NodeEditor

Build Status CI

NuGet NuGet

A node editor control for Avalonia.

About

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.

image

Building NodeEditor

First, clone the repository or download the latest zip.

git clone https://github.com/wieslawsoltes/NodeEditor.git

Build on Windows using script

Open up a command-prompt and execute the commands:

.\build.ps1

Build on Linux using script

Open up a terminal prompt and execute the commands:

./build.sh

Build on OSX using script

Open up a terminal prompt and execute the commands:

./build.sh

Web

git clone https://github.com/wieslawsoltes/NodeEditor.git
dotnet workload install wasm-tools
dotnet run --project ./samples/NodeEditor.Web/NodeEditor.Web.csproj -c Release

NuGet

NodeEditor is delivered as a NuGet package.

You can find the packages here NuGet and install the package like this:

Install-Package NodeEditorAvalonia

Available Packages

Package Sources

Resources

License

NodeEditor is licensed under the MIT license.