Open lovettchris opened 2 years ago
Hi, Thanks for the kind words, but i'm not quite sure what you are suggesting or reporting... Have you found any specific bugs? Collaboration? About what?
vscode-dgmlviewer is using Cytoscape.Js - https://js.cytoscape.org/ for rendering the graph.
yes there are lots of bugs if you try and render any of the DGML files I have posted in https://github.com/clovett/dgml. For example, see the http://lovettsoftware.com/#posts/GraphModel/ specification for details about grouping, aliasing, styling, etc.
I'm aware that the vscode-dgmlviewer only renders a small set of the features specified:
Many of the issues are related to the limitations of the JavaScript graph libraries, especially the layout of the nodes is a very complex problem as you are probably aware of and i have not found the ultimate perfect library yet. In the early version of the vscode-dgmlviewer extension it used https://visjs.github.io/vis-network/docs/network/ for rendering the graph. That library could not render grouped nodes, so it was replaced with https://js.cytoscape.org/ that can render grouped nodes. But this library is not perfect either as your examples clearly show. The change of the rendering library was a lengthy, complicated and frustrating process, so doing that once more is probably not going to happen unless someone else has time and energy for that (in my mind) huge task.
But some of the issues your examples illustrate can be fixed, so I have created the issues #193, #194 and #195. I would appreciate any help improving the vscode-dgmlviewer a lot so feel free to have a look at the code and create a pull request if you have any fixes.
This is amazing! Now we just need to get it all working on my test set here:
https://github.com/clovett/dgml
Are you open to some joint collaboration? If so you can email me at email alias "chris", you can probably guess the rest of my email address given my website: http://lovettsoftware.com.
Are you using https://github.com/msaglJS/msagl-js the graph layout?