mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-25 20:18:38 +02:00
Adjust markdown files with PlantUML inside for Github
This commit is contained in:
parent
fee659d1c4
commit
4b7a8953b7
2 changed files with 14 additions and 0 deletions
|
@ -19,6 +19,7 @@ A more complete diagram of the data models, their fields, and their
|
||||||
relationships are in [models_diagram.md](./models_diagram.md), created with
|
relationships are in [models_diagram.md](./models_diagram.md), created with
|
||||||
the `django-model2puml` plugin.
|
the `django-model2puml` plugin.
|
||||||
|
|
||||||
|
```plantuml
|
||||||
@startuml
|
@startuml
|
||||||
|
|
||||||
allowmixing
|
allowmixing
|
||||||
|
@ -131,3 +132,4 @@ actor user3 #Green
|
||||||
user3 -right[#green]-> UserDomainRole : **/domain/<id>/users/add**
|
user3 -right[#green]-> UserDomainRole : **/domain/<id>/users/add**
|
||||||
user3 -right[#green]-> DomainInvitation : **/domain/<id>/users/add**
|
user3 -right[#green]-> DomainInvitation : **/domain/<id>/users/add**
|
||||||
@enduml
|
@enduml
|
||||||
|
```
|
||||||
|
|
|
@ -1,3 +1,14 @@
|
||||||
|
# Complete model documentation
|
||||||
|
|
||||||
|
This is an auto-generated diagram of our data models generated with the
|
||||||
|
[django-model2puml](https://github.com/sen-den/django-model2puml) library
|
||||||
|
using the command
|
||||||
|
|
||||||
|
```bash
|
||||||
|
$ docker compose app ./manage.py generate_puml --include registrar
|
||||||
|
```
|
||||||
|
|
||||||
|
```plantuml
|
||||||
@startuml
|
@startuml
|
||||||
class "registrar.Contact <Registrar>" as registrar.Contact #d6f4e9 {
|
class "registrar.Contact <Registrar>" as registrar.Contact #d6f4e9 {
|
||||||
contact
|
contact
|
||||||
|
@ -248,3 +259,4 @@ class "registrar.Website <Registrar>" as registrar.Website #d6f4e9 {
|
||||||
|
|
||||||
|
|
||||||
@enduml
|
@enduml
|
||||||
|
```
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue