"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.GraphEvent = void 0; var GraphEvent; (function (GraphEvent) { /** * 画布初始化之前 * * Before the canvas is initialized */ GraphEvent["BEFORE_CANVAS_INIT"] = "beforecanvasinit"; /** * 画布初始化之后 * * After the canvas is initialized */ GraphEvent["AFTER_CANVAS_INIT"] = "aftercanvasinit"; /** * 视口尺寸变更之前 * * Before the viewport size changes */ GraphEvent["BEFORE_SIZE_CHANGE"] = "beforesizechange"; /** * 视口尺寸变更之后 * * After the viewport size changes */ GraphEvent["AFTER_SIZE_CHANGE"] = "aftersizechange"; /** * 元素创建之前 * * Before creating element */ GraphEvent["BEFORE_ELEMENT_CREATE"] = "beforeelementcreate"; /** * 元素创建之后 * * After creating element */ GraphEvent["AFTER_ELEMENT_CREATE"] = "afterelementcreate"; /** * 元素更新之前 * * Before updating element */ GraphEvent["BEFORE_ELEMENT_UPDATE"] = "beforeelementupdate"; /** * 元素更新之后 * * After updating element */ GraphEvent["AFTER_ELEMENT_UPDATE"] = "afterelementupdate"; /** * 元素销毁之前 * * Before destroying element */ GraphEvent["BEFORE_ELEMENT_DESTROY"] = "beforeelementdestroy"; /** * 元素销毁之后 * * After destroying element */ GraphEvent["AFTER_ELEMENT_DESTROY"] = "afterelementdestroy"; /** * 元素平移之前 * * Before element translation */ GraphEvent["BEFORE_ELEMENT_TRANSLATE"] = "beforeelementtranslate"; /** * 元素平移之后 * * After element translation */ GraphEvent["AFTER_ELEMENT_TRANSLATE"] = "afterelementtranslate"; /** * 绘制开始之前 * * Before drawing */ GraphEvent["BEFORE_DRAW"] = "beforedraw"; /** * 绘制结束之后 * * After drawing */ GraphEvent["AFTER_DRAW"] = "afterdraw"; /** * 渲染开始之前 * * Before rendering */ GraphEvent["BEFORE_RENDER"] = "beforerender"; /** * 渲染完成之后 * * After rendering */ GraphEvent["AFTER_RENDER"] = "afterrender"; /** * 动画开始之前 * * Before animation */ GraphEvent["BEFORE_ANIMATE"] = "beforeanimate"; /** * 动画结束之后 * * After animation */ GraphEvent["AFTER_ANIMATE"] = "afteranimate"; /** * 布局开始之前 * * Before layout */ GraphEvent["BEFORE_LAYOUT"] = "beforelayout"; /** * 布局结束之后 * * After layout */ GraphEvent["AFTER_LAYOUT"] = "afterlayout"; /** * 布局过程之前,用于流水线布局过程获取当前执行的布局 * * Before the layout process, used to get the current layout being executed in the pipeline layout process */ GraphEvent["BEFORE_STAGE_LAYOUT"] = "beforestagelayout"; /** * 布局过程之后,用于流水线布局过程获取当前执行的布局 * * After the layout process, used to get the current layout being executed in the pipeline layout process */ GraphEvent["AFTER_STAGE_LAYOUT"] = "afterstagelayout"; /** * 可视区域变化之前 * * Before the visible area changes */ GraphEvent["BEFORE_TRANSFORM"] = "beforetransform"; /** * 可视区域变化之后 * * After the visible area changes */ GraphEvent["AFTER_TRANSFORM"] = "aftertransform"; /** * 批处理开始 * * Batch processing starts */ GraphEvent["BATCH_START"] = "batchstart"; /** * 批处理结束 * * Batch processing ends */ GraphEvent["BATCH_END"] = "batchend"; /** * 销毁开始之前 * * Before destruction */ GraphEvent["BEFORE_DESTROY"] = "beforedestroy"; /** * 销毁结束之后 * * After destruction */ GraphEvent["AFTER_DESTROY"] = "afterdestroy"; /** * 渲染器变更之前 * * Before the renderer changes */ GraphEvent["BEFORE_RENDERER_CHANGE"] = "beforerendererchange"; /** * 渲染器变更之后 * * After the renderer changes */ GraphEvent["AFTER_RENDERER_CHANGE"] = "afterrendererchange"; })(GraphEvent || (exports.GraphEvent = GraphEvent = {})); //# sourceMappingURL=graph.js.map