Declarative Diagramming
Modern tools that turn text to diagrams. Community list of comparisons between Text to Diagram tools
PlantUML
PlantUML is an open-source tool allowing users to create diagrams from a plain text language. Besides various UML diagrams, PlantUML has support for various other software development related formats (such as Archimate, Block diagram, BPMN, C4, Computer network diagram, ERD, Gantt chart, Mind map, and WBD), as well as visualisation of JSON and YAML files.
Ashley’s PlantUML DocumentationWikipedia
Plugin
Plugin for creating block-level uml diagrams for markdown-it markdown parser.
Sequence Diagram
Use the following code
```plantuml
bob -> Alice : hello
```
to genrate a diagram like this
CDS Data Model
The Data Model comprises the description of the different entities involved in a business scenario.
It distinguishes between:
Type | Description |
---|---|
Main business entities | Compositions are used to model document structures through “contained-in” relationships, also supporting Cascaded Delete. |
Secondary business entities | Associations |
@startuml
' theming
skinparam shadowing false
skinparam ArrowColor #black
skinparam linetype ortho
' main business entities
rectangle Travel #lightskyblue
rectangle Booking #lightskyblue
' secondary business entities
rectangle Customer #white
rectangle Agency #white
rectangle Flight #white
' associations
' control alignment with - (inline) or -- (next level)
Customer <-- Travel
Customer <-- Booking
Booking -> Travel
Travel --> Agency
Booking --> Flight
' legend
legend center
| <#lightskyblue> | Main business entitites |
| <#white> | Secondary business entities |
endlegend
@enduml