Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/rimbu/graph/custom/non-valued/interface/edge-graph-base.ts>EdgeGraphBase.NonEmpty

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Go to Latest
interface EdgeGraphBase.NonEmpty
implements [GraphBase.NonEmpty]<N, Tp>, Omit<EdgeGraphBase<N, Tp>, keyof GraphBase.NonEmpty<any, any>>, [Streamable.NonEmpty]<GraphElement<N>>
import { type EdgeGraphBase } from "https://deno.land/x/rimbu@0.14.1/graph/custom/non-valued/interface/edge-graph-base.ts";
const { NonEmpty } = EdgeGraphBase;

Methods

stream(): Stream.NonEmpty<GraphElement<N>>

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.