Skip to content
Miroiu Emanuel edited this page Oct 7, 2020 · 11 revisions

Welcome to Nodify!

Nodify is a WPF control library that offers the base controls needed for a node based editor.

Requirements

IDE .NET C#

Install Nodify from Nuget

Download Package

Install-Package Nodify

Quick start

Declare the namespace: xmlns:nodify="http://miroiu.github.io/winfx/xaml/nodify"

Use the following XAML:

<nodify:NodifyEditor>
    <nodify:Node Header="My node"
                 nodify:ItemContainer.LocationOverride="100 100" />
    <nodify:Node Header="My other node"
                 nodify:ItemContainer.LocationOverride="200 100" />
    <nodify:GroupingNode Header="Grouping node"
                         Width="300"
                         Height="150"
                         nodify:ItemContainer.LocationOverride="50 50" />
    <nodify:KnotNode nodify:ItemContainer.LocationOverride="400 100" />
</nodify:NodifyEditor>

Merge one of the following dictionaries in your application's resources to change the theme:

Dark theme (default if not specified):

<ResourceDictionary Source="pack://application:,,,/Nodify;component/Themes/Dark.xaml" />

Light theme:

<ResourceDictionary Source="pack://application:,,,/Nodify;component/Themes/Light.xaml" />

If you see this, then we're good to go:

Result

Documentation

Table of contents

Application examples

Clone this wiki locally