Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/simstudioai/sim
/ route.ts
File
route.ts
apps/sim/app/api/workflows/[id]/autolayout/route.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ createLogger } from
'@sim/logger'
2
import
{
3
assertWorkflowMutable,
4
authorizeWorkflowByWorkspacePermission,
Callers
nothing calls this directly
Calls
13
createLogger
Function · 0.90
withRouteHandler
Function · 0.90
generateRequestId
Function · 0.90
checkSessionOrInternalAuth
Function · 0.90
parseRequest
Function · 0.90
authorizeWorkflowByWorkspacePermission
Function · 0.90
assertWorkflowMutable
Function · 0.90
loadWorkflowFromNormalizedTables
Function · 0.90
applyAutoLayout
Function · 0.90
getErrorMessage
Function · 0.90
info
Method · 0.80
error
Method · 0.80
Tested by
no test coverage detected