Overview
TMS Diagram Studio is a set of components for Delphi and C++ Builder to easily add feature-rich and user friendly diagramming, flowcharting & graphing capabilities to your applications.
Diagram Studio provides TatDiagram component, a panel-like control where user can build diagrams by inserting blocks, lines and linked them together. TDiagramToolBar component is also provided to allow easy and fast editing of diagram component with no line of code.
The blocks in diagram can be customized by user by changing dozens of available properties. User can change shapes of blocks, shadow, bitmaps, among other features. Blocks can be rotated and resized.
Diagram Studio provides an open architecture to allow users to building their own blocks by inheriting from TCustomDiagramBlock class and registering then by using RegisterDControl procedure.
Among the many features that make Diagram Studio the ultimate diagramming and flowcharting component set are:
Diagram editing behaviour similar to standard diagramming applications;
Support clipboard operations;
Block gradient, shadow and bitmap;
Diagram navigator control for a full overview of diagram;
Full block customization: pen, brush, color, selection color, minimum width and height;
Block text customization: horizontal and vertical alignment, font, word wrap, clipping;
Customizable link points in blocks;
Inplace block text editing;
Full line (link) customization: pen, source arrow shape, target arrow shape;
Arc & bezier lines, polygon objects;
Block rotation supported (including text, bitmap, metafiles and gradient);
TDiagramToolBar component for easy diagram editing with no line of code;
Several selector components (pen width, pen style, font, shadow, gradient) for easy editing of diagram;
Design-time diagram editing support;
Diagram snap grid;
Diagram background image (stretched or tiled);
Diagram rulers;
Diagram printing and previewing;
Saving/Loading diagram to/from file and stream;
Diagram zoom in/out;
Panning;
Support for different layers;
Support for node support in connected blocks and block hiding with node collaps/expand;
Open architecture for building custom blocks and lines inherited from base classes;
Helper class TBlockDrawer for easy custom drawing on custom blocks;
Lots of ready-to-use TAction descendants available for specific diagram operations: clipboard operations, object deletion and inserting, zooming, and more.
Rebuilding Packages
If for any reason you want to rebuild source code, you should do it using the "Packages Rebuild Tool" utility that is installed. There is an icon for it in the Start Menu.
Just run the utility, select the Delphi versions you want the packages to be rebuilt for, and click "Install".
If you are using Delphi XE and up, you can also rebuild the packages manually by opening the dpk/dproj file in Delphi/Rad Studio IDE.
Do NOT manually recompile packages if you use Delphi 2010 or lower. In this case always use the rebuild tool.
In this section:
Getting Started
Using the TatDiagram component: overview of key features.
Working with Diagram Studio programmatically
How to programmatically handle diagrams and some examples.
Live Diagram
The "executable" version of TatDiagram.