Is there a DGML Viewer?

痞子三分冷 提交于 2019-12-04 23:11:34

I encourage you to submit a request at Microsoft Connect as further support for a standalone DGML viewer. It might help persuade the product team that there's enough of a demand for one.

The DGML Editor was not available in Visual Studio 2017 by default so I could not see DGML files visually and only saw them in the xml format. I had to fix this by explicitly installing the DGML editor. Please install it as such: (Tools > Get tools and features... > Individual Component > Code tools > DGML Editor)

The DgmlPowerTools Visual Studio 2012 package gives you the option to export DGML to SVG:

https://visualstudiogallery.msdn.microsoft.com/46b71f5f-a4d5-4867-9d50-0416f7aefe28

Alternatively, I'm pretty sure given a few free weekends it would be easy to knock up something to convert DGML to HTML (e.g. using HTML5 Canvas to display, or one of the many graphing libraries such as D3.js)...

Take a look at Graphviz DOT. It can generate many different graphical output formats including PNG, JPG, PDF, SVG. It uses syntax similar to DGML.

https://www.graphviz.org/

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!