blob: 602f2e3b7ac35d895f5cded7dc5eb4d97cb4b529 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
<html>
<body>
<script src="https://cdn.jsdelivr.net/npm/mermaid/dist/mermaid.min.js"></script>
<div class="mermaid">
classDiagram
class Ancestor {
attr : str
cls_member
get_value()
set_value(value)
}
class CustomException {
}
class DoNothing {
}
class DoNothing2 {
}
class DoSomething {
my_int : Optional[int]
my_int_2 : Optional[int]
my_string : str
do_it(new_int: int) int
}
class Interface {
get_value()*
set_value(value)*
}
class PropertyPatterns {
prop1
prop2
}
class Specialization {
TYPE : str
relation
relation2
top : str
from_value(value: int)
increment_value() None
transform_value(value: int) int
}
Specialization --|> Ancestor
Ancestor ..|> Interface
DoNothing --* Ancestor : cls_member
DoNothing --* Specialization : relation
DoNothing2 --o Specialization : relation2
</div>
</body>
</html>
|