Skip to main content
Module

x/rimbu/mod.ts>EdgeValuedGraphSorted.NonEmpty

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Go to Latest
interface EdgeValuedGraphSorted.NonEmpty
implements [EdgeValuedGraphBase.NonEmpty]<N, V, EdgeValuedGraphSorted.Types>, Omit<EdgeValuedGraphSorted<N, V>, keyof EdgeValuedGraphBase.NonEmpty<any, any, any>>, [Streamable.NonEmpty]<ValuedGraphElement<N, V>>
import { type EdgeValuedGraphSorted } from "https://deno.land/x/rimbu@0.14.0/mod.ts";
const { NonEmpty } = EdgeValuedGraphSorted;

A non-empty type-invariant immutable valued edge (undirected) graph. The nodes are internally maintained using SortedMaps See the Graph documentation and the EdgeValuedGraphSorted API documentation

Methods

Returns a non-empty Stream containing all entries of this collection as tuples of key and value.