Scripts used in svg publish extension are on github

Recently published all javascript, html, and css code of scripts used in html publishing to the GitHub for the upcoming version 1.1: https://github.com/nbelyh/svgpublish-templates This repository contains the default built-in templates, that are used in the Svg Publish extension The scripts/style files are bundled and minified at the build time by the extension, and visible in the template as file “vp-script.min.js” and “vp-style.min.css” respectively. The default template, installed with the app, is also there. First, these are for reference. Second, they can be easily used your own solution. There are two ways: Way 1. Just drop the content of the file into “immediate” script …

Layers support in html publishing

With new update to Version 1.0.9 there is new “out-of-the-box” function of the HTML Export extension– layer support! Now you can publish diagrams, and add optional layer management, to allow switching layers on/off on the published diagram. This allows to control diagram’s layers on the web to show/hide it’s parts. Check out the example: Suzuki FA50 Shuttle electrical schematic. Yep, in 1990s it was all pretty simple. You can turn on/off wires of the corresponding color by clicking the layer switch, to see what is connected with what. This is out of the box. Alternatively (this part is provided by extra tiny script) – …

Exporting html diagrams – binding to live services

This post briefly explains how to bind Visio diagram, exported as HTML to some external live web-service. It’s based on the HTML/SVG export extension. If you want the exported diagram to be connected to some live data,  you’ll need to connect to some live service (in this example, we consider a REST service). In the following posts, I’ll discuss binding a diagram to a SharePoint list using JSOM / REST. So, let’s take map of Europe and show temperature by coloring countries, with colder colors indicating colder temperature! You can check the result in DEMO section (click the picture to navigate): Here is …

HTML Export Demo

This page contains a list of samples produced with HTML/SVG Export Addin. All samples are exported to GitHub Pages, you can find them in this GitHub repository: https://github.com/nbelyh/svgpublishdemo   Stuhlek (Ski Region) interactive map Demonstrates animations and linking to live data (via ajax and html). Means, data for lifts and slopes is live (taken online from the official site). The lifts that are turned off/closed don’t move. Live: https://nbelyh.github.io/svgpublishdemo/stuhlek.html Source:   Pokemon Office Plan Demonstrates html popups with pictures and hyperlinks.   Live: https://nbelyh.github.io/svgpublishdemo/PokemonBldgPlan.html Source:    Suzuki FA50 Motorcycle wiring schematics Demonstrates layers functionality. Allows to turn layers (containing wires) on/off to see what is connected to what. …