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

Function isContainerBlock

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

* Checks if a block is a container type (loop or parallel)

(node: GraphNode)

Source from the content-addressed store, hash-verified

257 * Checks if a block is a container type (loop or parallel)
258 */
259function isContainerBlock(node: GraphNode): boolean {
260 return node.block.type === 'loop' || node.block.type === 'parallel'
261}
262
263/**
264 * Extra vertical spacing after containers to prevent edge crossings with sibling blocks.

Callers 1

calculatePositionsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected