项目
在 GitHub 查看
fuelen/ecto_erd
关于
A mix task for generating Entity Relationship Diagram from Ecto schemas available in your project.
设计与媒体实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 更新延迟
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Ecto.ERD
A mix task for generating an ERD (Entity-Relationship Diagram) in various formats for all Ecto schemas in your project.
Supported formats:
Example
DOT
D2 output
PlantUML output
All diagrams are generated from the repository's sample schemas.
Installation
The package can be installed by adding ecto_erd to your list of dependencies
in mix.exs:
def deps do
[
{:ecto_erd, "~> 0.9", only: :dev}
]
end
Usage
Just run:
mix ecto.gen.erd
The command above produces a DOT file, which you can convert to an image using the Graphviz utility:
dot -Tpng ecto_erd.dot -o erd.png
Configuration is possible via the .ecto_erd.exs file.
The docs can be found at https://hexdocs.pm/ecto_erd.
Configuration examples and sample output can be found on the
Examples page.
探索相关项目
加载中…