style.setEdgeDashed
setEdgeDashed(edgeIds: string[], dashed: boolean): Promise<void>Set whether the given edges are rendered with a dashed stroke.
All SetEdgeDashed commands are wrapped in a single labeled transaction —
one undo step (commit f150a9fea). Does not emit "style:changed".
edgeIds | string[] | Ids of the edges to modify. |
dashed | boolean | true to render dashed, false for solid. |
Returns: Promise<void>
Example
await api.style.setEdgeDashed(["e1", "e2"], true);