Microsoft Visio 2010 Business Process Diagramming and Validation

Microsoft Visio 2010 Business Process Diagramming and Validation
eBook: $29.99
Formats: PDF, PacktLib, ePub and Mobi formats
save 15%!
Print + free eBook + free PacktLib access to the book: $79.98    Print cover: $49.99
save 37%!
Free Shipping!
UK, US, Europe and selected countries in Asia.
Also available on:
Table of Contents
Sample Chapters
  • Optimize your business information visualization by mastering out-of-the-box, structured diagram functionality with features like the Basic and Cross-Functional Flowcharts
  • Create and analyze custom Validation Rules for structured diagrams using Visio Premium
  • Get to grips with validation logic for Business Process Diagramming with Visio 2010, by using the provided Rules Tools add-in
  • Discover the power of the ShapeSheet and learn how to write ShapeSheet formulae for use in Validation tests, following real and practical business examples and instructions
  • Packed with screenshots to demonstrate immediately usable Visio practices for achieving your business visualization goals

Book Details

Language : English
Paperback : 344 pages [ 235mm x 191mm ]
Release Date : July 2010
ISBN : 1849680140
ISBN 13 : 9781849680141
Author(s) : David John Parker
Topics and Technologies : All Books, Enterprise Products and Platforms, Microsoft Other, Enterprise, Microsoft

Table of Contents

