The WPF Diagram control allows users to quickly create and edit flowcharts, organizational charts, UML diagrams, swim lane charts, mind maps, floor plans, and more within their applications.
The WPF Diagram control provides all the standard flowchart shapes as ready-made objects to build flowcharts, making it is easy to add them to a diagram surface in a single call. A built-in automatic layout algorithm has been specifically made for flowchart to arrange each flowchart shapes automatically without specifying the co-ordinates.
Built-in automatic layout algorithm specifically made for organizational charts to arrange parent and child node positions automatically.
Create mind map diagrams with a built-in, automatic layout algorithm to define a central node that represents an idea or a concept and other nodes to be placed around it.
Quickly load large diagrams using UI-virtualization techniques, which selectively loads the objects that lie within the viewport area. Smooth scrolling performance is achieved using a built-in spatial search algorithm that builds an index based on the element position.
Visualize any graphical object using nodes that can also be arranged and manipulated on a diagram page.
Use 445+ standard built-in shapes or your own custom shapes.
You can use text, image, controls, panels, or any UIElement or template to visualize a node. It can also be bound to any of your business objects.
A connector is used to represent a relationship between two nodes. Some of the key features are listed below.
The types of connectors are straight, orthogonal, and curved. Choose any of these based on the type of diagram or relationship between the connected notes.
Use arrowheads (decorator) to indicate the flow direction in a flowchart or state diagram. Also build custom arrowheads based on the type of diagram.
Orthogonal connectors take the shortest and smartest path to avoid overlapping neighboring nodes.
Bridging (line jumps) clearly indicates connector’s route and makes it easier to read where connectors overlap in a dense diagram.
Customize the look and feel of a connector. A rich set of properties is available to customize color, thickness, dash dots, rounded corners, and decorators.
Connect to the desired location of a node using different types of ports or connecting points available.
Build logic gates or a circuit diagram with dedicated pins and restrict in or out connections using node ports.
Use connector ports to indicate message flows between objects or lifelines in a sequence diagram.
Make parallel connections to a block diagram by connecting anywhere on the side of a block. They are automatically created or destroyed.
Control dynamic connections to specific sides or in a specific direction using dock ports.
Show additional information by adding text or labels on nodes and connectors.
Add and edit text at runtime. Also, mark it read-only if it should not be edited.
Add any number of annotations and align them individually.
The WPF Diagram has sophisticated alignment options where annotations can be placed:
Use interactive features to improve the editing experience of a diagram at runtime. Furthermore, easily edit a diagram with mouse, touchscreen, or keyboard interfaces.
Select one or more nodes, connectors, or annotations and edit them using thumbs or handlers.
Resize a node in eight different directions. Lock the aspect ratio to maintain the shape after resizing. Resize multiple objects at the same time.
Rotate a selected node 360 degrees.
Align nodes, connectors, and annotations when dragging precisely, just by snapping to the nearest gridlines or objects.
Undo and redo commands help reverse actions.
Cut, copy, paste, or duplicate selected objects within and across diagrams.
When multiple objects overlap, the Z-order controls which object needs to be at the top or bottom.
Combine multiple nodes together and interact with them as a single object called a group. Nodes can belong to more than one group.
Frequently used commands like delete, connect, and duplicate can be shown as buttons near selectors. This helps in quick operations, instead of finding buttons in a toolbox.
The WPF Diagram control has predefined alignment commands to align the selected objects nodes and connectors to the selection boundary.
Place selected objects on a diagram at equal intervals.
Use sizing commands to size of the application nodes to meet your performance requirement.
Align nodes or connectors in the selection list to the left, right, or center horizontally, or at the top, bottom, or middle vertically to the selection boundary.
WPF Diagram control provides an automatic layout algorithm, which is used to arrange nodes automatically based on a predefined layout logic. There is built-in support for organization chart layout, hierarchical tree layout, flowchart layout, mind map layout and radial tree layout.
Draw nodes and link them interactively, just by clicking and dragging on a diagram surface.
The stencil control is a gallery of reusable symbols and nodes. Drag and drop these symbols onto the surface of a diagram any number of times.
When a diagram is large, see it closer or wider by zooming in and out of the diagram. Also, navigate from one region to another by panning through the diagram.
Improve the navigation experience when exploring large diagrams using the overview control. It displays a small preview of the full diagram page. It also allows users to perform operations such as zooming and panning within it.
Measure the distance of nodes and connectors from the origin of the page using rulers. In addition, specify the size and position of objects in different units like pixels, inches, and centimeters.
Populate diagrams with nodes and connectors based on data from data sources. Data in any format can be easily converted, mapped, and consumed in the diagram by setting a few properties, without having to write any code.
There are several other features available to enhance the diagramming experience.
The WPF Diagram control supports printing with a print preview option. Customize the page size, orientation, page margins, and fit to a single page.
Share your diagrams with others by easily exporting them as .xps, .png, .jpeg and .bmp file formats.
The WPF Diagram control is MVVM-friendly and seamlessly works with popular MVVM frameworks like Prism and MVVM light.
You can save your diagram state as an XML file and load it back for editing again.
Localize every static text in the control to any supported language.
Map frequently used commands to the context menu.
Gridlines provide guidance when trying to align objects.
The WPF Diagram control provides a page-like appearance to a drawing surface using page size, orientation, and margins.
Easily get started with the WPF Diagram using a few simple lines of XAML, and C# code example as demonstrated below. Also explore our WPF Diagram Example that shows you how to render and configure the XAML diagram.
<Grid> <!--Initializes the SfDiagram in XMAL window--> <syncfusion:SfDiagram x:Name="diagram"/> </Grid>
// Initializes the SfDiagram SfDiagram diagram=new SfDiagram();
We do not sell the WPF Diagram control separately. It is only available for purchase as part of the Syncfusion WPF suite, which contains over 100 WPF controls, including Diagram. A single developer license for the Syncfusion Essential Studio for WPF suite costs $995.00 USD, including one year of support and updates. On top of this, we might be able to offer additional discounts based on currently active promotions. Please contact our sales team to see if you qualify for any additional discounts.
No, our 100 WPF controls, including Diagram, are not sold individually, only as a single package. However, we have competitively priced the product so it only costs a little bit more than what some other vendors charge for their Diagram alone. We have also found that, in our experience, our customers usually start off using one of our products and then expand to several products quickly, so we felt it was best to offer all 100 WPF controls for a flat fee of $995/developer. On top of this, we might be able to offer additional discounts based on currently active promotions. Please contact our sales team today to see if you qualify for any additional discounts.
No, this is a commercial product and requires a paid license. However, a free community license is also available for companies and individuals whose organizations have less than $1 million USD in annual gross revenue and five or fewer developers.
A good place to start would be our comprehensive getting started documentation.
Greatness—it’s one thing to say you have it, but it means more when others recognize it. Syncfusion is proud to hold the following industry awards.