Browse Source

samples

master
esoe 9 months ago
parent
commit
6d0ec122a0
  1. 28
      doc/puml/api/home.puml
  2. 16
      doc/puml/services/main.puml
  3. 11
      doc/puml/services/models/sample.puml

28
doc/puml/api/home.puml

@ -0,0 +1,28 @@
actor actor
actor/ "actor/"
agent agent
artifact artifact
boundary boundary
card card
circle circle
cloud cloud
collections collections
component component
control control
database database
entity entity
file file
folder folder
frame frame
hexagon hexagon
interface interface
label label
node node
package package
queue queue
rectangle rectangle
stack stack
storage storage
usecase usecase
usecase/ "usecase/"
@enduml

16
doc/puml/services/main.puml

@ -0,0 +1,16 @@
' File: sample.puml
@startuml
' Include first section (0-based index) of commons.puml
!include /models/sample.puml!0
' Include section with id mail of commons.puml
!include /models/sample.puml!mail
[Sample Application] <<Software System>> as SampleApp
User --> SampleApp
SampleApp --> Mail
@enduml

11
doc/puml/services/models/sample.puml

@ -0,0 +1,11 @@
' File: models/sample.puml
' section with id user to define user actor
@startuml(id=user)
actor "Application User" as User
@enduml
' section with id mail to define mail component
@startuml(id=mail)
[Mail server] as Mail <<Mail>> #ffcc66
@enduml
Loading…
Cancel
Save