Re:Graphviz: Open-source graph visualization software
by ccakes on Monday January 17, 2022 @08:00PM
(#29973580)
Autogenerated database documentation is often pretty hit and miss but tbls[1] does a pretty good job in that space. Especially when you comment on your tables, fields, views, functions etc (which is a good habit anyway!) the output is quite useful
Re:Graphviz: Open-source graph visualization software
by magicpointer on Monday January 17, 2022 @03:27PM
(#29971328)
In a similar vein there is Schemaspy[1]. It generates a static documentation website for your DB, which also uses GraphViz to build ER diagrams.
Re:Graphviz: Open-source graph visualization software
by kh1 on Monday January 17, 2022 @10:46AM
(#29967703)
That looks really cool. Would you possibly share the script?
Re:Graphviz: Open-source graph visualization software
by enter-haken on Monday January 17, 2022 @10:55AM
(#29967830)
It's part of the repo.
https://github.com/enter-haken/schema/blob/master/schema.sh
It's a mixture of sed, awk and sql.
https://github.com/enter-haken/schema