File tree Expand file tree Collapse file tree 3 files changed +18
-18
lines changed
tests/pyreverse/functional/class_diagrams/aggregation_filtering Expand file tree Collapse file tree 3 files changed +18
-18
lines changed Original file line number Diff line number Diff line change 11classDiagram
22 class P {
33 name : str
4- __init__ (name: str )
4+ \_\_init\_\_ (name: str )
55 }
66 class PrivateAttr {
7- __x
8- __init__ ()
7+ \_\_x
8+ \_\_init\_\_ ()
99 }
1010 class ProtectedAttr {
1111 _x
12- __init__ ()
12+ \_\_init\_\_ ()
1313 }
1414 class PublicAttr {
1515 x
16- __init__ ()
16+ \_\_init\_\_ ()
1717 }
1818 class SpecialAttr {
19- __x__
20- __init__ ()
19+ \_\_x\_\_
20+ \_\_init\_\_ ()
2121 }
22- P --* PrivateAttr : __x
22+ P --* PrivateAttr : \_\_x
2323 P --* ProtectedAttr : _x
2424 P --* PublicAttr : x
25- P --* SpecialAttr : __x__
25+ P --* SpecialAttr : \_\_x\_\_
Original file line number Diff line number Diff line change 11classDiagram
22 class P {
33 name : str
4- __init__ (name: str )
4+ \_\_init\_\_ (name: str )
55 }
66 class PrivateAttr {
7- __init__ ()
7+ \_\_init\_\_ ()
88 }
99 class ProtectedAttr {
10- __init__ ()
10+ \_\_init\_\_ ()
1111 }
1212 class PublicAttr {
1313 x
14- __init__ ()
14+ \_\_init\_\_ ()
1515 }
1616 class SpecialAttr {
17- __x__
18- __init__ ()
17+ \_\_x\_\_
18+ \_\_init\_\_ ()
1919 }
2020 P --* PublicAttr : x
21- P --* SpecialAttr : __x__
21+ P --* SpecialAttr : \_\_x\_\_
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ classDiagram
33 name : str
44 }
55 class PrivateAttr {
6- __x
6+ \_\_x
77 }
88 class ProtectedAttr {
99 _x
@@ -13,6 +13,6 @@ classDiagram
1313 }
1414 class SpecialAttr {
1515 }
16- P --* PrivateAttr : __x
16+ P --* PrivateAttr : \_\_x
1717 P --* ProtectedAttr : _x
1818 P --* PublicAttr : x
You can’t perform that action at this time.
0 commit comments