Creating ER diagrams with SQL Pro


Generate Entity Relationship (ER) Diagrams from SQL Pro

  1. Install  graphviz
    1.  brew install graphviz
  2. Go to sql pro and file -> export -> dot and save it as a .dot file
  3. Run the following command on the terminal -
    1. dot -Tsvg Desktop/employeeTest.dot > Desktop/employeeTest.svg
  4. Open the svg file in Chrome. 
Your ER diagram is ready :) 

Sample test ER diagram 



Comments