MCPcopy Index your code
hub / github.com/simstudioai/sim / createEdges

Function createEdges

packages/testing/src/factories/edge.factory.ts:64–73  ·  view source on GitHub ↗
(
  connections: Array<{
    source: string
    target: string
    sourceHandle?: string
    targetHandle?: string
  }>
)

Source from the content-addressed store, hash-verified

62 * ```
63 */
64export function createEdges(
65 connections: Array<{
66 source: string
67 target: string
68 sourceHandle?: string
69 targetHandle?: string
70 }>
71): any[] {
72 return connections.map((conn) => createEdge(conn))
73}
74
75/**
76 * Creates a linear chain of edges connecting blocks in order.

Callers

nothing calls this directly

Calls 1

createEdgeFunction · 0.70

Tested by

no test coverage detected