edges

edges.clear

clear(): Promise<void>

Remove all edges from the graph.

Delegates to remove() with all current edge ids. Emits "edges:removed". Recorded in history as "RemoveEdges". No-op when the graph has no edges.

Returns: Promise<void>