Chapter 1: Overview of Process Management in Microsoft Visio 2010
Chapter 2: Understanding the Microsoft Visio Object Model
Chapter 3: Understanding the ShapeSheet™
Chapter 4: Understanding the Validation API
Chapter 5: Developing a Validation API Interface
Chapter 6: Reviewing Validation Rules and Issues
Chapter 7: Creating Validation Rules
Chapter 8: Publishing Validation Rules and Diagrams
Chapter 9: A Worked Example for Data Flow Model Diagrams
  • Chapter 1: Overview of Process Management in Microsoft Visio 2010
    • What is new in Visio 2010 for Process Management?
    • Visio Process Management capabilities
    • The foundations of structured diagrams
    • Enhanced process flow templates
      • The Flowchart templates
    • New process flow templates
      • BPMN Diagram template
      • SharePoint Workflow Designer template
    • Validation of process diagrams
    • Visio Process Repository
    • Visio services
    • What are the Visio 2010 editions?
    • Planning your own solutions
    • Summary
  • Chapter 2: Understanding the Microsoft Visio Object Model
    • The Visio Type libraries
    • But all I need is the object model
    • Types of Visio document
    • Which programming language should you use with Visio?
    • The Drawing Explorer window
    • The Visio object model
      • The Application object
        • The ActiveDocument and ActivePage objects
        • The Addons collection
        • The COMAddIns collection
        • The CurrentEdition property
        • The DataFeaturesEnabled property
        • The Documents collection
        • The TypelibMinorVersion and Version properties
      • The Document object
        • The Advanced Properties object
        • The DataRecordsets collection
        • The DocumentSheet object
        • The ID and Index properties
        • The FullName and Name properties
        • The Masters collection
        • The Pages collection
        • The ReadOnly property
        • The Type property
        • The Validation object
      • The Master object
        • The BaseID property
        • The Hidden property
        • The ID, Index, and IndexInStencil properties
        • The Name and NameU properties
        • The PageSheet object
        • The Type property
      • The Page object
        • The Connects collection
        • The ID and Index properties
        • The Layers collection
        • The PageSheet object
        • The Reviewer property
        • The Shapes collection
        • The Type property
      • The Shape object
        • The Characters and Text properties
        • The Connects and FromConnects collections
        • The Hyperlinks collection
        • The ID, Index, NameID, Name, and NameU properties
        • The IsCallout and IsDataGraphicCallout properties
        • The LayerCount property
        • The Master, MasterShape, and RootShape objects
        • The OneD property
        • The Parent object
        • The Type property
      • The Section object
      • The Row object
      • The Cell object
        • The Column property
        • The Error property
        • The Formula and FormulaU properties
        • The Name and LocalName properties
        • The Result properties
        • The Units property
        • Iterating through cells
    • Connectivity API
      • The Shape.ConnectedShapes method
      • The Shape.GluedShapes method
      • The Shape.MemberOfContainers property
      • The Shape.CalloutsAssociated property
      • Listing the steps in a process flow
    • Summary
  • Chapter 3: Understanding the ShapeSheet™
    • Where is the ShapeSheet?
      • What are sections, rows, and cells?
      • Reading a cell's properties
    • Can I print out the ShapeSheet settings?
    • What is a function?
    • What are the important sections for rules validation?
      • The User-defined Cells section
        • What category is a Shape?
        • What structure type is a Shape?
        • Is the shape inside a container?
        • How many shapes are inside a Container shape?
        • Where is the shape in the List?
        • How many shapes are in a List shape?
        • Are there any Callouts attached to a shape?
        • Which shape is a Callout connected to?
      • The Shape Data section
        • The String type
        • The Fixed List type
        • The Number type
        • The Boolean type
        • The Variable List type
        • The Date type
        • The Duration type
        • The Currency type
      • The Hyperlinks section
      • Layer Membership
    • Summary
  • Chapter 4: Understanding the Validation API
    • Overview of the Validation objects
      • The Validate method
      • Can custom rules code be validated?
    • The ValidationRuleSets collection
      • How do I add or update a rule set?
    • The ValidationRules collection
      • How do I add or update a rule?
      • How do I know my rule works?
    • ValidationIssues
      • Which issue is selected in the Issues window?
      • How do I toggle the Issues window visibility?
      • Which issues are caused by a particular shape?
      • How do I clear issues in code?
      • How do I validate in code?
      • How do I retrieve an existing issue in code?
      • How do I add an issue in code?
    • Summary
  • Chapter 5: Developing a Validation API Interface
    • The architecture of the tool
    • ThisAddin class
      • Listening for application events
      • Checking for Visio Premium edition
    • Creating the ViewModel
      • Creating the BaseViewModel class
      • Viewing the documents collection
      • Viewing the ValidationRuleSets collection
      • Viewing the ValidationRules collection
      • Viewing the ValidationIssues collection
    • Modifying the Visio Fluent UI
    • Creating the Rules Explorer window
      • Self-describing tree views
        • Informative tooltips
      • Linked detail panels
        • Editing rule set properties
        • Editing rule properties
        • Handling special key strokes
      • The Explorer actions
        • The Add button
        • The Add Issue button
        • The Paste button
        • The Copy button
        • The Delete button
    • Displaying the rule for a selected issue
    • Displaying the issues for the current selection
    • Summary
  • Chapter 6: Reviewing Validation Rules and Issues
    • Extensions to our ribbon
    • Annotating Visio diagrams with issues
      • Saving the current user settings
      • Displaying the issue markup page
        • Add in the issue comments
      • Hiding the issue markup page
    • Exporting rule sets to XML
      • Getting the XDocument object
        • Getting the VERuleSet XElement
        • Getting the VEIssue XElement
    • Importing rule sets from XML
    • Creating rule set reports
      • Getting the XSL stylesheet
    • Summary
  • Chapter 7: Creating Validation Rules
    • Overview of the document validation process
    • Validation functions
    • Useful ShapeSheet functions
    • Filter and Test Expressions
      • Checking the type of shape
      • Checking the category of shape
      • Checking the layer of a shape
      • Checking if the page contains relevant shapes
      • Checking for specific cell values
      • Checking that connectors are connected
      • Checking that shapes have correct connections
      • Checking if shapes are outside containers
    • Custom validation rules in code
    • Summary
  • Chapter 8: Publishing Validation Rules and Diagrams
    • Overview of the Visio categories and templates
    • Creating a custom template
      • Adding embellishments
      • Adding the template description
      • The simplest method to provide a template
        • Editing the file paths for templates
      • Creating a template preview image
        • Enhancing the quality of the preview image
      • The best method for publishing templates
        • Creating a setup project
        • Amending the installation package
        • Running the installation
    • Summary
  • Chapter 9: A Worked Example for Data Flow Model Diagrams
    • What are Data Flow Diagrams?
    • Examining the standard template
      • Enhancing the masters
      • Editing the Data Flow master
        • Preparing for AutoConnect
        • Editing the Data Store master
        • Editing the Interface master
        • Editing the Process master
        • Setting the sub-process master
      • Enhancing the page
    • Writing the rule set
      • All processes must have at least one data flow in and one data flow out
      • All processes should modify the incoming data, producing new forms of outgoing data
      • Each data store must be involved with at least one data flow
      • Each external entity must be involved with at least one data flow
      • A data flow must be attached to at least one process
      • Data flows cannot go directly from one external entity to another external entity: such flows need to go through at least one process
      • Do not allow a single page of a DFD to get too complex
      • Each component should be labeled
      • Each data flow should be labeled describing the data that flows through it
      • Each component and subcomponent should be numbered
      • A data flow must be connected between two components
      • A flow must not cycle back to itself
    • Completing the template
      • Creating the installer
      • Testing the installation
    • Summary

David John Parker

David began his professional life as a qualified building architect in the UK, but found the challenge of linking information to drawings too exciting. He gave up architecture in the late 80s to follow his interest and became a developer and consultant on facilities and cable management software. In 1996, David began to use Visio linked to enterprise databases, and in 1998 started his own data visualization consultancy business, bVisual ltd. His Visio-based solutions have extended to include project management, risk analysis, and process flows, amongst other things.

