Skip to content
PACKAGES

wireBridge()

Creates a wire bridge.

import { wireBridge } from "@graphrefly/ts/adapters";
function wireBridge(
graph: Graph,
opts: WireBridgeOptions,
): WireBridgeBundle<TOutbound, TInbound>
ParameterTypeDescription
graphGraphGraph that owns the created nodes or projector.
optsWireBridgeOptionsOptions that configure the helper.

The wire bridge result.

import { wireBridge } from "@graphrefly/ts/adapters";

packages/ts/src/adapters/bridge.ts