gds_business.common¶
Shared types, errors, and compilation utilities.
Diagram Kinds¶
Errors¶
Compilation Utilities¶
Build explicit wirings between two tiers based on port token overlap.
For each output port in the first tier, find matching input ports in the second tier (by token intersection). This replaces auto-wiring so we can use explicit StackComposition and bypass the token overlap validator.
Source code in packages/gds-business/gds_business/common/compile_utils.py
Compose two tiers sequentially with explicit wiring.
Uses StackComposition directly to bypass the auto-wire token overlap check. If no wirings found, falls back to auto-wiring via >>.