Skip to content

five-on-it / packages/world/src/signals / findJunctions

Function: findJunctions() ​

findJunctions(graph): Junction[]

Defined in: packages/world/src/signals.ts:113

The nodes where three or more neighbours meet, in node order, each with its box and its incoming lanes.

Parameters ​

graph ​

RoadGraph

Returns ​

Junction[]