Model Xtractor - Online Class Diagram Editor
Model Xtractor - Online Class Diagram Editor User Account   
    RSS Posts | Model Xtractor
  • Diagrams
  • Metadata
  • Blog
  • Support
  • Tutorial

Diagram Styles and Themes

Leave a Comment » Feb 22, 2010
Bookmark and Share
Categories: Tutorial

The combination of a minimal set of diagram style flags leads to a different look and feel and a large number of possible themes. The diagram option flags discussed here are: Icons (Shape Title Icons, Shape Item Icons, Connector Item Icons), Labels, Simplified, Contrast, Monochrome, Stereotypes and Modifiers, with alternate views offered by transparency and minimized shapes. The default rich theme shows colors, icons, round shapes and text styles. Each such detail provides an immediate visual identification of a metadata object property.

Default Rich Themes

By default, we use shadowed shapes, shape header gradient background colors, shape title and item icons, text styles to show visibility and specific attributes (italic for abstract or surrogates, bold for static, underlined for final/sealed), round shape and connectors corners, dash borders for abstract types etc. Every visual detail is not here for aesthetics, but as a piece of semantic information about metadata:

Click for the published entry of the diagram
EditViewPrint

Monochrome Themes

The Monochrome flag changes all diagram colors (including icons, borders, gradients, text) to just layers of gray. This is a stylish metal-like theme, well suited for those tiered of many colors, but who want more than just plain black and white UML.

We also turned off here the three categories of icons, for Shape Titles, Shape Items and Connector Items. When shape item icons are off, the +/- icons for categories are also hidden, and so these special items should be now expanded or collapsed by double-click.

Click for the published entry of the diagram
EditViewPrint

Simplified Themes

Simplified is a powerful switch, that remove most of the fancy visual styles from a diagram: no round corners at shapes and connectors, no text styles, no dash borders etc. Each shape title appears in bold. Many connectors get an alternate style (for database models, the Crow’s Foot notation appears instead).

The Labels switch is unchecked, which hides all connector items from the diagram. And we have also turned all icons off, and show shape Stereotypes (if any).

Click for the published entry of the diagram
EditViewPrint

UML Themes

Original UML means simplicity, with a black and white theme, obtained by the combination of options Simplified and Monochrome. We show Modifiers instead of Stereotypes: shape modifiers appear as full keywords just below the shape title; item modifiers are +/#/- UML prefixes for public/protected/private etc.

We also turned Contrast on here, so the shapes appear filled with a light gray, instead of being plain white. What Contrast does to any theme is switching the diagram’s Editor background color with the background color of the shapes, so diagram’s background becomes lighter (white) and each shape’s background darker (gray). Diagram’s background will always be white on printed images, so only the shape body color changed.

Click for the published entry of the diagram
EditViewPrint

Transparent Themes

We could use transparency to create an alternate very simple theme for the whole diagram, by manually selecting and making all shapes transparent:

Click for the published entry of the diagram
EditViewPrint

Minimized Themes

There are cases where we want to focus on the topology. Where the connections, links and transformations are what matter most, like in object scenarios. The pseudo-theme below has been obtained by selecting and minimizing all shapes but SocketInformationOptions from the default rich theme diagram, with no Connector Item Icons:

Click for the published entry of the diagram
EditViewPrint

Leave a Comment

Accepts [code lang=".."] .. [/code], where lang is one of: csharp/vbnet/java/js/c/cpp/xml/sql/as3/php/ruby

E d i t   D i a g r a m s   O n l i n e !
Advertisement
Last Recommended Diagrams
  • WCF Binding
  • Membership (System.Web.Security Namespace)
  • System.ServiceModel.Syndication Namespace
  • System.Configuration: Sections and Groups
  • System.Configuration: Specific Sections
  • mx.utils
  • mx.preloaders
  • mx.controls.menuClasses
  • mx.controls.listClasses
  • mx.controls.dataGridClasses
Last Recommended Diagram
WCF Binding
WCF Binding
© 2010 Model-Xtractor.com - All Rights Reserved.
  • Terms of Use
  • Privacy Policy
  • News
  • About Us
  • Contact Us