style

style.setDefaultNodeSize

setDefaultNodeSize(size: number): Promise<void>

Set the fallback size applied to all nodes that have not been explicitly sized.

Recorded in history as "SetDefaultNodeSize". Does not emit "style:changed".

sizenumberDefault size value (engine units).

Returns: Promise<void>

Example

await api.style.setDefaultNodeSize(12);