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