Added alias() template function for resolving PlantUML aliases

This commit is contained in:
Bartek Kryza
2022-03-23 22:56:59 +01:00
parent eed9fcaf66
commit e22849eb32
3 changed files with 27 additions and 8 deletions

View File

@@ -14,5 +14,5 @@ diagrams:
after:
- '@A(ProductA1) <.. @A(Factory1)'
- '@A(ProductB1) <.. @A(Factory1)'
- '@A(ProductA2) <.. @A(Factory2)'
- '@A(ProductB2) <.. @A(Factory2)'
- '{{ alias("ProductA2") }} <.. {{ alias("Factory2") }}'
- '{{ alias("ProductB2") }} <.. {{ alias("Factory2") }}'

View File

@@ -17,4 +17,4 @@ diagrams:
before:
- "' t30001 test package diagram"
after:
- "note right of @A(A::AA::AAA): A AAA note..."
- 'note right of {{ alias("A::AA::AAA") }}: A AAA note...'