sgcDiagram Feature Matrix
Everything sgcDiagram does, grouped by task, with a link to the help topic of each feature. A diagram saved as JSON opens in Delphi, C++ Builder and .NET.
Everything sgcDiagram does, grouped by task, with a link to the help topic of each feature. A diagram saved as JSON opens in Delphi, C++ Builder and .NET.
7 features
5 features
7 features
6 NuGet packages
Online help and PDF manuals
Registered marks the features that are in the Registered and Trial editions and not in the free Community edition. ~ marks a feature that Community has in part, with the difference below it.
Every row links to its help topic. The Community column shows what the free .NET Community edition includes; Registered and Trial include everything.
| Feature | Details | Community | Help |
|---|---|---|---|
| Palette and editor | Users drag shapes from TsgcVCLDiagramPalette onto TsgcVCLDiagramView, connect ports and edit text in place. | Help | |
| 14 shapes | Process, decision, terminator, data, document, container, image, SVG path and more. | Help | |
| Connectors | Straight, orthogonal and curved connectors with labels and arrows. Obstacle avoiding routing is in the Registered edition. | ~Community routes orthogonal connectors as simple elbows that do not avoid the nodes. | Help |
| Ports and gluing | Connectors glue to the ports of the nodes and follow them. | Help | |
| Undo and clipboard | Undo and redo of every action, grouped changes with BeginTransaction and EndTransaction, copy and paste. | Help | |
| Snapping and guides | Snap to grid and alignment guides. | Help | |
| Layers | Several layers in one diagram. The Community edition has one layer. | Registered | Help |
| Accessibility | Nodes, links, groups and the shape palette are exposed to UI Automation, with a generated text alternative for the diagram. Keyboard alternatives move, nudge and resize nodes, draw links (Ctrl+K) and add shapes from the palette, the focus ring is always visible and Windows high contrast is followed. On by default on VCL (Delphi 7 to 13), FireMonkey on Windows, WinForms, WPF and Avalonia. | Help |
| Feature | Details | Community | Help |
|---|---|---|---|
| Layered layout | One call arranges the whole diagram, left to right or top to bottom, in one undo step (TsgcDiagramLayeredLayout). | Registered | Help |
| Tree layout | TsgcDiagramTreeLayout for org charts and hierarchies. | Registered | Help |
| Data binding | TsgcDiagramDataBinding builds a diagram from a dataset, for example an org chart from a table. | Registered | Help |
| NodesSource and LinksSource (.NET) | TsgcWpfDiagramView and TsgcAvaloniaDiagramView build the diagram from collections: NodesSource gives one node per item, NodeParentMember a connector to its parent for an org chart, and LinksSource one connector per item for a graph. TsgcWinFormsDiagramView binds NodesDataSource and LinksDataSource. The binding is one way: the diagram is rebuilt when the data changes. | Registered | Help |
| Designer and sample diagram (.NET) | The WinForms view opens in the Visual Studio designer on .NET Framework and on .NET 8 or later, and a view with no nodes shows a small sample flow in the designer and in the WPF and Avalonia previewers. In the Registered edition the smart tag also shows Nodes Data Source, Node Key Member, Node Parent Member and Links Data Source. | Help |
| Feature | Details | Community | Help |
|---|---|---|---|
| JSON files | SaveToFile and LoadFromFile; the same file opens in Delphi, C++ Builder and .NET. | Help | |
| PNG and SVG export | TsgcDiagramRenderer and the view save PNG and SVG, also on a server or console without a window, Linux64 included. | Help | |
| Themes and styles | Light and dark themes shared with the other sgcUI products, per node styles, custom drawing with OnDrawNode. | Help | |
| Viewer mode | ReadOnly shows diagrams without edits. | Help | |
| Right to left (Arabic and Hebrew) | The palette, rulers, minimap and toolbars are mirrored; the canvas keeps the geometry of your shapes, and shape text reads in its own direction. dglRightToLeft makes the layered and tree layouts (Registered) read from the right. | Help | |
| Printing and print preview | Print and ShowPrintPreview print the whole diagram, the same area as the PNG and SVG export, without the selection, the handles and the guides. PrintSettings sets the paper, orientation, margins, scaling, header and footer once for the printer, the preview and the PDF. In every edition, on VCL, FireMonkey, WinForms, WPF and Avalonia (FireMonkey prints on Windows and macOS). | Help | |
| Accessible PDF export, PDF/UA and PDF/A (with sgcPDF) | ExportToPDF writes vector pages with real text and an alternative text with the number of shapes and connectors and the shape texts. The file is a tagged PDF/UA document by default, and PDFALevel adds PDF/A-2a or PDF/A-3a. Needs the sgcUIPDF bridge and a licensed sgcPDF (esegece.sgcUICore.sgcPDF in .NET). | Registered | Help |
The .NET diagram is a C# port with the same class names, for WinForms, WPF and Avalonia, with a headless rendering package.
| Package | Edition | Contents |
|---|---|---|
esegece.sgcDiagram.Community | Community (free) | Core library |
esegece.sgcDiagram | Registered | Core library |
esegece.sgcDiagram.WinForms | Registered | Windows Forms controls |
esegece.sgcDiagram.Wpf | Registered | WPF controls |
esegece.sgcDiagram.Avalonia | Registered | Avalonia controls |
esegece.sgcDiagram.Rendering | Registered | Headless rendering |
Every feature of sgcDiagram is documented in the sgcUI help, with one build for each development environment.
Start with the sgcDiagram introduction, then follow the quick start and the feature topics.
Delphi →The complete sgcUI help as a PDF file, to read offline or print.
Delphi (PDF) →