Show HN: Easily Visualize Your SQLAlchemy Data Models in a Nice SVG Diagram
1–10 of 19 posts
Re: Show HN: Easily Visualize Your SQLAlchemy Data Models in a Nice SVG Diagram
#2I attempted to also generate an HTML file containing the embedded SVG as well as some JS to enable nice interactive hover-on effects (I wanted to highlight the border of the table you hover over and then change all the outgoing connections to other tables to be red, and all incoming connections to that table to be green), but it wasn't working and started turning into a slog after an hour. If anyone knows how to do this, please submit a PR!
Re: Show HN: Easily Visualize Your SQLAlchemy Data Models in a Nice SVG Diagram
#3Re: Show HN: Easily Visualize Your SQLAlchemy Data Models in a Nice SVG Diagram
#4gonna give it a try today, been wondering how come i never came across anything like that actually (been using the different clients tools)
Re: Show HN: Easily Visualize Your SQLAlchemy Data Models in a Nice SVG Diagram
#5Re: Show HN: Easily Visualize Your SQLAlchemy Data Models in a Nice SVG Diagram
#6Nice. I've been using Django-schema-viewer and it's been great. This makes me wonder if its UI could be decoupled from Django...
Re: Show HN: Easily Visualize Your SQLAlchemy Data Models in a Nice SVG Diagram
#7Re: Show HN: Easily Visualize Your SQLAlchemy Data Models in a Nice SVG Diagram
#8gonna give it a try today, been wondering how come i never came across anything like that actually (been using the different clients tools)
Yeah, it was a bit weird to me that I couldn’t find anything like this either, which is why I made it. Seems like all the visualization tools out there go from the database tables directly, but that defeats the cross-database portability of SQLAlchemy which is one of its best features: it works equally well without any changes on SQLite, Postgres, etc.
In regards to difficulty finding alternatives, many database management tools (like DataGrip and Dbeaver) have ER diagram generators that work for all the types of databases the tools work for... so basically vendor agnostic. Other tools like Visio (blast from the past) do too.
Re: Show HN: Easily Visualize Your SQLAlchemy Data Models in a Nice SVG Diagram
#9Earlier quoted context omitted.
Yeah, it was a bit weird to me that I couldn’t find anything like this either, which is why I made it. Seems like all the visualization tools out there go from the database tables directly, but that defeats the cross-database portability of SQLAlchemy which is one of its best features: it works equally well without any changes on SQLite, Postgres, etc.
Your tool looks great. In regards to difficulty finding alternatives, many database management tools (like DataGrip and Dbeaver) have ER diagram generators that work for all the types of databases the tools work for... so basically vendor agnostic. Other tools like Visio (blast from the past) do too.
Re: Show HN: Easily Visualize Your SQLAlchemy Data Models in a Nice SVG Diagram
#10Would rather use D2 https://d2lang.com/tour/sql-tables for this task