Suppose there is a task: to visualize the results of a recursive function (qsort) in the form of a binary tree. You can draw right away, right during work - just get confused. You can first programmatically build a tree model, and then draw it - it is more convenient.
How to put the second idea in the framework of one of the mvc mvvm patterns? Drawing with canvas or raphael.
The code itself, which will build the "model" can be called a controller?
The picture from the wiki shows with arrows that the model can refer to the presentation, but the picture taken from the fowler is not. What should the rendering functions be part of? Models or views?
What will be the presentation? A set of functions for rendering?
Binding the model means that when the model changes, the drawing function will be automatically called?