summaryrefslogtreecommitdiff
path: root/tests/pyreverse/data/classes_No_Name.mmd
blob: 7ad6f14230f56a7e0df8a67b0f824e4d892fbcec (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
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
  DoNothing --* Ancestor : cls_member
  DoNothing --* Specialization : relation
  DoNothing2 --o Specialization : relation2