docs: render UML diagrams and embed portable previews
Verify Tessera GUI / verify (push) Failing after 1m30s
Verify Tessera GUI / verify (push) Failing after 1m30s
This commit is contained in:
@@ -19,27 +19,9 @@ GUI 在 redraw 时组合已发布的画面和宿主 chrome,并按实际屏幕
|
||||
|
||||
## 点击如何回到对象
|
||||
|
||||
```mermaid
|
||||
sequenceDiagram
|
||||
actor User as 用户
|
||||
participant GUI as TesseraApp
|
||||
participant Client as events::Client
|
||||
participant API as API / worker
|
||||
participant VM as ReplSession
|
||||
participant Dispatch as event_dispatch
|
||||
participant Publish as 刷新并发布
|
||||
User->>GUI: 鼠标按下 / 松开
|
||||
GUI->>GUI: 已发布几何命中,检查 press/release 目标
|
||||
GUI->>Client: Input(window, session, layout_version, mount)
|
||||
Client->>API: POST /events
|
||||
API->>API: 拒绝过期会话、窗口和拖放目标
|
||||
API->>VM: dispatch_incremental
|
||||
VM->>Dispatch: 解析当前 Mount 和 Block
|
||||
Dispatch->>Dispatch: capture → target → bubble
|
||||
Dispatch->>VM: 受预算的 handler / onEvent / onClick
|
||||
VM->>Publish: 刷新共享对象的相关展示
|
||||
Publish-->>GUI: 新 Frame / DocumentUpdated
|
||||
```
|
||||

|
||||
|
||||
[放大 SVG](uml/rendered/input.svg) · [编辑 UML 源码](uml/input.puml)
|
||||
|
||||
可编辑来源:[input.puml](uml/input.puml)。没有 Mount 的代码主动 dispatch 只访问目标;有 Mount 的事件沿该次出现的父路径传播。事件监听器连接由 Block 保留,Subscription token 是弱控制句柄。
|
||||
|
||||
|
||||
Reference in New Issue
Block a user