Buy now Log in
English
Espanol Deutsch
MindFusion menu
  • Products
    • Suites
      • JavaScript
      • WinForms
      • WPF
      • .NET MAUI
      • Java
      • Diagramming
      • Scheduling
    • JavaScript
      • Diagram
      • Scheduler
      • Chart
      • Data Grid
      • Keyboard
      • Free JS Chart
    • ASP.NET MVC
      • Diagram
    • Blazor
      • Diagram
      • Chart
    • Java
      • Diagram
      • Scheduler
      • Chart
      • Spreadsheet
      • Keyboard
    • WinForms
      • Diagram
      • Scheduler
      • Spreadsheet
      • Chart & Gauge
      • Report
      • Map
      • Virtual Keyboard
      • Dock Control
    • WPF
      • Diagram
      • Scheduler
      • Gantt Chart
      • Spreadsheet
      • Chart & Gauge
      • Report
      • Map
      • Virtual Keyboard
      • UI
    • ActiveX
      • Diagram
    • .NET MAUI
      • Diagram
      • Scheduler
      • Chart
    • Android
      • Diagram
      • Chart
    • iOS
      • Diagram
    • WinUI
      • Diagram
    • WordPress
      • Org Chart Plugin
    • Applications
      • XML Viewer
      • InSight Diagrammer
  • Support
    • Forums
    • Documentation
    • FAQ
    • Help Desk
  • Company
    • About Us
    • Contacts
    • Blog
    • Newsletter
    • Services
    • Clients
    • Testimonials
    • Join Us
  • Downloads
  • Web Store
HomeProductsDiagramming for Winforms
OverviewFeaturesSamplesHelpBuy
In order to run a sample directly from the browser you need to have click-once installed on your browser.

Download the Click-once plugin for Firefox.

Download the Click-once plugin for Chrome.

Anchor Points

All diagram shapes can have anchor patterns - predefined points at the edge where links snap to. There is a set of predefined patterns and you can create your own custom patterns.

WinForms Diagram Control: Anchor Points
Run Download

Anneal Layout

A demonstration of the Anneal layout based on the simulated annealing. This is a a general-purpose optimization method used to solve large-scale combinatorial problems by simulating the process of heating and cooling of metal to achieve freedom from defects.

WinForms Flowchart Control: Anneal Layout
Run Download

Class Diagram

A sample application that parses the type info in an assembly and uses the diagram library to create table nodes each one with data for the members in any class, enum, interface or structure. The tree layout is applied to arrange the nodes.

Class Diagram in C#
Run Download

Clipboard Operations

The control supports the full range of clipboard operations: copy, cut, paste as well import and export of arbitrary number of diagram objects.

WinForms Diagram Control: Clipboard Operations
Run Download

Cluster Layout

This project demonstrates the CompositeLayout, CircularLayout and AnnealLayout graph layout classes. CompositeLayout partitions the diagram into several subgraphs and applies a user-specified layout algorithm to each part.

WinForms Flowchart Control: Cluster Layout
Run Download

Controls

A demonstration of some of the auxiliary controls that ship with the diagram: overview, shape toolbar, zoom control and a ruler control.

WinForms Diagram Library: Auxiliary Controls
Run Download

Custom Draw

Each object in the diagram supports custom drawing. Here the appropriate draw event is handles and diagram links are custom painted in three possible ways - flat, gradient or arrow.

WinForms Diagram Component: Custom Draw
Run Download

Database Schema

The diagram library is perfect for creating any database schema as this sample demonstrates. Draw tables or use the TableRelationships behaviour to connect rows between tables, import a DB schema or save one.

Database Schema with the WinForms Flowchart Control
Run Download

Decision Layout

A demonstration of the decision layout on a random graph. The layout arranged decision boxes with up to 3 outgoing links in rows and columns and exposes properties for specifying the padding between tows, columns and links.

