Files
meshcore-analyzer/cmd
dborupandClaude Sonnet 5 1e01d04c8a feat: Area analytics -- node density/health, cross-area bridge nodes, position-fix coverage gaps
New GET /api/analytics/areas endpoint and "Areas" analytics tab, built on
the configured drawn-polygon Areas (meshguide.dk sync), distinct from
hashRegion scope adoption:

- Density: node count + active/degraded/silent health + role mix per
  area, multi-membership via AreaKeysForPoint (a node in a sub-area also
  rolls up into its parent region).
- Bridge nodes: which nodes' packet-derived neighbor_edges reach into
  another area, ranked by how many other areas they touch -- distinct
  from the network-wide, area-unaware bridge_score.
- Position gaps: per area, real GPS fix vs. neighbor-centroid-estimated
  position, reusing nearestPositionedNeighbor (the same technique View
  Path's approx markers use) purely as an internal coverage signal.

30s TTL cache on the handler since position-gap computation calls
nearestPositionedNeighbor once per unpositioned node.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-27 11:54:25 +02:00
..