2021-08-24 17:30:42 +05:00
|
|
|
Usefull command for making images
|
|
|
|
=================================
|
|
|
|
|
2021-08-25 21:48:02 +05:00
|
|
|
For database ER diagram (``peewee_erd``):
|
|
|
|
|
2021-08-24 17:30:42 +05:00
|
|
|
.. code-block:: python
|
|
|
|
|
|
|
|
from peewee_erd import draw
|
|
|
|
draw(["anisotropy/core/models.py"], "docs/source/static/er-diagram.svg", "#333333", "#eeeeee", 12, False, False)
|
|
|
|
|
2021-08-25 21:48:02 +05:00
|
|
|
For project structure (``pydeps``):
|
|
|
|
|
2021-08-24 17:30:42 +05:00
|
|
|
.. code-block:: bash
|
|
|
|
|
2021-08-25 21:48:02 +05:00
|
|
|
pydeps anisotropy --max-bacon 2 --cluster -o docs/source/static/deps.svg -T svg --noshow
|