style.setEdgeWidth
setEdgeWidth(edgeId: string, width: number): Promise<void>Set the stroke width of a single edge.
Recorded in history as "SetEdgeWidth". Does not emit "style:changed".
edgeId | string | Id of the edge to modify. |
width | number | Width in engine units. |
Returns: Promise<void>
Example
await api.style.setEdgeWidth("e1", 3);