P4-Nano: controller port with the C6 as ESP-NOW radio, and the simulator

The controller now builds for the Waveshare ESP32-P4-Nano only (plus the linux
sim and the desktop); the S3 stays for the USB/network bridge in bridge/.

- radio-c6/: C6 firmware, esp-hosted plus ESP-NOW over peer data. The P4 loads
  it from the slave_fw partition when the C6 runs another version (c6_update.c)
- bridge_hosted.c: the C6 as the always-on "c6" bridge, and the P4 as a network
  bridge on UDP 8766 for the desktop
- Ethernet on the P4's EMAC, ES8311 mic; default address 192.168.50.20. The
  W5500, INMP441 and direct ESP-NOW code is gone
- The simulated rig at /sim/ is built into the board image, with an always-on
  "browser" bridge. Its frames go through a queue so a slow page cannot hold up
  the radio, and frames for simulated bars are not sent over the C6. Receiver
  buffers are on the heap; a bar's flash file is only written when it changes
- HTTP server: more handlers, sockets and stack for the rig
- docs/P4_NANO.md, README and Makefile updated; graphify output

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
jimmyandClaude Opus 5.5 committed 2026-11-24 21:45:25 +13:00
1 parent ba8e160aee
commit 4ab0c7c6d7
101 files changed
+3284 -971

No files matched your search

