Skip to content

Commit 02b2ada

Browse files
committed
Merge remote-tracking branch 'origin/master'
2 parents 9b8713f + 0b342d6 commit 02b2ada

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

README.md

+8-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# database_visualization
2-
Generate Entity-Relationship Diagrams from PostgreSQL by PlantUML, DBML-renderer, ERAlchemy.
2+
Generate Entity-Relationship Diagrams from PostgreSQL by PlantUML, DBML-renderer, ERAlchemy, Graphviz.
33
### Requirements
44
- PostgreSQL*
55
- graphviz==2.49.0
@@ -33,19 +33,24 @@ Run:
3333

3434
```bash
3535
python main.py --host HOST --port PORT --user USER --password PASSWORD \
36-
--db_name DB_NAME --schema_name SCHEMA_NAME --engine ENGINE --direction DIRECTION
36+
--db_name DB_NAME --schema_name SCHEMA_NAME --engine ENGINE --direction DIRECTION --output_path PATH
3737
```
38-
*DIRECTION* and *ENGINE* is optional arguments.
38+
*DIRECTION*, *ENGINE* and *PATH* are optional arguments.
3939

4040
**Available engines:**
4141

4242
- 'plantuml'
4343
- 'eralchemy'
4444
- 'dbml-r'
45+
- 'dot-r'
4546

4647
**Available direction:**
48+
4749
If you are not satisfied with the location of the blocks on the diagram, change their location by adding the argument *DIRECTION* = '2'.
4850

51+
If you need to save image in specific folder, add an argument *PATH* with a path.
52+
53+
4954

5055

5156

0 commit comments

Comments
 (0)