Skip to content
PACKAGES

wireEdgeGroup()

Creates a wire edge group.

import { wireEdgeGroup } from "@graphrefly/ts/adapters";
function wireEdgeGroup(
graph: Graph,
bridge: WireBridgeBundle<WireBridgeProtobufData, WireBridgeProtobufData>,
opts: WireEdgeGroupOptions,
): WireEdgeGroupBundle
ParameterTypeDescription
graphGraphGraph that owns the created nodes or projector.
bridgeWireBridgeBundle<WireBridgeProtobufData, WireBridgeProtobufData>bridge value used by the helper.
optsWireEdgeGroupOptionsOptions that configure the helper.

The wire edge group result.

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

packages/ts/src/adapters/bridge-wire-edge-group.ts