style.setEdgeScale
setEdgeScale(scale: number): Promise<void>Set the global edge scale multiplier applied to all edge widths.
Updates the in-memory _edgeScale field and dispatches a
SetEdgeScaleCommand through the executor (undoable).
Does not emit "style:changed".
scale | number | Multiplier applied globally to edge widths (default: 1). |
Returns: Promise<void>
Example
await api.style.setEdgeScale(2); // double all edge widths