(edge: WireFlowEdge)
| 291 | |
| 292 | /** Dash pattern for a link (design spec §3.5). Heuristic wins over uncertain. */ |
| 293 | export function dashFor(edge: WireFlowEdge): string | null { |
| 294 | if (edge.synthesized) return '5 3'; |
| 295 | if (edge.uncertain) return '2 3'; |
| 296 | return null; |
| 297 | } |
| 298 | |
| 299 | /** The dotted link into an end cap (design spec §3.5). */ |
| 300 | export const END_CAP_DASH = '2 4'; |
no outgoing calls
no test coverage detected