Thursday 9 May 2024

Reuse plantuml data using !includeURL directive

‘includeurl’ directive include the ‘plantuml’ data from given url this file

includeURL.txt

@startuml

!define AWSPUML https://raw.githubusercontent.com/milo-minderbinder/AWS-PlantUML/release/18-2-22/dist
!includeurl AWSPUML/common.puml
!includeurl AWSPUML/Storage/AmazonS3/AmazonS3.puml
!includeurl AWSPUML/Storage/AmazonS3/bucket/bucket.puml

AMAZONS3(s3_internal)
AMAZONS3(s3_partner,"Vendor's S3")
s3_internal <-- s3_partner

@enduml

 

Above snippet generate below diagram.

 


  

Previous                                                    Next                                                    Home

No comments:

Post a Comment