Skip to content
  • Home
  • Work
  • About
  • Blog
  • Contact

Visio JavaScript APIs preview reference

John Goldsmith's profile image

John Goldsmith

10 February 2017
  • Code
  • JsApi

VisioJavaScriptAPIsReference

This week the Visio team announced the release of the new JavaScript API’s preview to enable the building of extensible solutions on top of Visio Online.  Aside from the initial reference page that the post points to, there’s a growing set of documentation to sit alongside the new types and associated members.

So I thought I’d put together a quick class diagram to highlight the relationships within the api and to better understand the overall structure of what we’re dealing with here.

VisioJavaScriptAPIsReference

It’s worth noting that, as per the team’s post, this is just the beginning and as such, new features will be added over time.  The current documentation in the Office Dev Center reflects the master branch of the office-js-docs GitHub repository, however, there is also an OpenSpec branch (VisioJs_1.1_OpenSpec) where you can view and give feedback on potential upcoming api additions.  To this end I’ve highlighted the current classes that appear in the master branch in blue, and those that are only surfaced in the OpenSpec branch, in grey.

You can download a combined zi file of both the Visio document and pdf here:

  • VisioJsApisClassDiagram_10_Feb_2017.zip

...or the standalone pdf here:

  • VisioJsApisClassDiagram_10_Feb_2017.pdf

Data Collection

Without a better source I’ve put the data together by parsing each of the  Markdown files found in the reference folder of the OpenSpec branch.  Each file has a table for each member type (Properties, Methods, Relationships etc.) and it’s here that I’ve harvested the data.  As per any kind of ‘web scraping’ this is liable to bugs, so please treat the generated diagram as a guide to help you learn, rather than a de facto specification.

Microsoft MVP Logo

John has been a Microsoft MVP, in the award categories of Visio and M365, since 2008.

Visio Blogs

  • Bill Morein (via Wayback Machine)
  • Chris Castillo (via Wayback Machine)
  • Chris Hopkins (via Wayback Machine)
  • David Parker
  • Eric Rockey
  • Jesse Phillips-Mead
  • John Marshall
  • Michel LAPLANE (FR)
  • Nikolay Belyh
  • Saveen Reddy (via Wayback Machine)
  • Visio Guy
  • Visio [Product] Blog
  • Visio Insights (via Wayback Machine)

Visio Resources

  • Developing Microsoft Visio Solutions
  • Visio Stencils at ShapeSource
  • Microsoft Visio YouTube Playlist
  • Visio (Product site)
  • Office 2010 Engineering
  • Visio 2016 SDK (Download)
  • Visio JavaScript API reference
  • VisioMVPs.org
Contact

visualSignals ltd
31 Riverview Grove
London, W4 3QL
United Kingdom

+44 (0) 208 078 9120

Around the Web

Copyright © visualSignals ltd 2025

Mastodon