Skip to main content
Module

x/rimbu/mod.ts>ArrowGraphHashed.NonEmpty

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

A non-empty type-invariant immutable valued arrow (directed) graph. The connections are internally maintained using hashed collections See the Graph documentation and the ArrowGraphHashed API documentation

Methods

Returns a non-empty Stream containing all graph elements of this collection as single tuples for isolated nodes and 2-valued tuples of nodes for connections.