WinForms Diagram Tool: Decision Layout
Run Download

Demo

The demo program for the diagram library shows a selection of the most important features of the control organized in subsections which together list more than 50 interactive samples.

Demonstration of the WinForms Diagram Control
Run Download

Directory Tree

The sample enumerates the directory structure of your computer and creates a node for each folder. It then customizes the TreeLayout to arrange the nodes in a hierarchical structure.

Directory Tree with the .NET Flowchart Control
Run Download

Effects

A demonstrates of the available node effects with possible customization options: glass, aero, emboss and smooth shadow effects in different colors and backgrounds.

.NET Flowchart Control: Node Effects
Run Download

Entities

Customized table nodes are used here to provide entity objects where users can add description and input/output data. The nodes have anchor points for individual nodes and you can connect them.

.NET Diagram Component: Entities
Run Download

Event Logger

Learn which events are fired when the user interacts with the diagram - when nodes are created, deleted, connected, moved, resized etc.

.NET Diagram Tool: Events
Run Download

Export and Import

The library supports export to multiple formats including PDF, SVG, Bitmap images, DXF and Visio. The sample demonstrates how this is done including how to export custom-drawn elements.

WinForms Diagram Control: PDF Export
Run Download

Fishbone

This fishbone diagram is made from derived node classes, which implement custom drawing by overriding the Draw and DrawShadow methods. The sample also includes handling of custom user interaction and hit testing.

.NET Diagram Component: Fishbone Diagram
Run Download

Floor Plan

An imitation of a living space designer. The sample shows how to create derived diagram and node classes for storing addition data and implementing custom interaction logic and how to set new measure units for the Ruler control.

Floorplan Designer with the .NET Diagram Tool
Run Download

Flowcharter

A ready-to-use application for drawing flowcharts. It includes a list with various diagram shapes to choose from, a color selection menu, save and load buttons, print and clipboard operations.

WinForms Application for Flowcharts
Run Download

Form Editor

A demonstration of the ControlNode objects, which can host any .NET control. In this case a sample form is created by the available text box, label and button shape nodes.

Build .NET Forms with the Diagram Control
Run Download

Fractal Layout

A demonstration of the fractal layout on a random graph. The fractal layout is a tree-like algorithm that places child nodes symmetrically around their parent node.

WinForms Diagram Control: Fractal Layout
Run Download

Genealogy

This sample uses a genealogy tree example to teach you how to save and load diagrams from a database programmatically. Each person and relationship you create is persisted in a DB file.

Genealogy Tree with the .NET Diagram Control
Run Download

Icon Nodes

Learn how to create a custom node class derived from DiagramNode that exposes some new properties and implements its own drawing logic.

Icon Nodes in the WinForms Diagram Control
Run Download

Interactive Table

This sample draws a combo box whenever a table cell is clicked. It handles the inPlaceEdit event for the diagram to render the combo box and displays the chosen item as text in the cell.

Interactive Tables with the .NET Flowchart Tool
Run Download

JavaScript Parser

The FlowChart layout is ideal for arranging code syntax diagrams. Here arbitrary JavaScript code is parsed to create a flowchart graph which is ordered with the FlowChart automatic layout.

Parse JavaScript with the .NET Diagram Control
Run Download

Lanes

The lanes property of the flowchart library is used here to create a sample Gantt chart. Nodes can be placed only in lanes.

Lane Diagram with the WinForms Diagram Control
Run Download

Layered Layout

The Layered layout assigns diagram nodes to distinct horizontal or vertical layers. While arranging the layers, the algorithms seeks to arrange connected nodes close to one another, aims to arrange links to flow in one direction and cross as few layers as possible and not cross other links.

WinForms Diagram Control: Layered Layout
Run Download

Link Routing

The routing algorithm for diagram nodes exposes many parameters, which you can adjust. Move the sliders to change routing cost properties and check how they affect arrow routes. Each cost property is a penalty value added by the route evaluation algorithm to the cost of a route when a given condition is met.

