Tuesday 5 December 2023

PlantUML: nestable elements in the deployment diagram

Following elements are nestable in deployment diagram.

 

·      artifact

·      card

·      cloud

·      component

·      database

·      file

·      folder

·      frame

·      hexagon

·      node

·      package

·      queue

·      rectangle

·      stack

·      storage

 

nestableElements.txt

@startuml
artifact artifact1{
  card card1{
    cloud cloud1{
      component component1{
        database database1{
          file file1{
            folder folder1{
              frame frame1{
                hexagon hexagon1{
                  node node1{
                    package package1{
                      queue queue1{
                        rectangle rectangle1{
                          stack stack1{
                            storage storage1{

                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
} 
 
@enduml

Above snippet generate below diagram.



 

 

Previous                                                    Next                                                    Home

No comments:

Post a Comment