MultiGraph<'n, 'e> Type
A multigraph that can hold multiple (parallel) edges between the same pair of nodes.
Type Parameters
'n: Node data type (must support equality)'e: Edge data type (must support equality)
Fields
Kind: Directed or UndirectedNodes: Map from NodeId to node dataEdges: Map from EdgeId to (source, target, data)OutEdgeIds: Map from node to its outgoing edge IDsInEdgeIds: Map from node to its incoming edge IDsNextEdgeId: Counter for generating new edge IDs