WinForms Flowchart Component: Link Routing
Run Download

Logic Gates

A selection of logic gate images are used to populate a list from which users can drag and drop icons. Each icon turns into a diagram node, which contains the image. Use the nodes to build a digital circuit.

.NET Flowchart Tool: Logic Gates
Run Download

Logic Model

The NodeListView control is used to hold instances of TableNode-s that represent resources, activities, outputs and outcomes. Select nodes from the left and drop them onto the three containers to the right to create a logic model

WinForms Diagram Control: Logic Model Demo
Run Download

Magnifier

The magnifier tool is one of the auxiliary tools that come with the library. It has multiple customization options as this example demonstrates - shape, size, magnification factor and trigger events.

.NET Flowchart Control: Magnifier Tool
Run Download

Molecule Viewer 3D

A structural formula for a chemical compound is rendered with the DiagramView3D component. You can drag the mouse to move the camera across the plane and use the mouse wheel to move the camera back and forth. Drag + Ctrl rotates the camera.

3D Molecule Viewer with the Diagram Control
Run Download

Multiple Views

The sample shows you how to attach several views to the same Diagram object and how updating the diagram through one of the views causes all others to refresh themselves and reflect the change.

WinForms Diagram Control: Multiple Views
Run Download

Predefined Shapes

A list with all predefined node shapes that ship with the control. You can look a shape from this list, note its string identifier and then create it in code.

WinForms Diagram Library: Predefined Node Shapes
Run Download

Process Layout

The powerful SwimlaneLayout is used here to arrange a random flowchart with nodes that demonstrate a process. The layout separates the nodes in lanes, which makes the process clear to understand and easy to follow by the user.

WinForms Diagram Component: Process Layout
Run Download

Reflections

A special kind of node has been defined in code, which renders the reflection of its content. The sample lets you create nodes with drag and drop from the NodeListView to the right. You can also customize image nodes by clicking on them.

WinForms Flowchart Control: Reflection Custom Node
Run Download

Scripting

Use the MindFusion.Scripting dll to implement a dynamic process calculation. The sample lets you create nodes of different types that illustrate the logic flow of a function. Several predefined examples are included.

WinForms Flowchart Control: The  Scripting Library
Run Download

Sequence Diagram

The NodeListView control to the right in this sample contains only two types of nodes - an object and a message. You can use them to create new items in this sequence diagram as well customize the existing items to build a useful chart that shows how the objects operate with each other and the order of action.

.NET Flowchart Library: Sequence Diagram
Run Download

Shape Designer

The shape designer application provides you with a GUI to customize your own diagram nodes based on any of the predefined diagram nodes that ship with the diagram. The code for the new shape is generated in both C# and VB.NET, the application also supports a set of appearance customization options, import, export and other options.

.NET Diagram Library: Shape Designer Tool
Run Download

Site Map

This sample generates the HTML for all pages in a website whose diagram you draw. You just need to draw the connector from the root page to the next page in the hierarchy. A dialog with the properties for the new page appears and its node is created automatically.

.NET Diagram Control: Site Map Designer
Run Download

Software Designer

That's an application that lets you drag and drop diagram nodes that represent different elements in a software application: class, enum, interface. You can choose among two connector types, which show inheritance or containment and add annotations.

C# Software Designer Tool
Run Download

Spring Layout 3D

This is an animated 3D version of the SpringLayout algorithm. The nodes are displayed with the DiagramView3D control. You can use the mouse to perform various actions on the camera: pan, rotation as well back and forth movement.

C# Diagram Control: 3D Spring Layout
Run Download

Stress Test

This sample provides you with the fastest way to create nodes and lets you examine the speed time with which any number of nodes and links between them are generated. You can also test how the arrow routing feature affects the speed.

C# Diagram Component: Stress Test
Run Download

