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

Function createDag

apps/sim/executor/orchestrators/parallel.test.ts:26–42  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

24}))
25
26function createDag(): DAG {
27 return {
28 nodes: new Map(),
29 loopConfigs: new Map(),
30 parallelConfigs: new Map([
31 [
32 'parallel-1',
33 {
34 id: 'parallel-1',
35 nodes: ['task-1'],
36 distribution: [],
37 parallelType: 'collection',
38 },
39 ],
40 ]),
41 }
42}
43
44function createDagNode(id: string, metadata: DAGNode['metadata'] = {}): DAGNode {
45 return {

Callers 1

parallel.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected