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

x/rimbu/graph/custom/index.ts>Link.fromArgs

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Go to Latest
function Link.fromArgs
import { Link } from "https://deno.land/x/rimbu@1.2.0/graph/custom/index.ts";
const { fromArgs } = Link;

Returns a graph Link from the given node1 and node2 nodes.

Parameters

node1: N
  • the first connection node
node2: N
  • the second connection node