sqlvis
sqlvis copied to clipboard
Display outside of jupyter notebook
Would it be simple to find a way to use the library outside of Jupyter ? I don't know anything about HTML/CSS/js, hence cannot really modify the visualize function, but I guess that generating a standalone HTML page would then allow to render it and convert it to an image.
In visualize.js there is a function viz that selects the d3 container for a Jupyter notebook cell as a target. You could adjust this function to make it standalone and then use vis.py from the terminal.
I don't think that would be easier than just running in Jupyter though.
Trading: did you find a solution for this ? i would like to use it outside any notebooks..
Mei
No gave up on this. Although we could probably try and ask some AI powered coding assistant to tweak vizualize.js and generate a picture a something
50000 loc is a bit hard to read. I will let you know if i find an alternative.
maybe this one: https://github.com/SQL-Vis/seeQL-npm