Skip to main content

Diagrams

  • 2 minutes to read

The WinForms Diagram control allows you to incorporate fully customizable diagrams into your applications. You can draw diagrams within an integrated designer, generate diagrams from a data source, load visualizations from an XML file, or use a Diagram API to build diagrams programmatically.

WinForms Diagram Control

Run Demo Watch Video

Diagram Designer

The Diagram control includes both a Visual Studio diagram designer and a runtime designer that replicates the features and capabilities found in Microsoft Visio. You can create diagrams at design time and allow your users to draw org charts, flowcharts, and diagrams from scratch at runtime.

WinForms Diagram Designer, DevExpress

The Diagram Designer includes the following features:

  • Save/Load Diagrams
  • Visio-inspired and Custom Diagram Themes
  • Print Diagrams
  • Export Diagrams to PDF, SVG, PNG, JPEG, BMP, GIF
  • Undo/Redo and Clipboard Operations
  • Select and Transform Shapes
  • Rulers and Dynamic Grid
  • Pan, Zoom, Scroll

Read the following topic for details: Diagram Designer.

Create Diagrams from a Data Source

The Diagram control allows you to generate diagrams from a data source. It supports various data sources and technologies, which include: ADO.NET Data Sets, Entity Framework, WCF Data Services, LINQ to SQL, XML, DevExpress ORM Tool (XPO), etc.

Create Diagrams from a Data Source - WinForms Diagram Control, DevExpress

Run Demo Watch Video

Read the following topics for details:

Shapes and Connectors (Items)

From basic and FlowChart shapes to software and SDL diagram shapes, the Diagram control ships with over 130 built-in shapes, containers, visuals, and connectors. You can also import SVG graphics, create custom shapes, and customize shape paths.

Shapes and Connectors - WinForms Diagram, DevExpress

The advanced features include:

  • Text Editing
  • Drag & Drop
  • Resize and Rotate
  • SVG & Raster Graphics
  • Shape Containers & Lists
  • Automatic Routing

Read the following topic for details: Shapes.

Automatic Layout

The Diagram control allows you to arrange shapes quickly to create well organized diagrams.

Automatic Layout Styles - WinForms Diagram Designer, DevExpress

You can use the following shape arrangement options (algorithms):

  • Tree Graph
  • Layered (Sugiyama) Graph
  • Circular Layout
  • Tip-Over Tree Layout
  • Mind-Map Tree Layout
  • Org Chart Layout

Read the following topic for details: Automatic Layout.

See Also