API Reference
wireBridge()
Creates a wire bridge.
Import
import { wireBridge } from "@graphrefly/ts/adapters";
Signature
function wireBridge(
graph: Graph,
opts: WireBridgeOptions,
): WireBridgeBundle<TOutbound, TInbound>
Parameters
| Parameter | Type | Description |
|---|---|---|
graph | Graph | Graph that owns the created nodes or projector. |
opts | WireBridgeOptions | Options that configure the helper. |
Returns
The wire bridge result.
Example
import { wireBridge } from "@graphrefly/ts/adapters";
Source
packages/ts/src/adapters/bridge.ts