The Xamarin.Forms diagram is a feature-rich library for visualizing, creating, and editing interactive diagrams. It supports creating flowchart, organizational charts, mind maps, use case diagrams and more either through code or a visual interface.
Organizational chart helps you to visualize the structure of an organization. Syncfusion Xamarin.Forms Diagram Control provides built-in automatic layout algorithm specifically made for organizational chart to arrange the parent and child nodes position automatically.
Like organizational chart, Xamarin.Forms Diagram Control provides built-in automatic layout algorithm specifically made for mind map diagram which allows you to define which topic should be at the center and which sub-topics should be placed around the center topic in the diagram surface.
The Xamarin.Forms diagram control provides required flowchart shapes as ready-made objects to build flowchart diagram. Therefore, it is easy to add them in a diagram surface in a single call.
Visualize any graphical object using nodes, which can be arranged and manipulated at the same time on a diagram page.
Use many predefined standard shapes that are built into the diagram control.
Create and add custom shapes easily.
In addition to the above, design a node UI template and reuse it across multiple nodes.
Fully customize the appearance of a node.
Connector represents the relationship between two nodes. Some of the key features are listed here.
There are straight, orthogonal, and curved connector types. You can choose any of these based on the type of diagram or relationship between the connected notes.
Use different types of predefined arrow heads to illustrate flow direction in flowchart diagram. You can also build your own custom arrowheads based on your requirement.
Like nodes, connectors' look and feel can also be customized any way you want. The Xamarin.Forms Diagram Control provides a rich set of properties through which you can customize connector color, thickness, dash and dot appearance, rounded corners, as well as decorators.
You can populate org chart or mind map diagrams based on data from data sources. In addition, 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. Diagram also supports loading data from a List, or IEnumerable collection.
Connect to specific places on a node through different types of ports or connecting points.
Additional information can be shown by adding text or labels on nodes and connectors.
You can add and edit text at runtime and mark it read-only if it should not be edited.
Add any number of labels and further align them individually.
Labels include sophisticated alignment options. Automatically align when a node or connector moves.
Use interactive features to improve the editing experience of a diagram at run time. You can easily edit a diagram with touchscreen.
You can resize a node in eight different directions and lock a nodes' aspect ratios to keep its shape. You can also rotate selected nodes at 360 degrees.
For editing mistakes, undo and redo commands reverse recent changes. The selected object in the diagram can also be cut, copied, and pasted.
You can easily edit the connectors' route by dragging thumbs that are visible after selection.
When multiple objects overlap, z-order controls which object needs to be on top or at the bottom.
Frequently used commands like delete, connect, and duplicate can be shown as buttons near a selector. This makes it easy for users to quickly perform those operations instead of searching for the correct buttons in a toolbox.
Draw connectors and connect it with nodes interactively by just touch and move on the drawing area.
View a large diagram closer or wider by zooming in and out. Also, you can navigate from one region to another by panning through the diagram.
Includes a gallery of stencils, besides reusable symbols, and nodes that can be dragged onto the surface of a diagram.
The overview panel allows you to improve the navigation experience when exploring large diagrams. It displays a small preview of the full diagram page that further allows users to zoom and pan within it.
You can save your diagram state in JSON format and load it back later for further editing using the serializer.
You can export the diagram in PNG and JPEG image file formats.
In addition to the above, there are several other features that enhance the diagramming experience.
Gridlines provide guidance when trying to align objects. Precisely align nodes, connectors, and annotations easily while dragging just by snapping to the nearest gridlines.