Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade examples to library version 5.x #291

Open
michael-emmi opened this issue Sep 20, 2023 · 2 comments
Open

Upgrade examples to library version 5.x #291

michael-emmi opened this issue Sep 20, 2023 · 2 comments

Comments

@michael-emmi
Copy link

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.

@magjac
Copy link
Owner

magjac commented Oct 14, 2023

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.

@magjac
Copy link
Owner

magjac commented Nov 5, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants