Closed kevinmingtarja closed 10 months ago
Thanks for the feedback @bplunkett-stripe ! I just pushed my changes based on the review.
I just did make lint_fix
. It should be good to go now!
Nice! Let's hop back onto the ticket to figure out the structure of the CLI for this
Description
This PR adds support for encoding the dependency graph to DOT format, which is used by Graphviz, a popular graph visualization software. This will allow us to visualize our dependency graphs for debugging purposes.
Motivation
Closes #38
Testing
resolveToSQLGraph()
, then manually visualized it using http://magjac.com/graphviz-visual-editor/ to verify the format's correctnessExample output:
I have a fresh new postgres instance and my target schema is this:
Based on the diffs and dependency graph, The DOT encoding will output: