Skip to main content
Module

x/rimbu/graph/custom/index.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.14.0/graph/custom/index.ts";
interface ArrowValuedGraphBase
implements ValuedGraphBase<N, V, Tp>
import { type ArrowValuedGraphBase } from "https://deno.land/x/rimbu@0.14.0/graph/custom/index.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.