David has been a speaker at several Visio conferences over the years, and has been awarded Most Valued Professional status for his services to the Visio community for the last five years. He writes a regular Visio developer blog, and has previously authored a book about visualizing information with Visio 2007.

Sorry, we don't have any reviews for this title yet.

Code Downloads

Download the code and support files for this book.

Submit Errata

Please let us know if you have found any errors not listed on this list by completing our errata submission form. Our editors will check them and add them to this list. Thank you.


- 2 submitted: last submission 04 Mar 2013

Errata type: Other

The *.vsd file can be downloaded from the following link -

Errata type: Code

The vsd file for the book publishing diagram can be downloaded from the following links:

Sample chapters

You can view our sample chapters and prefaces of this title on PacktLib or download sample chapters in PDF format.

Frequently bought together

Microsoft Visio 2010 Business Process Diagramming and Validation +    SOA Patterns with BizTalk Server 2009 =
50% Off
the second eBook
Price for both: £29.05

Buy both these recommended eBooks together and get 50% off the cheapest eBook.

What you will learn from this book

  • Master new Visio features supporting structured diagrams and Validation
  • Learn new Validation functions, including creating and modifying Validation Rules to verify diagram correctness
  • Successfully implement out-of-the-box content for Visio 2010
  • Gain a deeper understanding of Visio as a diagramming tool and the Visio document structure
  • Discover the Visio 14.0 Type Library
  • Understand ShapeSheet functions for writing formulae in Validation tests
  • Publish custom Visio templates that enforce company diagramming standards
  • Build a Visio add-in for increased ease when creating Rules or analyzing existing Rules
  • Use the provided Rules Tools add-in to export Validation Rules to XML
  • View diagrams with corresponding issues using annotations

In Detail

Microsoft Visio is a diagramming program using vector graphics, which ultimately allows business professionals to explore and communicate complex information more effectively. Through various visual representations, Visio enables complicated data to be presented in a clear, communicative, and data-connected way. Therefore, productivity is increased by utilizing the wide variety of diagrams that can convey information at a glance, as data can be understood and acted upon quickly. This book enables business developers to unleash the full potential of Diagram Validation that Visio 2010 Premium Edition has to offer.

This focused tutorial will enable you to get to grips with Diagram Validation in Visio 2010 Premium Edition to the fullest extent, enabling powerful automatic diagram verification based on custom logic and assuring correct and compliant diagrams. You will learn how to create and publish Rules, and use the ShapeSheet to write formulae. There is a special focus on extending and enhancing the capabilities of Visio 2010 diagram validation, and on features that are not found in the out-of-the-box product, like installing and using a new Rules Tools add-in, complete with source code, reviewing the new diagramming rules in flowchart and BPMN templates, and creating your own enhanced Data Flow Model Diagram template, complete with Validation Rules.

The book begins by covering the basic functions of Visio 2010, and then dives deep into showing you how to formulate your own Validation Rules and understand the Visio Object Model. ShapeSheet functions are explored in detail, as are creating Validation Rule Sets and Rules, and visualizing issues, with practical demonstrations along the way. Other content includes building a Rules Tools add-in using C#, creating test and filter expressions, and publishing Validation Rules for others to use. Finally, the book considers the creation and implementation of a new RuleSet for Data Flow Model Diagrams with a worked example.

By following the practical and immediately deployable examples found in the book, you will successfully learn both how to use the features of Microsoft Visio 2010, and how to extend the functionality provided in the box.

A comprehensive and highly practical Visio 2010 tutorial using Premium Edition, including example code and demonstrations for creating Validation Rules, writing ShapeSheet formulae, and much more


A focused tutorial, this book provides a range of practical examples with downloadable code, showing you how to create business process diagramming templates with Visio and enabling you to effectively visualize business information. It draws on real business examples and needs, and covers all the new features of Visio 2010 Premium Edition.

Who this book is for

If you are a Microsoft Visio 2010 Premium Edition user or developer who wants to get to grips with both the basic features of Visio 2010 and the new Validation Rules in this edition, then this book is for you. A working knowledge of Microsoft Visio, and optionally .NET for the add-in code, is required, though previous knowledge of business process diagramming is not necessary. More experienced Visio users will gain valuable knowledge for building add-ins and creating and publishing rules. If you want to achieve results from Visio 2010 beyond the ordinary out-of-the-box features, then this book is ideal for you. Although this book covers the Premium Edition, much of the book is still useful if you are a Visio 2010 Standard Edition or Professional Edition user.

Code Download and Errata
Packt Anytime, Anywhere
Register Books
Print Upgrades
eBook Downloads
Video Support
Contact Us
Awards Voting Nominations Previous Winners
Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software