Open michael-emmi opened 10 months ago
Sorry for the delay. I will look into updating the on-line examples.
In the meantime, you have plenty of examples using version 5 at https://github.com/magjac/d3-graphviz/tree/master/examples.
It turns out that http://bl.ocks.org/ that the examples link to is no longer operational, but just redirects to https://gist.github.com/. I will have to port the examples some other JS playground.
The current usage examples use old versions of d3-graphviz. For example, e.g., d3-graphviz Basic example uses 3.0.5. There’s been a breaking change since then, from 4.5.x to 5.x, and I cannot seem to find a complete working example with 5.x in browser. If I simply upgrade the versions, and try to follow this guidance, I end up with “graphviz is not defined” errors.