style

style.setEdgeArrowVisible

setEdgeArrowVisible(visible: boolean): Promise<void>

Show or hide the arrowhead on all edges globally.

Updates the in-memory _edgeArrowVisible field and dispatches a SetEdgeArrowCommand through the executor (undoable). Does not emit "style:changed".

visiblebooleantrue to show arrowheads, false to hide them.

Returns: Promise<void>

Example

await api.style.setEdgeArrowVisible(false);