Skip to content

Commit 4a2c2ef

Browse files
committed
Testing embedding of svg in markdown
1 parent bd103f9 commit 4a2c2ef

File tree

5 files changed

+75
-0
lines changed

5 files changed

+75
-0
lines changed

Structural/Adapter/README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,8 @@ To translate one interface for a class into a compatible interface. An adapter a
88

99
* DB Client libraries adapter
1010
* using multiple different webservices and adapters normalize data so that the outcome is the same for all
11+
12+
## UML Diagram
13+
14+
<img src="uml.svg" alt="Adapter UML Diagram">
15+
![Alt Adapter UML Diagram](uml.svg)

Structural/Adapter/uml.svg

Lines changed: 1 addition & 0 deletions
Loading

Structural/Adapter/uml.txt

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
@startuml
2+
interface PaperBookInterface {
3+
+turnPage()
4+
+open()
5+
}
6+
7+
interface EBookInterface {
8+
+pressNext()
9+
+pressStart()
10+
}
11+
12+
class Book {
13+
+open()
14+
+turnPage()
15+
}
16+
17+
class Kindle {
18+
+pressNext()
19+
+pressStart()
20+
}
21+
22+
class EBookAdapter {
23+
#eBook : EBookInterface
24+
+__construct(ebook : EBookInterface)
25+
+open()
26+
+turnPage()
27+
}
28+
29+
PaperBookInterface <|.. Book
30+
PaperBookInterface <|.. EBookAdapter
31+
EBookInterface <|.. Kindle
32+
EBookAdapter o-- EBookInterface
33+
@enduml

0 commit comments

Comments
 (0)