Skip to content

Commit

Permalink
feat: add accessors for the workspace svg group and block canvas
Browse files Browse the repository at this point in the history
  • Loading branch information
BeksOmega committed Aug 14, 2023
1 parent 86f3182 commit a7d6954
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions core/workspace_svg.ts
Original file line number Diff line number Diff line change
Expand Up @@ -693,6 +693,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.
*
Expand Down

0 comments on commit a7d6954

Please sign in to comment.