Kind: Function
Source: atloria-monorepo/libs/parser-core/src/techdocs/subsystem-flow.ts
Walk outward from the entry point that reaches furthest.
Furthest rather than first: a subsystem usually declares several controllers and most of them bottom out immediately, so taking the first would describe the shallowest path in the subsystem and call it the flow. Depth wins, and total reach breaks ties.
Signature
tsfunction traceSubsystemFlow(entryPoints: Entity[], entities: Entity[], relationships: Relationship[]): SubsystemFlow | undefined
Parameters
| Name | Type |
|---|---|
entryPoints | Entity[] |
entities | Entity[] |
relationships | Relationship[] |
Returns: SubsystemFlow | undefined
Was this page helpful?