BAndysc / nodify-avalonia

Highly performant and modular controls for node-based editors designed for data-binding and MVVM for Avalonia. Port of WPF's version: https://miroiu.github.io/nodify

Home Page:https://github.com/BAndysc/nodify-avalonia

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NodifyAvalonia Nodify.Avalonia

NuGet NuGet License C#

This is a direct port of Nodify by miroiu to Avalonia.

A collection of highly performant controls for node based editors designed for MVVM.

The goal of the port is to keep the codebase as similar to the original code as possible, to the point, where merges from the upstream are not a problem.

๐Ÿš€ Examples of node-based applications

๐ŸŽจ A playground application where you can try all the available settings.

Examples/Nodify.Playground

Playground

๐ŸŒ“ A state machine where each state represents an executable action, and each transition represents a condition for the next action to execute.

Examples/Nodify.StateMachine

StateMachine

๐Ÿ’ป A simple "real-time" calculator where each node represents an operation that takes input and feeds its output into other nodes input.

Examples/Nodify.Calculator

Calculator

๐Ÿ“ฅ Installation

Use the nuget package manager to install NodifyAvalonia.

Install-Package NodifyAvalonia

And include Nodify resources:

<ResourceInclude Source="avares://Nodify/Theme.axaml" />

โš ๏ธโš ๏ธ Please do not confuse with Nodify.Avalonia which is a different package โš ๏ธโš ๏ธ

Avalonia version compatibility chart:

Nodify version Avalonia version
6.0.0 11.1.0-beta-2
5.3.0 11.1.0-beta-2
5.2.0 11.1.0-beta-1

โญ๏ธ Features

  • Designed from the start to work with MVVM
  • No dependencies other than WPF Avalonia
  • Optimized for interactions with hundreds of nodes at once
  • Built-in dark and light themes
  • Selecting, zooming, panning with auto panning when close to edge
  • Select, move and connect nodes
  • Lots of configurable dependency properties
  • Ready for undo/redo
  • Example applications: ๐ŸŽจ Playground, ๐ŸŒ“ State machine, ๐Ÿ’ป Calculator

๐Ÿ“ Documentation

For the wiki please refer to the original miroiu's Wiki since the API is identical, but please report bugs here. However, if you find a bug, please try to check if it also occurs in the original WPF's version.

โค๏ธ Contributing

If you find a bug in Avalonia port, bug reports, PRs are more than welcome. If you think this might be not related to Avalonia, please try to reproduce it first in the original WPF's version.

About

Highly performant and modular controls for node-based editors designed for data-binding and MVVM for Avalonia. Port of WPF's version: https://miroiu.github.io/nodify

https://github.com/BAndysc/nodify-avalonia

License:MIT License


Languages

Language:C# 100.0%