OptionaloutlineThe hovered or clicked route's outline.
OptionalwidthFactor?: numberMultiplier on the outline width, where 1 draws it as on any other route.
Clamped to 1 to 1.25, its range in routingKnobCatalogue.
OptionalsectionThe focused sections, ringed on both sides of the route without covering what it draws.
Optionaloutline?: { color?: string; widthFactor?: number }The ring, which runs clear of the widest line the route draws: its hovered outline or a section.
Optionalcolor?: stringThe ring's colour.
OptionalwidthFactor?: numberMultiplier on the ring's width, which grows from 2 to 4 pixels as the zoom grows.
Clamped to 0.5 to 2, its range in routingKnobCatalogue.
The highlights the routes draw: a hovered or clicked route widens its outline in the outline colour, and a focused section is ringed clear of every line the route draws.
Remarks
The routes draw their event states once a handler covers them, or RoutingModule.setEventState puts one. RoutingModule.selectRoute clears a route's
clickstate, since the selected style marks the route from then on. Alayers.mainLinesoutlineline-widthis drawn as given instead. The sections RoutingModule.setSectionFocus marks draw thesectionhighlight.