neovis.js
neovis.js copied to clipboard
Directly render a graph to an image file (svg or png)
Is there any way to directly render a graph to an image file?
For example, can we do something like this?
neoViz.render("out.png");
Im pretty sure the output is svg/canvas, you can easily take the element and search online how to do it 😅 but should be pretty easy
@thebestnom Thanks. I tried to find the solution and googled it for several hours, but I could not find it.
Any hint?
https://stackoverflow.com/questions/42663203/export-visjs-network-to-jpeg-png-image