sqlvis icon indicating copy to clipboard operation
sqlvis copied to clipboard

Display outside of jupyter notebook

Open Trading42 opened this issue 1 year ago • 4 comments

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.

Trading42 avatar Dec 30 '23 18:12 Trading42

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.

Giraphne avatar Jan 02 '24 09:01 Giraphne

Trading: did you find a solution for this ? i would like to use it outside any notebooks..

Mei

hoschidude avatar Jul 02 '24 12:07 hoschidude

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

Trading42 avatar Jul 03 '24 09:07 Trading42

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

hoschidude avatar Jul 03 '24 11:07 hoschidude