Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/rimbu/graph/custom/valued/interface/arrow/arrow-valued-graph-base.ts>ArrowValuedGraphBase

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Go to Latest
namespace ArrowValuedGraphBase
import { ArrowValuedGraphBase } from "https://deno.land/x/rimbu@0.13.5/graph/custom/valued/interface/arrow/arrow-valued-graph-base.ts";
interface ArrowValuedGraphBase
implements ValuedGraphBase<N, V, Tp>
import { type ArrowValuedGraphBase } from "https://deno.land/x/rimbu@0.13.5/graph/custom/valued/interface/arrow/arrow-valued-graph-base.ts";

Properties

readonly
isDirected: true

Returns true since this is an arrow (directed) graph instance.

Methods

isSink<UN = N>(node: RelatedTo<N, UN>): boolean

Returns true if the given node has no outgoing connections.

isSource<UN = N>(node: RelatedTo<N, UN>): boolean

Returns true if the given node has no incoming connections.