跳转到内容

pivotick v3.0.0


拓展 / GraphForecast

接口: GraphForecast ​

定义于:GraphRenderer.ts:51

一个动作会对准备绘画的画布产生什么样的影响。

预测让图表保持原样——没有任何变暗,没有任何移动——并且只标记动作会改变的内容:什么会消失,什么会被隐藏,以及什么会回来的轮廓。这就是预测和 GraphRenderer.emphasiseElements 之间的区别,后者通过后退其他所有内容来读取画布的一组 out。

GraphHistoryLike.preview 提供了现成的,这就是悬停历史行显示单击将执行的操作的方式。

属性 ​

arriving? ​

optional arriving: object

定义于:GraphRenderer.ts:59

根本不在画布上——在它落地的地方画出轮廓。

edges ​

edges: ForecastEdge[]

nodes ​

nodes: ForecastNode[]


hiding? ​

optional hiding: Node[]

定义于:GraphRenderer.ts:57

留在图表中,但即将被隐藏。


removing? ​

optional removing: (Node | Edge)[]

定义于:GraphRenderer.ts:55

在他们出去的路上:仍然在原地,筋疲力尽。


touching? ​

optional touching: (Node | Edge)[]

定义于:GraphRenderer.ts:53

被行动所感动并停留:被环住,否则独自一人。