details is the weight, or { weight?, attributes? }.
Optionalattributes: Readonly<Record<string, AttributeValue>>Removes every edge from source to target (in either direction when undirected).
$O(E)$, like GraphBuilder.removeVertex.
Removes a vertex with its attributes and every edge touching it; later vertices keep their order.
StaticfromA builder pre-filled with graph (vertices, edges, weights and attributes), ready for more
additions and removals. Parallel edges stay allowed when the graph has some, unless overridden.
Mutable accumulator that produces an immutable Graph via
build().