SchemaCrawler - Other Diagrams Example

Description

SchemaCrawler can generate mermaid and dbdiagram.io diagrams with a little scripting with Python.

How to Setup

  1. Make sure that SchemaCrawler is installed on your system
  2. Make sure that schemacrawler is on your PATH

How to Run

  1. Make sure that java is on your PATH
  2. Start the test database server by following instructions in the _testdb/README.html file
  3. Start a command shell in the other-diagrams example directory
  4. Run other-diagram.cmd mermaid.py (or other-diagram.sh mermaid.py on Unix) and view the output in mermaid
  5. Run other-diagram.cmd dbml.py (or other-diagram.sh dbml.py on Unix) and view the output in dbdiagram.io
  6. Run other-diagram.cmd plantuml.py (or other-diagram.sh plantuml.py on Unix) and view the output in PlantUML

How to Experiment

  1. Try modifying the Python in the *.py files to do different things.