Manually updated the classchart

This commit is contained in:
René Lombard 2024-09-12 12:40:19 +02:00
parent 59991b70a1
commit 1d8f524913

View File

@ -160,29 +160,29 @@
</pre> </pre>
<hr /> <hr />
<pre class="mermaid"> <pre class="mermaid">
classDiagram classDiagram
namespace Company.Project.Module { namespace Company.Project.Module {
class GenericClass~T~ { class GenericClass~T~ {
+addItem(item: T) +addItem(item: T)
+getItem() T +getItem() T
} }
} }
</pre> </pre>
<hr /> <hr />
<pre class="mermaid"> <pre class="mermaid">
classDiagram classDiagram
namespace Company.Project.Module.SubModule { namespace Company.Project.Module.SubModule {
class Report { class Report {
+generatePDF(data: List) +generatePDF(data: List)
+generateCSV(data: List) +generateCSV(data: List)
}
} }
namespace Company.Project.Module { }
class Admin { namespace Company.Project.Module {
+generateReport() class Admin {
} +generateReport()
} }
Admin --> Report : generates }
Admin --> Report : generates
</pre> </pre>
<pre class="mermaid"> <pre class="mermaid">
classDiagram classDiagram
@ -200,44 +200,42 @@
+generatePDF(reportData: List) +generatePDF(reportData: List)
+generateCSV(reportData: List) +generateCSV(reportData: List)
} }
} }
Admin --> User : manages Admin --> User : manages
Admin --> Report : generates Admin --> Report : generates
</pre> </pre>
<hr /> <hr />
<pre class="mermaid"> <pre class="mermaid">
classDiagram classDiagram
namespace Shapes { namespace Shapes {
class Shape { class Shape {
+calculateArea() double +calculateArea() double
} }
class Circle { class Circle {
+double radius +double radius
} }
class Square { class Square {
+double side +double side
} }
} }
Shape <|-- Circle Shape <|-- Circle
Shape <|-- Square Shape <|-- Square
namespace Vehicles { namespace Vehicles {
class Vehicle { class Vehicle {
+String brand +String brand
} }
class Car { class Car {
+int horsepower +int horsepower
} }
class Bike { class Bike {
+boolean hasGears +boolean hasGears
} }
} }
Vehicle <|-- Car Vehicle <|-- Car
Vehicle <|-- Bike Vehicle <|-- Bike
Car --> Circle : "Logo Shape" Car --> Circle : "Logo Shape"
Bike --> Square : "Logo Shape" Bike --> Square : "Logo Shape"