Tabbed View

The TabbedDiagramView control is a full-featured tabbed control that lets you add unlimited number of tabs each one with a DiagramView. The control supports plenty of customization options: you can change how and where the tab navigation buttons appear and which of them and choose which of them are rendered.

WinForms Diagram Control: Tabbed Pages
Run Download

Telephony

You can use the diagram control to build IVR-like flowcharts. The sample also demonstrates automatic link routing and node grouping, which creates compound diagram nodes. The NodeListView control is used to host a few custom nodes used by the application.

.NET Diagram Library: Telephony Sample
Run Download

Ternary Connections

Here the feature of DiagramLink-s to be unconnected to any node is used to create ternary connections. You can draw a link from a node to another link. Then the the connector is split in two parts which stay temporarily unconnected. The LinkCreated event is handled where a medium box node is created.

.NET Flowchart Control: Ternary Connections
Run Download

Tree Layout

The TreeLayout algorithm is the perfect way to arrange a hierarchy. Drag and drop nodes from the bottom and see how they get arranged automatically. Create child nodes by clicking on a node, expand and collapse hierarchies or move a parent node to see how its children move along.

.NET Diagram Tool: Tree Layout Sample
Run Download

Treemap

The treemap algorithm is a special algorithm that represents the objects as polygons with different size and colors. The size and color of each polygon provide information about the item in the hierarchy based on the sorting criteria that was chosen.

.NET Flowchart Component: Treemap Layout
Run Download

Tutorial 1

Learn the first steps to create a diagram from an XML file and arrange it using the LayeredLayout algorithm. The sample also demonstrates some basic appearance settings for nodes and links.

C# Diagram Control: Tutorial 1
Run Download

Tutorial 2

This tutorial teaches you how to create a hierarchy of nodes reading an XML file. Child nodes are created recursively using a method. When all nodes and links are created, the TreeLayout is applied to arrange the nodes.

C# Flowchart Tool: Hierarchy  Tutorial
Run Download

Visio Stencils

The sample demonstrates the control's ability to import and export Visio drawings. Here you can import any file with stencils created in Microsoft Visio and see how they load in the NodeShapeList control.

WinForms Diagram Control with Visio Stencils
Run Download

Workflow Designer

Use this sample application to create a scheme of any workflow process. Drag and drop activity or condition nodes, edit their text and build a logical sequence of nodes that illustrates any work process. The nodes get arranged automatically based on their type.

.NET Diagram Library: Workflow Designer
Run Download

MindFusion WinForms Pack

  • Charting
  • Diagramming
  • Scheduling
  • Spreadsheets
  • Gauges
  • Reporting
  • Mapping
  • Virtual Keyboard

    News

  • Build an area chart in JavaScript with a cross hair marker that is implemented as a custom renderer class derived from Renderer2D.

    May 21st, 2025

  • Read the new tutorial how yo show marker lines on top of an area chart, which could be used to emphasize important or border values like dates on a timeline.

    May 12th, 2025

  • The new video tutorial explains in details how to build a devops flowchart from scratch with Mindfusion Diagramming for JavaScript

    May 5th, 2025

    Components

  • JavaScript
  • WinForms Pack
  • WPF Pack
  • .NET MAUI Pack
  • Java
  • Diagramming Pack
  • Scheduling Pack

    Get Products

  • Direct Downloads
  • License Scheme
  • XML Viewer

    Get Support

  • Forum
  • E-mail
  • Online Documentation
  • FAQ
  • Help Desk

    Company

  • Clients
  • Testimonials
  • About Us
  • Services
  • Contacts
  • Online Store
  • Blog
  • News Feed
  • Newsletter
  • E-mail: info@mindfusion.eu
    Phone: +359 889 199 729
    Fax: +359 2 931 54 38

Terms of Use Site Map Contact Us
Copyright © 2001-2018 MindFusion LLC. All rights reserved.