On this pageHome > @jsplumbtoolkit/browser-ui > Surface > setSizeSurface.setSize() method#Sets the size of element representing the given vertex in the DOM, updating the layout.Signature:setSize(id: string, w: number, h: number): void;CopyParameters#ParameterTypeDescriptionidstringwnumberhnumberReturns:void