Re:Show HN: Dbdot – Golang tool to help generate Postgres sc...
by akarki15 on Sunday April 07, 2019 @12:00PM
(#19597607)
That's a valid concern. My inspiration for writing this tool was to create schema diagrams for select tables (hence the -whitelist flag in the tool) rather than _all_ the tables. Think design review, presentation etc instead of exploring a new db. Having some way to dictate what table would be at the top vs. bottom would be nice.
My only fear with that is dbdot becomes bloated with flags and features. If customization of dot can be achieved by piping dbdot output to some other tool, I will explore that path.
Thank you for your feedback :)
At least bottom to top would pack the independent ones to the top and those that represent many-to-many relationships at the bottom.
From my work with Oracle Datamodeler know that even at a dozen tables manual layout beats an algorithm any time. And the oracle algithms are more sophisticated/less general than dot.