Skip to content

Commit

Permalink
fix(homecloud): adapt homecloud example
Browse files Browse the repository at this point in the history
  • Loading branch information
tmorin committed Dec 2, 2020
1 parent 67a7331 commit a66c85b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
9 changes: 5 additions & 4 deletions dist/homecloud/examples/simple.puml
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,16 @@ LocalNetworkGroup('home', 'Home Network') {
all components run
on the same server
end note
N1 .right. syncthing
N1 .left. samba
N1 . disk
}

router -[hidden]right- syncthing
N1 .up. syncthing
N1 .left. samba
N1 . disk
syncthing --> disk : Relationship('Reads/Writes to', 'USB')
samba --> disk : Relationship('Reads/Writes to', 'USB')
internet -down-> router : Relationship('Accesses to', 'HTTP(S)')
router -left-> swarm : Relationship('Routes to', 'HTTP(S)')
syncthing <-up-> internet : Relationship('Synchronizes data with', 'BEP')
syncthing <-up-> internet : Relationship('Synchronizes\ndata with', 'BEP')
swarm --> samba : Relationship('Reads/Writes to', 'CIFS')
@enduml
9 changes: 5 additions & 4 deletions lib/homecloud/template/simple.puml
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,16 @@ LocalNetworkGroup('home', 'Home Network') {
all components run
on the same server
end note
N1 .right. syncthing
N1 .left. samba
N1 . disk
}

router -[hidden]right- syncthing
N1 .up. syncthing
N1 .left. samba
N1 . disk
syncthing --> disk : Relationship('Reads/Writes to', 'USB')
samba --> disk : Relationship('Reads/Writes to', 'USB')
internet -down-> router : Relationship('Accesses to', 'HTTP(S)')
router -left-> swarm : Relationship('Routes to', 'HTTP(S)')
syncthing <-up-> internet : Relationship('Synchronizes data with', 'BEP')
syncthing <-up-> internet : Relationship('Synchronizes\ndata with', 'BEP')
swarm --> samba : Relationship('Reads/Writes to', 'CIFS')
@enduml

0 comments on commit a66c85b

Please sign in to comment.