Custom Layer
We split the canvas into multiple Layers, implementing the concept of interaction layering for better plugin management. For more details, see Canvas Engine
- Use
observeEntityDatas,observeEntities, andobserveEntityto monitor updates to any data module of canvas nodes - Use
onZoom,onScroll,onViewportChange, etc. to monitor canvas zooming or scrolling - Use
renderto insert React elements into the canvas, such as drawing SVG lines

Creating a Layer
Adding to Canvas
- Through use-editor-props
- Through plugin