-
Background of the question: I want to use Asciidoc with Antora for database documentation. Asciidoc can use diagram definitions in different formats. Instead of using SC to create only the finished diagrams, I too would like to create and use the plain text diagram definitions (in dot?). These definitions could be integrated into database documentation as not rendered definition, and they can be rendered later into different formats. from the documentation at https://www.schemacrawler.com/diagramming.html
any of these formats: http://www.graphviz.org/doc/info/output.html And on the other hand, https://asciidoctor.org/docs/asciidoctor-diagram/
So both SchemaCrawler and asciidoctor-diagram can use one or more common formats: SC can export to a format from which asciidoc can then create the final diagrams. Probably this format is "dot"? But there seem to be different variants of "dot":
Which format is used by SchemaCrawler internally? Which output format is the most lossless? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Use the undocumented SchemaCrawler output format"scdot", which produces Graphviz dot format. |
Beta Was this translation helpful? Give feedback.
-
I can generate these graphviz files, I can render them in VSC using the graphviz plugin, this works fine. On the other hand, it is probably better to use the SVGs created by SC: you can look at them right away. And also in Antora or with asciidoc they would have to be converted first :-) |
Beta Was this translation helpful? Give feedback.
Use the undocumented SchemaCrawler output format"scdot", which produces Graphviz dot format.