Questions tagged [dgml]

DGML is an XML-based file format for directed graphs.

29 questions
23
votes
5 answers

Is there a DGML Viewer?

I've started playing around with DGML for visualizing directed graphs based on some manufauctring process flow data. It works slicker than proverbial snot and is quite easy to generate. The only problem is that the only DGML viewer I can find is…
dkackman
  • 14,361
  • 11
  • 63
  • 118
7
votes
0 answers

Can I export a Visual Studio CodeMap (.DGML file) to Visio?

I'm trying to get my head around a rather large solution and I find that Visual Studio's CodeMap feature to be an invaluable aid. However I'd like to take sections of the generated Codemap and from this, generate some pretty documentation from it.…
Mike Wilson
  • 397
  • 1
  • 3
  • 11
6
votes
1 answer

Directed Graph Markup Language No Longer Recognized with Visual Studio 2017

After installing Visual Studio 2017, I just noticed that my Directed Graph Markup Language(.dgml) files can no longer be opened in a visual-designer for editing; it only opens to see the internal format of the file. Does anyone know how I can fix…
Krythic
  • 3,334
  • 5
  • 20
  • 59
4
votes
2 answers

How to open DGML file in Visual Studio 2010 Professional

How do I open a .dgml file using Visual Studio 2010 Professional so that I see the DGML graph visually? I have read here that VS 2010 supports DGML viewing, but whenever I drag my file into Visual Studio I am presented only with the XML editor.
pauldoo
  • 16,381
  • 20
  • 85
  • 112
3
votes
0 answers

How do you edit nodes properties in Visual Studio 2017 DGML Editor?

Not sure if the editor isn't working or the documentation sucks, but I cannot seem to figure out how the heck to edit nodes. I can add a new node, label it, and connect nodes. But I cannot add a category to the node, edit the node properties, or…
3
votes
1 answer

Exporting Large DGML Diagram to XPS

I currently have a fairly large application (about 30k lines of code). I generated a dependency graph using the architecture tool within VS2010. I am trying to export it to XPS, as it states I can, and it will stop at about 300KB, and will not open…
Logan B. Lehman
  • 4,337
  • 6
  • 30
  • 43
2
votes
1 answer

How do you print a dgml file?

I've got a dgml file created in Visual Studio 2017 that contains a schema for a database. We refer to this regularly in our team so I want to print it out. How can I do this? I've tried the File->Print menu, but it is grayed out. Also I've tried…
Scott Langham
  • 53,246
  • 34
  • 122
  • 193
2
votes
2 answers

In what way is the DGML graphic coordinate oriented?

Context I am trying to convert a DGML graph into an SVG. I am using Javascript to read and parse the DGML Nodes and Links using Jquery. I created a DGML graph using Visual Studio 2017 (it has an interactive inbuilt editor). Essentially I need to…
2
votes
0 answers

Build directed graph on windows forms with data from DB

I have an objects with data, and each object connected to other objects. (Like object1->object2, object2->object3, object1->object3). For example objects and connections represented by two classes: class Object { public int Id{get;set;} …
Paul
  • 47
  • 7
1
vote
1 answer

Why xmlns appears at the parents' node in DGML file writing?

When I save a DGML file, unnecessary XNamespace appears. This is a code of saving DGML file. public void saveDGMLFile() { Debug.Log("Save DGML file!"); XNamespace xNamespace = "http://schemas.microsoft.com/vs/2009/dgml"; xDoc = new…
Masahiro
  • 125
  • 8
1
vote
2 answers

Is it possible to load DGML file with the function of XDocument like loading XML file?

I would like to load DGML file to a C# code like loading XML files. How should I write to load them? I could not find good examples about DGML file loader, however, I found XML file loader examples. So I've tried to load DGML files like loading XML…
Masahiro
  • 125
  • 8
1
vote
1 answer

Executing custom code on click on DGML node

Is it possible to execute a piece of C# code when the node of a DGML diagram is double clicked? It is possible to navigate to an url, I could create a local web site (on127.0.0.1) where you request an URL which executes a command. Problem is that I…
Serge van den Oever
  • 3,982
  • 7
  • 40
  • 63
1
vote
2 answers

Custom node and links in .dgml editor/viewer

I am trying to use Visual Studio DGML viewer / editor to build a directed graph. I would like to be able to add nodes and links with pre-defined custom properties. As of now, if I right click on the DGML document, I can add a Generic Node with no…
ben
  • 321
  • 3
  • 13
1
vote
3 answers

Does DGML support different shapes?

I've started to play with DGML, and I see in the schema that the Node element supports a Shape attribute. I've tried things like
Scott Weinstein
  • 18,222
  • 12
  • 71
  • 112
1
vote
3 answers

DGML: how to enable the 'Go To Definition' for custom diagrams?

I am generating a custom workflow diagram via DGML API where each node corresponds to a C# class. I would like to be able to use the built-in 'Go To Definition' feature but the documentation is lacking.
Den
  • 1,659
  • 3
  • 22
  • 42
1
2