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

x/rimbu/graph/custom/common/index.ts>GraphConnectNonEmpty

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Go to Latest
interface GraphConnectNonEmpty
implements GraphConnect<N, V, Tp>
Re-export
import { type GraphConnectNonEmpty } from "https://deno.land/x/rimbu@0.14.1/graph/custom/common/index.ts";

Methods

addNodes(nodes: StreamSource<N>): WithGraphValues<Tp, N, V>["nonEmpty"]

Returns the non-empty graph with the nodes from the given nodes StreamSource added.

connectAll(links: StreamSource<WithGraphValues<Tp, N, V>["link"]>): WithGraphValues<Tp, N, V>["nonEmpty"]

Returns the non-empty graph with the connections from the given connections StreamSource added.