Book Image

Mastering Data Visualization with Microsoft Visio Professional 2016

By : John Marshall, David Parker
Book Image

Mastering Data Visualization with Microsoft Visio Professional 2016

By: John Marshall, David Parker

Overview of this book

Microsoft Visio Professional is a data visualization application that is used by many different market sectors and many different departments to represent information visually, from network infrastructure to organization charts, from process diagrams to office layouts. Starting off with a brief introduction to Visio Professional 2016 and then moving on to data storage, linking data to shapes, and working with SQL Server to create a solid foundation. Then we’ll cover topics such as refreshing data, working with geographical data, working with various graphics, and diagrams, and more. Finally, you’ll find out how to deploy custom stencils, templates, and code.
Table of Contents (17 chapters)
Mastering Data Visualization with Microsoft Visio Professional 2016
Credits
About the Author
www.PacktPub.com
Preface
Index

Structuring diagrams overview


The Structured Diagram API was introduced in Visio 2010 to provide programmatic access to new features and shape types. The Structured Diagram API classes, properties, and methods are italicized in the following partial Visio API object model:

This chapter includes example code of some of the most useful parts of the Structured Diagram API, but, for brevity, does not include thorough error checking.

Note

For more information about the Structured Diagram API, see https://blogs.msdn.microsoft.com/visio/2010/01/27/container-list-and-callout-api-in-visio-2010/.

Enabling diagram services

Using Visio manually always triggers the structured diagram behaviors, where applicable. However, it may not always be desirable via automation code, so the default is for no structured diagramming behaviors. Fortunately, they can be selectively enabled using Structured Diagram API. Therefore, most of the code examples in this chapter are, or should be, topped and tailed with the following...