feat: add accessors for the workspace svg group and block canvas (#7394)

This commit is contained in:
Beka Westberg
2023-08-16 16:56:54 -07:00
committed by GitHub
parent d5c71050c4
commit b602f2163b

View File

@@ -694,6 +694,15 @@ export class WorkspaceSvg extends Workspace implements IASTNodeLocationSvg {
return this.injectionDiv!;
}
/**
* Returns the SVG group for the workspace.
*
* @returns The SVG group for the workspace.
*/
getSvgGroup(): Element {
return this.svgGroup_;
}
/**
* Get the SVG block canvas for the workspace.
*