Skip to content

Commit abd5272

Browse files
authored
Update readme
1 parent 944fa2d commit abd5272

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,9 @@ and the KISS principle for building complex, dynamic JavaFX applications. It add
4040
of classical MVVM — dynamic component composition and lifecycle management — by introducing an explicit, imperative
4141
component layer responsible for the creation, ownership, and lifetime of components. Each `Component` exists as a
4242
self-contained architectural unit composed of a `ComponentView`, `ComponentViewModel`, and `ComponentMediator`,
43-
optionally augmented with `ComponentHistory`.
43+
optionally augmented with `ComponentHistory`:
44+
45+
<img width="1217" height="542" alt="PatternFX" src="https://github.com/user-attachments/assets/21a63b51-f939-407c-b3ea-03e4f62815d7" />
4446

4547
The framework enforces a strict separation of responsibilities:
4648
- `Component` defines the identity and manages lifecycle, initialization/deinitialization, and composition of child
@@ -133,9 +135,7 @@ demonstrate.
133135
### Component Structure <a name="component-structure"></a>
134136

135137
A component, as a rule, consists of the following classes: `Component` (with an inner `Mediator` implementation),
136-
`ComponentView`, `ComponentViewModel`, and `ComponentMediator`:
137-
138-
<img width="1016" height="457" alt="PatternFX" src="https://github.com/user-attachments/assets/28ea5b5f-7f86-4dc6-bc74-6c4ed3c1abd7" />
138+
`ComponentView`, `ComponentViewModel`, and `ComponentMediator`.
139139

140140
A natural question might arise: why is there no `Model` in the component, given that
141141
the pattern is called MVVM? Firstly, a component is a building block for constructing a user interface, which might

0 commit comments

Comments
 (0)