Northwoods.GoWinForms 10.0.0-alpha1

Suggested Alternatives

Northwoods.GoDiagram.WinForms

Additional Details

Please switch over to the Northwoods.GoDiagram.WinForms package, as that is where future updates will take place.

This is a prerelease version of Northwoods.GoWinForms.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Northwoods.GoWinForms --version 10.0.0-alpha1
NuGet\Install-Package Northwoods.GoWinForms -Version 10.0.0-alpha1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Northwoods.GoWinForms" Version="10.0.0-alpha1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Northwoods.GoWinForms --version 10.0.0-alpha1
#r "nuget: Northwoods.GoWinForms, 10.0.0-alpha1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Northwoods.GoWinForms as a Cake Addin
#addin nuget:?package=Northwoods.GoWinForms&version=10.0.0-alpha1&prerelease

// Install Northwoods.GoWinForms as a Cake Tool
#tool nuget:?package=Northwoods.GoWinForms&version=10.0.0-alpha1&prerelease

GoDiagram, a .NET Library for Diagrams

<img align="right" height="150" src="https://godiagram.com/assets/images/icon.png">

GoDiagram is a .NET library for creating and manipulating diagrams, charts, and graphs.

open issues Twitter Follow

See GoDiagram Samples

Get Started with GoDiagram

GoDiagram is a flexible library that can be used to create a number of different kinds of interactive diagrams, including data visualizations, drawing tools, and graph editors. There are samples for flowchart, org chart, swimlanes, timelines, state charts, kanban, network, mindmap, sankey, family trees and genogram charts, fishbone diagrams, UML, decision trees, pert charts, Gantt, and hundreds more. GoDiagram includes a number of built in layouts including tree layout, force directed, radial, and layered digraph layout, and a number of custom layout examples.

Read more about GoDiagram at godiagram.com

This repository contains both the library and the sources for all samples, extensions, and documentation. You can use the GitHub repository to quickly search through all of the sources.

<h2>Minimal Sample</h2>

Graphs are constructed by creating one or more templates, with desired properties data-bound, and adding model data.

private void Setup() {
  _Diagram = diagramControl1.Diagram;

  // diagram properties
  _Diagram.UndoManager.IsEnabled = true;  // enable undo & redo

  // define a simple Node template
  _Diagram.NodeTemplate =
    new Node(PanelLayoutAuto.Instance)  // the Shape will go around the TextBlock
      .Add(
        new Shape("RoundedRectangle") { StrokeWidth = 0 }
          .Bind("Fill", "Color"),
        new TextBlock {
            Font = "Segoe UI, 14px, style=bold", Stroke = "#333", Margin = 8, // Specify a margin to add some room around the text
            Editable = true
          }
          .Bind("Text")
      );

  // but use the default Link template, by not setting Diagram.LinkTemplate

  // create the model data that will be represented by Nodes and Links
  _Diagram.Model = new Model {
    NodeDataSource = new List<NodeData> {
      new NodeData { Key = "n0", Text = "Alpha", Color = "lightblue" },
      new NodeData { Key = "n1", Text = "Beta", Color = "orange" },
      new NodeData { Key = "n2", Text = "Gamma", Color = "lightgreen" },
      new NodeData { Key = "n3", Text = "Delta", Color = "pink" }
    },
    LinkDataSource = new List<LinkData> {
      new LinkData { From = "n0", To = "n1" },
      new LinkData { From = "n0", To = "n2" },
      new LinkData { From = "n1", To = "n1" },
      new LinkData { From = "n2", To = "n3" },
      new LinkData { From = "n3", To = "n0" }
    }
  };
}

The above diagram and model code creates the following graph. The user can now click on nodes or links to select them, copy-and-paste them, drag them, delete them, scroll, pan, and zoom, with a mouse or with fingers.

<img width="200" height="200" src="https://godiagram.com/assets/images/screenshots/minimal.png">

<h2>Support</h2>

Northwoods Software offers a month of free developer-to-developer support for GoDiagram to help you get started on your project.

Read and search the official <a href="https://forum.nwoods.com/c/GoDiagram">GoDiagram forum</a> for any topics related to your questions.

Posting in the forum is the fastest and most effective way of obtaining support for any GoDiagram related inquiries. Please register for support at Northwoods Software's <a href="https://www.nwoods.com/products/register.html">registration form</a> before posting in the forum.

For any nontechnical questions about GoDiagram, such as about sales or licensing, please visit Northwoods Software's <a href="https://www.nwoods.com/contact.html">contact form</a>.

<h2>License</h2>

The GoDiagram <a href="https://godiagram.com/license.html">software license</a>.

Copyright (c) Northwoods Software Corporation

Product Compatible and additional computed target framework versions.
.NET net6.0-windows7.0 is compatible.  net7.0-windows was computed.  net8.0-windows was computed. 
.NET Framework net462 is compatible.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETFramework 4.6.2

    • No dependencies.
  • net6.0-windows7.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
10.0.0-beta4 234 7/5/2022
10.0.0-beta3 333 4/18/2022
10.0.0-beta2 160 4/11/2022
10.0.0-beta1 158 4/7/2022
10.0.0-alpha9 160 3/22/2022
10.0.0-alpha8 165 2/11/2022
10.0.0-alpha7 156 2/7/2022
10.0.0-alpha6 173 1/6/2022
10.0.0-alpha5 161 1/6/2022
10.0.0-alpha4 175 12/30/2021
10.0.0-alpha3 177 12/22/2021
10.0.0-alpha2 198 12/16/2021
10.0.0-alpha1 209 12/14/2021