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

Function createLinearEdges

packages/testing/src/factories/edge.factory.ts:84–90  ·  view source on GitHub ↗
(blockIds: string[])

Source from the content-addressed store, hash-verified

82 * ```
83 */
84export function createLinearEdges(blockIds: string[]): any[] {
85 const edges: any[] = []
86 for (let i = 0; i < blockIds.length - 1; i++) {
87 edges.push(createEdge({ source: blockIds[i], target: blockIds[i + 1] }))
88 }
89 return edges
90}

Callers 1

createLinearWorkflowFunction · 0.90

Calls 2

createEdgeFunction · 0.70
pushMethod · 0.45

Tested by

no test coverage detected