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

x/rimbu/graph/custom/common/link.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@0.14.0/graph/custom/common/link.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