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

Function buildBranchNodeId

apps/sim/executor/utils/subflow-utils.ts:58–60  ·  view source on GitHub ↗
(baseId: string, branchIndex: number)

Source from the content-addressed store, hash-verified

56 * Example: ("blockId", 2) → "blockId₍2₎"
57 */
58export function buildBranchNodeId(baseId: string, branchIndex: number): string {
59 return SubflowNodeIdCodec.buildBranchNodeId(baseId, branchIndex)
60}
61
62export function extractBaseBlockId(branchNodeId: string): string {
63 return SubflowNodeIdCodec.extractBaseBlockId(branchNodeId)

Callers 15

expandParallelMethod · 0.90
cloneTemplateNodeMethod · 0.90
cloneSubflowGraphMethod · 0.90
parallel.test.tsFile · 0.90
collectSubflowNodeIdsMethod · 0.90
executeMethod · 0.90
builder.test.tsFile · 0.90
edges.test.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected