Where in the world is TMS Diagram Studio?


Wednesday, April 21, 2010

TMS Diagram Studio provides a ready-to-use editor which you invoke just by calling TDiagramEditor.Execute method. It's nice because the programmer doesn't have to deal with menu items, toolbars, etc - all is already done so your end-user can edit, open and save diagrams quickly.

However, this sometimes gives the wrong impression that Diagram Studio is limited to be a diagram editor - a small Visio clone with no extra functionality. This is far from true. Personally I think one of the most interesting things in Diagram Studio is that you can have a diagram object integrated with your application. So you can perform actions when an object is clicked or double clicked, move/paint your objects when something happens in your application (like an SCADA system), build diagrams from databases or other meta information in your application, and so on.

And also, Diagram Studio is a Delphi component, not an exe application! This means that one of the main advantages of it is that you are not limited to its editor, but instead you can build your own editor or integrate the diagram component as you want in your forms.

Since a picture is worth a thousand words, here are some nice examples about how Diagram Studio is being used by some of our customers.

Here is an screenshot for a football playbook software. It's interesting to note the frames at the left side of the window showing the field state for each period of time.

This one uses Diagram Studio to show a presentation of storages volumes mapped to production servers. A nice interface which also uses TMS Ribbon components.

The last two screenshots of this post come from OberonTouch scada system software, from Oberon Process Control. It uses Diagram Studio in a very customized and integrated way, alowing the end-user to build the plants, and then "running", changing colors and status of elements when appropriated, to give alerts to end-users.

We are open to comments and suggestions about how we can improve Diagram Studio to make it even more flexible and powerful for your needs!

Wagner R. Landgraf


This blog post has received 4 comments. Add a comment.

Building custom blocks at runtime with TMS Diagram Studio


Wednesday, February 10, 2010

The latest version of TMS Diagram Studio brings several interesting new features. One of them is the possibility for building custom blocks. In other words, your end-users will be able to draw blocks and add them to the toolbar, having it persisted anywhere you want - current version saves custom blocks in files.

You can do everything programatically, but here we will show the visual usage, using the diagram editor. Just build your custom block the way you want, placing individual blocks together. You can't add several blocks as a custom block - only one block is allowed. So, all you need to do is group the selected blocks to build a single group block. Once the individual blocks are grouped, right-click the group block and select "Add to the library..." menu item. In the example below, several simple rectangle blocks were placed and grouped to build a "Table" block.

A dialog window will open for you to specify the name of the custom block, its category, and its icon - note that the dialog already suggests you an icon which is just your custom block shrinked to the icon size.

After you confirm the new custom block by pressing "Ok", it will be included in the toolbar.

The custom block is persisted to a file, and from now on, you can use it just like any other block: click the custom block button and click the diagram to insert your brand new custom blocks!

Wagner R. Landgraf


This blog post has not received any comments yet. Add a comment.

TMS Diagram Studio v3.2 released


Monday, January 26, 2009

We're excited to announce the release of a new version of TMS Diagram Studio v3.2.  TMS Diagram Studio is a suite of components to add powerful diagramming & flowcharting capabilities to your applications.

What's new & improved in v3.2:

  • New: Grouping concept introduced. Diagram objects can now be grouped and behave like a single object with support for Multi-level grouping.
  • New: Movable rotation center allows defining a new center point for rotating objects
  • New: TDiagramLine.LineStyle property allows a single line object to behave like arc, side line, bezier and straight line.
  • New: Group/Ungroup popup menu and toolbar buttons available in diagram editor
  • New: Text toolbar in diagram editor dialog allows setting text alignment, vertical alignment and font style (bold, italic and underline)
  • New: TatDiagram methods GroupSelectedBlocks, UngroupSelectedBlocks and AddGroup for handle groups programatically
  • New: TatDiagram.SelectionMode property allows to choose Visio-style block selection (objects selected are displayed as a whole group)
  • New: TDiagramBackground.Picture property allows more image types for diagram background image (jpg, wmf, etc.)
  • New: TatDiagram.TextRenderingMode allows setting high-quality antialiasing text mode
  • New: TatDiagram.CanMoveOutOfBounds property allows avoiding blocks to moved to negative positions, preventing the whole diagram to be shifted
  • New: tmSpecific item in TTextCellsMode allows fixed text cells at source/target position of lines
  • New: Method in TatDiagram to export the diagram as bitmap/metafile to a stream instead of a file
  • New: TatDiagram.FixedSideLines property allows a different side line behavior, where intermediate handles are not automatically repositioned
  • New: Arrow shape asAngleDiamond is a diamond which rotates according to line angle
  • New: TDiagramControl properties IsGroup, IsMember, GroupBlock and MasterGroup provides information about block grouping
  • New: Protected method TDiagramControl.TextCellsChanged
  • New: TStretchHandle.AlwaysMovable property allows a handle to be moved even when crResize restriction is present
  • New: TLinkPoint properties CanAnchor, CanAnchorInMove and AcceptAnchoreds allow better control of link point behavior
  • Various smaller extensions, improvements & fixes

Fully functional trial downloads for Delphi 5,6,7,2005,2006,2007,2009 & C++Builder 6,2006,2007,2009 are available at : https://www.tmssoftware.com/go/?diagram 
Active registered users can obtain the new version free after login on our website.

Bruno Fierens


This blog post has not received any comments yet. Add a comment.

Previous  |  Next  |  Index