Open liijunwei opened 1 week ago
one more question to the author and contributors: I found I'm not able to make console.log
or breakpoint to work in vscode-interactive-graphviz/content/highlighting.js
(within Extension Development Host), it makes reasoning and debugging very very hard for me, could you share how did you debug while developing the extension?
hi @tintinweb , really appreciated that you shared this plugin on vscode, it's been quite helpful for my daily work especially the "bidirectional highlight" feature, makes upstreams and downstreams quite clear instantly
while using I found some unexpected behavior though, and I'd like to report and propose an quick fix to optimize the user experience 🙏
Minimal, Reproducible Example
rough cause
it's using
connection[0].split(":")[0];
andconnection[1].split(":")[0];
in jquery.graphviz.svg.jswhich implicitly depends on the format of node identifier
quick fix
removing
.split(":")[0]
fromGraphvizSvg.prototype.linkedTo
andGraphvizSvg.prototype.linkedFrom
later I checked out
jquery.graphviz.svg.js
source code and found the copy in source code is a bit outdated, if I copy the code here, everything works fine