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

Function getTargetHandleYOffset

apps/sim/lib/workflows/autolayout/core.ts:61–63  ·  view source on GitHub ↗

* Calculates the Y offset for a target handle based on block type and handle ID.

(_block: BlockState, _targetHandle?: string | null)

Source from the content-addressed store, hash-verified

59 * Calculates the Y offset for a target handle based on block type and handle ID.
60 */
61function getTargetHandleYOffset(_block: BlockState, _targetHandle?: string | null): number {
62 return HANDLE_POSITIONS.DEFAULT_Y_OFFSET
63}
64
65/**
66 * Checks if an edge comes from a subflow end handle

Callers 1

calculatePositionsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected