TablePlus / diagram-plugin

111 stars 10 forks source link

Does this work outside of TablePlus? #3

Closed lordlycastle closed 4 years ago

lordlycastle commented 4 years ago

Can this library/package be used without TablePlus to generate diagrams (SVG) for DBs? Would love to use it for some automated diagram generation.

thien-do commented 4 years ago

At the moment using the Diagram plugin as a library is not a use case we can officially supported. The code here is a bundled JS that is built for TablePlus only.

We do support using it on its own like a web app at https://diagramplus.com (but the web app version cannot connect to databases).

Technically it's possible to use the JS here on your own, or use a headless browser to automate using the web app, but in conclusion we don't support that.

lordlycastle commented 4 years ago

Thanks for the info @dvkndn!