mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-15 00:57:02 +02:00
Try with rendered SVGs in Markdown and <details>
This commit is contained in:
parent
de9a82725a
commit
738e0dabd6
4 changed files with 17 additions and 2 deletions
|
@ -19,7 +19,12 @@ A more complete diagram of the data models, their fields, and their
|
|||
relationships are in [models_diagram.md](./models_diagram.md), created with
|
||||
the `django-model2puml` plugin.
|
||||
|
||||
```mermaid
|
||||
![./model_timeline.svg]
|
||||
|
||||
<details>
|
||||
<summary>PlantUML source code</summary>
|
||||
```plantuml
|
||||
@startuml
|
||||
|
||||
allowmixing
|
||||
left to right direction
|
||||
|
@ -130,4 +135,7 @@ user2 -[#green]-> DomainInformation : **/domain/<id>/?????**
|
|||
actor user3 #Green
|
||||
user3 -right[#green]-> UserDomainRole : **/domain/<id>/users/add**
|
||||
user3 -right[#green]-> DomainInvitation : **/domain/<id>/users/add**
|
||||
|
||||
@enduml
|
||||
```
|
||||
</details>
|
||||
|
|
1
docs/architecture/diagrams/model_timeline.svg
Normal file
1
docs/architecture/diagrams/model_timeline.svg
Normal file
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 28 KiB |
|
@ -8,7 +8,11 @@ using the command
|
|||
$ docker compose app ./manage.py generate_puml --include registrar
|
||||
```
|
||||
|
||||
```mermaid
|
||||
![./models_diagram.svg]
|
||||
|
||||
<details>
|
||||
<summary>PlantUML source code</summary>
|
||||
```plantuml
|
||||
@startuml
|
||||
class "registrar.Contact <Registrar>" as registrar.Contact #d6f4e9 {
|
||||
contact
|
||||
|
@ -260,3 +264,4 @@ class "registrar.Website <Registrar>" as registrar.Website #d6f4e9 {
|
|||
|
||||
@enduml
|
||||
```
|
||||
</details>
|
||||
|
|
1
docs/architecture/diagrams/models_diagram.svg
Normal file
1
docs/architecture/diagrams/models_diagram.svg
Normal file
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 68 KiB |
Loading…
Add table
Add a link
Reference in a new issue