Skip to content

Render the Diagram

MichaelSScott edited this page Nov 14, 2019 · 5 revisions

Once you have generated the gv file you can produce diagrams in a variety of formats. Most common I suppose would be:

dot -Tsvg uspGetBillOfMaterials.gv -o test.svg
or
dot -Tpng uspGetBillOfMaterials.gv -o test.png
or
dot -Tjpg uspGetBillOfMaterials.gv -o test.jpg

I'd recommend using the -o output option as redirection only works for svg files in my experience.

To give AdvWorks example

Granted, not the most complex example but that's that basic procedure for drawing procedures.

Clone this wiki locally