+5 -5
View File
@@ -94,12 +94,12 @@
</div>
<div id="legend"></div>
</div>
<div id="stats">257 nodes &middot; 560 edges &middot; 257 communities</div>
<div id="stats">293 nodes &middot; 698 edges &middot; 293 communities</div>
</div>
<script>
const RAW_NODES = [{"id": "241", "label": "KeyName", "color": {"background": "#F28E2B", "border": "#F28E2B", "highlight": {"background": "#ffffff", "border": "#F28E2B"}}, "size": 10.7, "font": {"size": 12, "color": "#ffffff"}, "title": "KeyName", "community": 241, "community_name": "KeyName", "source_file": "", "file_type": "", "degree": 1, "member_count": 4}, {"id": "32", "label": "nvs_sim.cpp", "color": {"background": "#E15759", "border": "#E15759", "highlight": {"background": "#ffffff", "border": "#E15759"}}, "size": 15.7, "font": {"size": 12, "color": "#ffffff"}, "title": "nvs_sim.cpp", "community": 32, "community_name": "nvs_sim.cpp", "source_file": "", "file_type": "", "degree": 8, "member_count": 31}, {"id": "68", "label": "cJSON_AddStringToObject", "color": {"background": "#9C755F", "border": "#9C755F", "highlight": {"background": "#ffffff", "border": "#9C755F"}}, "size": 20.6, "font": {"size": 12, "color": "#ffffff"}, "title": "cJSON_AddStringToObject", "community": 68, "community_name": "cJSON_AddStringToObject", "source_file": "", "file_type": "", "degree": 28, "member_count": 58}, {"id": "74", "label": "espnow_link.cpp", "color": {"background": "#59A14F", "border": "#59A14F", "highlight": {"background": "#ffffff", "border": "#59A14F"}}, "size": 17.9, "font": {"size": 12, "color": "#ffffff"}, "title": "espnow_link.cpp", "community": 74, "community_name": "espnow_link.cpp", "source_file": "", "file_type": "", "degree": 11, "member_count": 43}, {"id": "41", "label": "WS2812", "color": {"background": "#F28E2B", "border": "#F28E2B", "highlight": {"background": "#ffffff", "border": "#F28E2B"}}, "size": 14.6, "font": {"size": 12, "color": "#ffffff"}, "title": "WS2812", "community": 41, "community_name": "WS2812", "source_file": "", "file_type": "", "degree": 4, "member_count": 25}, {"id": "217", "label": "api_call_t", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 11.1, "font": {"size": 12, "color": "#ffffff"}, "title": "api_call_t", "community": 217, "community_name": "api_call_t", "source_file": "", "file_type": "", "degree": 1, "member_count": 6}, {"id": "23", "label": "cJSON", "color": {"background": "#76B7B2", "border": "#76B7B2", "highlight": {"background": "#ffffff", "border": "#76B7B2"}}, "size": 39.6, "font": {"size": 12, "color": "#ffffff"}, "title": "cJSON", "community": 23, "community_name": "cJSON", "source_file": "", "file_type": "", "degree": 26, "member_count": 162}, {"id": "14", "label": "freertos.c", "color": {"background": "#59A14F", "border": "#59A14F", "highlight": {"background": "#ffffff", "border": "#59A14F"}}, "size": 27.4, "font": {"size": 12, "color": "#ffffff"}, "title": "freertos.c", "community": 14, "community_name": "freertos.c", "source_file": "", "file_type": "", "degree": 29, "member_count": 95}, {"id": "45", "label": "http_parser.h", "color": {"background": "#EDC948", "border": "#EDC948", "highlight": {"background": "#ffffff", "border": "#EDC948"}}, "size": 18.2, "font": {"size": 12, "color": "#ffffff"}, "title": "http_parser.h", "community": 45, "community_name": "http_parser.h", "source_file": "", "file_type": "", "degree": 3, "member_count": 45}, {"id": "139", "label": "esp_err.h", "color": {"background": "#BAB0AC", "border": "#BAB0AC", "highlight": {"background": "#ffffff", "border": "#BAB0AC"}}, "size": 40.0, "font": {"size": 12, "color": "#ffffff"}, "title": "esp_err.h", "community": 139, "community_name": "esp_err.h", "source_file": "", "file_type": "", "degree": 51, "member_count": 164}, {"id": "33", "label": "httpd_parse.c", "color": {"background": "#76B7B2", "border": "#76B7B2", "highlight": {"background": "#ffffff", "border": "#76B7B2"}}, "size": 22.6, "font": {"size": 12, "color": "#ffffff"}, "title": "httpd_parse.c", "community": 33, "community_name": "httpd_parse.c", "source_file": "", "file_type": "", "degree": 16, "member_count": 69}, {"id": "57", "label": "httpd_config", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 16.2, "font": {"size": 12, "color": "#ffffff"}, "title": "httpd_config", "community": 57, "community_name": "httpd_config", "source_file": "", "file_type": "", "degree": 2, "member_count": 34}, {"id": "201", "label": "httpd_ctrl_data", "color": {"background": "#F28E2B", "border": "#F28E2B", "highlight": {"background": "#ffffff", "border": "#F28E2B"}}, "size": 11.6, "font": {"size": 12, "color": "#ffffff"}, "title": "httpd_ctrl_data", "community": 201, "community_name": "httpd_ctrl_data", "source_file": "", "file_type": "", "degree": 3, "member_count": 9}, {"id": "72", "label": "httpd_data", "color": {"background": "#E15759", "border": "#E15759", "highlight": {"background": "#ffffff", "border": "#E15759"}}, "size": 13.3, "font": {"size": 12, "color": "#ffffff"}, "title": "httpd_data", "community": 72, "community_name": "httpd_data", "source_file": "", "file_type": "", "degree": 5, "meLine truncated
const RAW_EDGES = [{"from": "241", "to": "139", "label": "2 cross-community edges", "title": "2 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "32", "to": "23", "label": "1 cross-community edges", "title": "1 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "32", "to": "221", "label": "16 cross-community edges", "title": "16 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "32", "to": "66", "label": "10 cross-community edges", "title": "10 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "32", "to": "246", "label": "7 cross-community edges", "title": "7 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "32", "to": "86", "label": "5 cross-community edges", "title": "5 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "32", "to": "97", "label": "5 cross-community edges", "title": "5 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "32", "to": "139", "label": "4 cross-community edges", "title": "4 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "32", "to": "41", "label": "1 cross-community edges", "title": "1 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "68", "to": "139", "label": "22 cross-community edges", "title": "22 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "68", "to": "23", "label": "87 cross-community edges", "title": "87 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "68", "to": "100", "label": "1 cross-community edges", "title": "1 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "68", "to": "133", "label": "3 cross-community edges", "title": "3 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "68", "to": "14", "label": "7 cross-community edges", "title": "7 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "68", "to": "17", "label": "2 cross-community edges", "title": "2 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "68", "to": "179", "label": "4 cross-community edges", "title": "4 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "68", "to": "18", "label": "3 cross-community edges", "title": "3 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "68", "to": "21", "label": "32 cross-community edges", "title": "32 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "68", "to": "221", "label": "1 cross-community edges", "title": "1 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "68", "to": "246", "label": "2 cross-community edges", "title": "2 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "68", "to": "26", "label": "3 cross-community edges", "title": "3 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "68", "to": "31", "label": "46 cross-community edges", "title": "46 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "68", "to": "35", "label": "26 cross-community edges", "title": "26 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "68", "to": "40", "label": "8 cross-community edges", "title": "8 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "68", "to": "43", "label": "24 cross-community edges", "title": "24 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "68", "to": "46", "Line truncated
const LEGEND = [{"cid": 0, "color": "#4E79A7", "label": "IdfDevice", "count": 35}, {"cid": 1, "color": "#F28E2B", "label": "htmx Library", "count": 104}, {"cid": 2, "color": "#E15759", "label": "PyboardCommand", "count": 26}, {"cid": 3, "color": "#76B7B2", "label": "Browser Tests &amp; Mockup Images", "count": 70}, {"cid": 4, "color": "#59A14F", "label": "Audio UI (JS)", "count": 59}, {"cid": 5, "color": "#EDC948", "label": "cJSON", "count": 77}, {"cid": 6, "color": "#B07AA1", "label": "controller", "count": 40}, {"cid": 7, "color": "#FF9DA7", "label": "led-tool Device CLI", "count": 67}, {"cid": 8, "color": "#9C755F", "label": "ab", "count": 102}, {"cid": 9, "color": "#BAB0AC", "label": "Compiler", "count": 42}, {"cid": 10, "color": "#4E79A7", "label": "Spec: Pi Animation Engine", "count": 47}, {"cid": 11, "color": "#F28E2B", "label": "seq_timeline.js", "count": 83}, {"cid": 12, "color": "#E15759", "label": "Presets UI (JS)", "count": 47}, {"cid": 13, "color": "#76B7B2", "label": "Zones UI (JS)", "count": 46}, {"cid": 14, "color": "#59A14F", "label": "freertos.c", "count": 95}, {"cid": 15, "color": "#EDC948", "label": "unique", "count": 75}, {"cid": 16, "color": "#B07AA1", "label": "Sequences UI (JS)", "count": 40}, {"cid": 17, "color": "#FF9DA7", "label": "httpd_handle_t", "count": 29}, {"cid": 18, "color": "#9C755F", "label": "bridge_dmx.c", "count": 29}, {"cid": 19, "color": "#BAB0AC", "label": "led_strip Component Docs", "count": 39}, {"cid": 20, "color": "#4E79A7", "label": "Art-Net Output", "count": 40}, {"cid": 21, "color": "#F28E2B", "label": "web.cpp", "count": 49}, {"cid": 22, "color": "#E15759", "label": "desktop_main.c", "count": 5}, {"cid": 23, "color": "#76B7B2", "label": "cJSON", "count": 162}, {"cid": 24, "color": "#59A14F", "label": "time", "count": 24}, {"cid": 25, "color": "#EDC948", "label": "Microdot", "count": 47}, {"cid": 26, "color": "#B07AA1", "label": "bridge_main.c", "count": 64}, {"cid": 27, "color": "#FF9DA7", "label": "NoCaseDict", "count": 10}, {"cid": 28, "color": "#9C755F", "label": "Devices UI (JS)", "count": 41}, {"cid": 29, "color": "#BAB0AC", "label": "binary_envelope.py", "count": 30}, {"cid": 30, "color": "#4E79A7", "label": "Colour Picker Mockups", "count": 29}, {"cid": 31, "color": "#F28E2B", "label": "auth.c", "count": 69}, {"cid": 32, "color": "#E15759", "label": "nvs_sim.cpp", "count": 31}, {"cid": 33, "color": "#76B7B2", "label": "httpd_parse.c", "count": 69}, {"cid": 34, "color": "#59A14F", "label": "test_sequences.py", "count": 34}, {"cid": 35, "color": "#EDC948", "label": "seqplay.c", "count": 66}, {"cid": 36, "color": "#B07AA1", "label": "API Docs: Outputs &amp; Audio", "count": 23}, {"cid": 37, "color": "#FF9DA7", "label": "bridge_serial.c", "count": 27}, {"cid": 38, "color": "#9C755F", "label": "driver_ota.py", "count": 24}, {"cid": 39, "color": "#BAB0AC", "label": "Beat Detection DSP (C)", "count": 21}, {"cid": 40, "color": "#4E79A7", "label": "xSemaphoreGive", "count": 110}, {"cid": 41, "color": "#F28E2B", "label": "WS2812", "count": 25}, {"cid": 42, "color": "#E15759", "label": "run_all", "count": 21}, {"cid": 43, "color": "#76B7B2", "label": "cJSON_Delete", "count": 42}, {"cid": 44, "color": "#59A14F", "label": "events", "count": 22}, {"cid": 45, "color": "#EDC948", "label": "http_parser.h", "count": 45}, {"cid": 46, "color": "#B07AA1", "label": "EMSCRIPTEN_KEEPALIVE", "count": 7}, {"cid": 47, "color": "#FF9DA7", "label": "argparse", "count": 42}, {"cid": 48, "color": "#9C755F", "label": "Colour Picker JS", "count": 23}, {"cid": 49, "color": "#BAB0AC", "label": "Chromium Colour Picker JS", "count": 23}, {"cid": 50, "color": "#4E79A7", "label": "steps", "count": 20}, {"cid": 51, "color": "#F28E2B", "label": "API Tests: Devices", "count": 27}, {"cid": 52, "color": "#E15759", "label": "beat.c", "count": 54}, {"cid": 53, "color": "#76B7B2", "label": "mpremote Transport", "count": 22}, {"cid": 54, "color": "#59A14F", "label": "sim_stubs.c", "count": 44}, {"cid": 55, "color": "#EDC948", "label": "httpd_ws_frame", "count": 8}, {"cid": 56, "color": "#B07AA1", "label": "test_outputs.py", "count": 10}, {"cid": 57, "color": "#FF9DA7", "label": "httpd_config", "count": 34}, {"cid": 58, "color": "#9C755F", "label": "gallery.js", "count": 32}, {"cid": 59, "color": "#BAB0AC", "label": "mic_alsa.c", "count": 31}, {"cid": 60, "color": "#4E79A7", "label": "test_sim_net.py", "count": 37}, {"cid": 61, "color": "#F28E2B", "label": "API Test Fixtures &amp; Audio", "count": 15}, {"cid": 62, "color": "#E15759", "label": "run_test", "count": 17}, {"cid": 63, "color": "#76B7B2", "label": "Help: Zones &amp; Palette", "count": 20}, {"cid": 64, "color": "#59A14F", "label": "ddp_test.py", "count": 41}, {"cid": 65, "color": "#EDC948", "label": "ESPNow", "count": 14}, {"cid": 66, "color": "#B07AA1", "label": "presets.cpp", "count": 30}, {"cid": 67, "color": "#FF9DA7", "label": "auth.js", "count": 42}, {"cid": 68, "color": "#9C755F", "label": "cJSON_AddStringToObject", "count": 58}, Line truncated
const RAW_NODES = [{"id": "221", "label": "nvs_open", "color": {"background": "#F28E2B", "border": "#F28E2B", "highlight": {"background": "#ffffff", "border": "#F28E2B"}}, "size": 17.0, "font": {"size": 12, "color": "#ffffff"}, "title": "nvs_open", "community": 221, "community_name": "nvs_open", "source_file": "", "file_type": "", "degree": 11, "member_count": 31}, {"id": "241", "label": "decode_presets", "color": {"background": "#F28E2B", "border": "#F28E2B", "highlight": {"background": "#ffffff", "border": "#F28E2B"}}, "size": 13.8, "font": {"size": 12, "color": "#ffffff"}, "title": "decode_presets", "community": 241, "community_name": "decode_presets", "source_file": "", "file_type": "", "degree": 9, "member_count": 17}, {"id": "246", "label": "src/main.cpp", "color": {"background": "#B07AA1", "border": "#B07AA1", "highlight": {"background": "#ffffff", "border": "#B07AA1"}}, "size": 25.8, "font": {"size": 12, "color": "#ffffff"}, "title": "src/main.cpp", "community": 246, "community_name": "src/main.cpp", "source_file": "", "file_type": "", "degree": 30, "member_count": 70}, {"id": "74", "label": "espnow_link.cpp", "color": {"background": "#59A14F", "border": "#59A14F", "highlight": {"background": "#ffffff", "border": "#59A14F"}}, "size": 19.0, "font": {"size": 12, "color": "#ffffff"}, "title": "espnow_link.cpp", "community": 74, "community_name": "espnow_link.cpp", "source_file": "", "file_type": "", "degree": 9, "member_count": 40}, {"id": "41", "label": "WS2812", "color": {"background": "#F28E2B", "border": "#F28E2B", "highlight": {"background": "#ffffff", "border": "#F28E2B"}}, "size": 19.9, "font": {"size": 12, "color": "#ffffff"}, "title": "WS2812", "community": 41, "community_name": "WS2812", "source_file": "", "file_type": "", "degree": 6, "member_count": 44}, {"id": "217", "label": "api_call_t", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 11.4, "font": {"size": 12, "color": "#ffffff"}, "title": "api_call_t", "community": 217, "community_name": "api_call_t", "source_file": "", "file_type": "", "degree": 1, "member_count": 6}, {"id": "5", "label": "cJSON", "color": {"background": "#EDC948", "border": "#EDC948", "highlight": {"background": "#ffffff", "border": "#EDC948"}}, "size": 34.8, "font": {"size": 12, "color": "#ffffff"}, "title": "cJSON", "community": 5, "community_name": "cJSON", "source_file": "", "file_type": "", "degree": 20, "member_count": 110}, {"id": "46", "label": "xTaskCreate", "color": {"background": "#B07AA1", "border": "#B07AA1", "highlight": {"background": "#ffffff", "border": "#B07AA1"}}, "size": 22.2, "font": {"size": 12, "color": "#ffffff"}, "title": "xTaskCreate", "community": 46, "community_name": "xTaskCreate", "source_file": "", "file_type": "", "degree": 27, "member_count": 54}, {"id": "277", "label": "flags", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 12.0, "font": {"size": 12, "color": "#ffffff"}, "title": "flags", "community": 277, "community_name": "flags", "source_file": "", "file_type": "", "degree": 1, "member_count": 9}, {"id": "45", "label": "http_parser.h", "color": {"background": "#EDC948", "border": "#EDC948", "highlight": {"background": "#ffffff", "border": "#EDC948"}}, "size": 18.1, "font": {"size": 12, "color": "#ffffff"}, "title": "http_parser.h", "community": 45, "community_name": "http_parser.h", "source_file": "", "file_type": "", "degree": 5, "member_count": 36}, {"id": "139", "label": "esp_err.h", "color": {"background": "#BAB0AC", "border": "#BAB0AC", "highlight": {"background": "#ffffff", "border": "#BAB0AC"}}, "size": 40.0, "font": {"size": 12, "color": "#ffffff"}, "title": "esp_err.h", "community": 139, "community_name": "esp_err.h", "source_file": "", "file_type": "", "degree": 59, "member_count": 133}, {"id": "33", "label": "httpd_parse.c", "color": {"background": "#76B7B2", "border": "#76B7B2", "highlight": {"background": "#ffffff", "border": "#76B7B2"}}, "size": 22.2, "font": {"size": 12, "color": "#ffffff"}, "title": "httpd_parse.c", "community": 33, "community_name": "httpd_parse.c", "source_file": "", "file_type": "", "degree": 19, "member_count": 54}, {"id": "57", "label": "httpd_config", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 17.7, "font": {"size": 12, "color": "#ffffff"}, "title": "httpd_config", "community": 57, "community_name": "httpd_config", "source_file": "", "file_type": "", "degree": 2, "member_count": 34}, {"id": "201", "label": "httpd_ctrl_data", "color": {"background": "#F28E2B", "border": "#F28E2B", "highlight": {"background": "#ffffff", "border": "#F28E2B"}}, "size": 12.0, "font": {"size": 12, "color": "#ffffff"}, "title": "httpd_ctrl_data", "community": 201, "community_name": "httpd_ctrl_data", "source_file": "", "file_type": "", "degree": 3, "member_count": 9}, {"id": "72"Line truncated
const RAW_EDGES = [{"from": "221", "to": "5", "label": "1 cross-community edges", "title": "1 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "221", "to": "257", "label": "3 cross-community edges", "title": "3 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "221", "to": "246", "label": "8 cross-community edges", "title": "8 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "221", "to": "66", "label": "7 cross-community edges", "title": "7 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "221", "to": "99", "label": "1 cross-community edges", "title": "1 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "221", "to": "86", "label": "1 cross-community edges", "title": "1 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "221", "to": "55", "label": "17 cross-community edges", "title": "17 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "221", "to": "68", "label": "2 cross-community edges", "title": "2 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "221", "to": "46", "label": "4 cross-community edges", "title": "4 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "221", "to": "139", "label": "3 cross-community edges", "title": "3 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "221", "to": "41", "label": "1 cross-community edges", "title": "1 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "241", "to": "246", "label": "11 cross-community edges", "title": "11 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "241", "to": "5", "label": "8 cross-community edges", "title": "8 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "241", "to": "23", "label": "3 cross-community edges", "title": "3 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "241", "to": "55", "label": "2 cross-community edges", "title": "2 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "241", "to": "86", "label": "5 cross-community edges", "title": "5 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "241", "to": "74", "label": "2 cross-community edges", "title": "2 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "241", "to": "68", "label": "12 cross-community edges", "title": "12 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "241", "to": "99", "label": "8 cross-community edges", "title": "8 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "241", "to": "31", "label": "1 cross-community edges", "title": "1 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "246", "to": "100", "label": "2 cross-community edges", "title": "2 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "246", "to": "14", "label": "6 cross-community edges", "title": "6 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "246", "to": "149", "label": "4 cross-community edges", "title": "4 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "246", "to": "18", "label": "16 cross-community edges", "title": "16 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "246", "to": "21", "label": "16 cross-community edges", "title": "16 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "246", Line truncated
const LEGEND = [{"cid": 0, "color": "#4E79A7", "label": "IdfDevice", "count": 35}, {"cid": 1, "color": "#F28E2B", "label": "htmx Library", "count": 104}, {"cid": 2, "color": "#E15759", "label": "PyboardCommand", "count": 26}, {"cid": 3, "color": "#76B7B2", "label": "Browser Tests &amp; Mockup Images", "count": 70}, {"cid": 4, "color": "#59A14F", "label": "Audio UI (JS)", "count": 59}, {"cid": 5, "color": "#EDC948", "label": "cJSON", "count": 110}, {"cid": 6, "color": "#B07AA1", "label": "controller", "count": 40}, {"cid": 7, "color": "#FF9DA7", "label": "led-tool Device CLI", "count": 68}, {"cid": 8, "color": "#9C755F", "label": "ab", "count": 102}, {"cid": 9, "color": "#BAB0AC", "label": "Compiler", "count": 42}, {"cid": 10, "color": "#4E79A7", "label": "Spec: Pi Animation Engine", "count": 47}, {"cid": 11, "color": "#F28E2B", "label": "seq_timeline.js", "count": 83}, {"cid": 12, "color": "#E15759", "label": "Presets UI (JS)", "count": 47}, {"cid": 13, "color": "#76B7B2", "label": "Zones UI (JS)", "count": 46}, {"cid": 14, "color": "#59A14F", "label": "freertos.c", "count": 84}, {"cid": 15, "color": "#EDC948", "label": "unique", "count": 65}, {"cid": 16, "color": "#B07AA1", "label": "Sequences UI (JS)", "count": 40}, {"cid": 17, "color": "#FF9DA7", "label": "bridge.c", "count": 59}, {"cid": 18, "color": "#9C755F", "label": "bridge_main.c", "count": 58}, {"cid": 19, "color": "#BAB0AC", "label": "led_strip Component Docs", "count": 39}, {"cid": 20, "color": "#4E79A7", "label": "Art-Net Output", "count": 37}, {"cid": 21, "color": "#F28E2B", "label": "web.cpp", "count": 61}, {"cid": 22, "color": "#E15759", "label": "espnow_tx.c", "count": 48}, {"cid": 23, "color": "#76B7B2", "label": "cJSON", "count": 121}, {"cid": 24, "color": "#59A14F", "label": "time", "count": 24}, {"cid": 25, "color": "#EDC948", "label": "Microdot", "count": 31}, {"cid": 26, "color": "#B07AA1", "label": "httpd_handle_t", "count": 28}, {"cid": 27, "color": "#FF9DA7", "label": "NoCaseDict", "count": 19}, {"cid": 28, "color": "#9C755F", "label": "Devices UI (JS)", "count": 41}, {"cid": 29, "color": "#BAB0AC", "label": "binary_envelope.py", "count": 30}, {"cid": 30, "color": "#4E79A7", "label": "Colour Picker Mockups", "count": 29}, {"cid": 31, "color": "#F28E2B", "label": "auth.c", "count": 75}, {"cid": 32, "color": "#E15759", "label": "BridgeSim", "count": 20}, {"cid": 33, "color": "#76B7B2", "label": "httpd_parse.c", "count": 54}, {"cid": 34, "color": "#59A14F", "label": "test_sequences.py", "count": 34}, {"cid": 35, "color": "#EDC948", "label": "seqplay.c", "count": 86}, {"cid": 36, "color": "#B07AA1", "label": "API Docs: Outputs &amp; Audio", "count": 24}, {"cid": 37, "color": "#FF9DA7", "label": "bridge_sim.py", "count": 22}, {"cid": 38, "color": "#9C755F", "label": "driver_ota.py", "count": 24}, {"cid": 39, "color": "#BAB0AC", "label": "cJSON_IsNumber", "count": 35}, {"cid": 40, "color": "#4E79A7", "label": "xSemaphoreGive", "count": 92}, {"cid": 41, "color": "#F28E2B", "label": "WS2812", "count": 44}, {"cid": 42, "color": "#E15759", "label": "run_all", "count": 21}, {"cid": 43, "color": "#76B7B2", "label": "create_app", "count": 24}, {"cid": 44, "color": "#59A14F", "label": "events", "count": 22}, {"cid": 45, "color": "#EDC948", "label": "http_parser.h", "count": 36}, {"cid": 46, "color": "#B07AA1", "label": "xTaskCreate", "count": 54}, {"cid": 47, "color": "#FF9DA7", "label": "argparse", "count": 33}, {"cid": 48, "color": "#9C755F", "label": "Colour Picker JS", "count": 23}, {"cid": 49, "color": "#BAB0AC", "label": "Chromium Colour Picker JS", "count": 23}, {"cid": 50, "color": "#4E79A7", "label": "steps", "count": 20}, {"cid": 51, "color": "#F28E2B", "label": "API Tests: Devices", "count": 27}, {"cid": 52, "color": "#E15759", "label": "beat.c", "count": 19}, {"cid": 53, "color": "#76B7B2", "label": "mpremote Transport", "count": 22}, {"cid": 54, "color": "#59A14F", "label": "mcu_host/main/main.c", "count": 60}, {"cid": 55, "color": "#EDC948", "label": "nvs_open", "count": 24}, {"cid": 56, "color": "#B07AA1", "label": "test_outputs.py", "count": 10}, {"cid": 57, "color": "#FF9DA7", "label": "httpd_config", "count": 34}, {"cid": 58, "color": "#9C755F", "label": "gallery.js", "count": 32}, {"cid": 59, "color": "#BAB0AC", "label": "mic_alsa.c", "count": 25}, {"cid": 60, "color": "#4E79A7", "label": "test_sim_net.py", "count": 31}, {"cid": 61, "color": "#F28E2B", "label": "API Test Fixtures &amp; Audio", "count": 15}, {"cid": 62, "color": "#E15759", "label": "sock_db", "count": 22}, {"cid": 63, "color": "#76B7B2", "label": "Help: Zones &amp; Palette", "count": 20}, {"cid": 64, "color": "#59A14F", "label": "ddp_test.py", "count": 41}, {"cid": 65, "color": "#EDC948", "label": "sys", "count": 32}, {"cid": 66, "color": "#B07AA1", "label": "presets.cpp", "count": 25}, {"cid": 67, "color": "#FF9DA7", "label": "auth.js", "count": 42}, {"cid": 68, "color": "#9C755F", "label": "cJSON_CreateObject", "count": 94}, {"cid": 69, "color": "#BAB0AC", "Line truncated
// HTML-escape helper — prevents XSS when injecting graph data into innerHTML
function esc(s) {
@@ -407,7 +407,7 @@ LEGEND.forEach(c => {
</script>
<script>
// Render hyperedges as shaded regions
const hyperedges = [{"id": "beat_latency_measurement", "label": "Beat latency measurement methods", "nodes": ["75", "76"]}, {"id": "docs_help_edit_mode_management", "label": "Edit-mode-only management features", "nodes": ["145", "63"]}, {"id": "docs_mockups_device_modal_flow", "label": "Device/Group Modal Flow", "nodes": ["180", "30"]}, {"id": "v1_message_pipeline", "label": "v1 message handling on driver", "nodes": ["109", "105"]}];
const hyperedges = [{"id": "docs_help_edit_mode_management", "label": "Edit-mode-only management features", "nodes": ["145", "63"]}, {"id": "docs_mockups_device_modal_flow", "label": "Device/Group Modal Flow", "nodes": ["180", "30"]}, {"id": "espnow_driver_delivery_layers", "label": "ESP-NOW driver delivery layers", "nodes": ["242", "75"]}, {"id": "v1_message_pipeline", "label": "v1 message handling on driver", "nodes": ["109", "105"]}];
// afterDrawing passes ctx already transformed to network coordinate space.
// Draw node positions raw — no manual pan/zoom/DPR math needed.