Core Library
Program Sequence Diagram
There are 2 main components in this simple scenario:
- The main program: draws the main scene; starts wui/ opens UI tabs; fetches the current UI; sends/receives events
- WUI: manages the currently existing tabs and their rendering; manages the subprocess and rendering; receives UI input
- Internally WUI starts a rendering subprocess which is a separate process
The following diagram shows the setup flow:
info
Note[1]: How often this occurs depends on the html page loaded. The buffer will be redrawn as often as needed. Redraws respect "partial redraws" which means that if your application redraws only a small subpart of its html (which would be good practice in e.g. react
) then only that area is updated. Redraws happen at most as often as the FPS limit in settings at WUI startup allow.
The next graph shows an example runtime behavior. While the next graph shows the HTML draws as synchronous in this sequence diagram, they are asynchronous.
Usage
Go to the usage page for more information on how to use the core library.