feat: sequence window, finer timeline, zone brightness to Wi-Fi drivers

- A sequence's length is a fixed window (window_beats / window_seconds), not its presets.
  The timeline is exactly the window long; clips past it are cut on save.
- The ruler adds finer ticks when zoomed in; Snap has Auto (follows the zoom), 0.25 s and 0.05 s.
  Steps and the window go down to 50 ms.
- Ctrl+wheel zooms around the pointer; the zoom buttons zoom around the last pointer position.
- Sequence start and the zone brightness slider reach Wi-Fi drivers (matched by hostname or MAC).
- A preset select with brightness also sends the brightness to Wi-Fi drivers, as ESP-NOW does.

Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
This commit is contained in:
jimmyandClaude Haiku 5.5 committed 2026-11-16 21:22:17 +13:00
1 parent 581b751904
commit a1c8ce853b
21 files changed
+419 -318

No files matched your search

+4 -4
View File
@@ -94,12 +94,12 @@
</div>
<div id="legend"></div>
</div>
<div id="stats">4727 nodes &middot; 13754 edges &middot; 219 communities</div>
<div id="stats">4731 nodes &middot; 13767 edges &middot; 216 communities</div>
</div>
<script>
const RAW_NODES = [{"id": "led_driver_main_ctrl_msg_keyname", "label": "KeyName", "color": {"background": "#B07AA1", "border": "#B07AA1", "highlight": {"background": "#ffffff", "border": "#B07AA1"}}, "size": 10.5, "font": {"size": 0, "color": "#ffffff"}, "title": "KeyName", "community": 26, "community_name": "ctrl_msg.cpp", "source_file": "led-driver/main/ctrl_msg.cpp", "file_type": "code", "degree": 4}, {"id": "led_driver_main_ctrl_msg_rd", "label": "Rd", "color": {"background": "#B07AA1", "border": "#B07AA1", "highlight": {"background": "#ffffff", "border": "#B07AA1"}}, "size": 11.3, "font": {"size": 0, "color": "#ffffff"}, "title": "Rd", "community": 26, "community_name": "ctrl_msg.cpp", "source_file": "led-driver/main/ctrl_msg.cpp", "file_type": "code", "degree": 11}, {"id": "led_driver_main_espnow_link_asm", "label": "Asm", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 11.5, "font": {"size": 0, "color": "#ffffff"}, "title": "Asm", "community": 77, "community_name": "espnow_link.cpp", "source_file": "led-driver/main/espnow_link.cpp", "file_type": "code", "degree": 13}, {"id": "led_driver_main_espnow_link_done", "label": "Done", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 10.4, "font": {"size": 0, "color": "#ffffff"}, "title": "Done", "community": 77, "community_name": "espnow_link.cpp", "source_file": "led-driver/main/espnow_link.cpp", "file_type": "code", "degree": 3}, {"id": "led_driver_main_espnow_link_frame", "label": "Frame", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 10.6, "font": {"size": 0, "color": "#ffffff"}, "title": "Frame", "community": 77, "community_name": "espnow_link.cpp", "source_file": "led-driver/main/espnow_link.cpp", "file_type": "code", "degree": 5}, {"id": "sim_driver_src_nvs_sim_type", "label": "Type", "color": {"background": "#59A14F", "border": "#59A14F", "highlight": {"background": "#ffffff", "border": "#59A14F"}}, "size": 11.2, "font": {"size": 0, "color": "#ffffff"}, "title": "Type", "community": 94, "community_name": "Type", "source_file": "sim-driver/src/nvs_sim.cpp", "file_type": "code", "degree": 10}, {"id": "sim_driver_src_nvs_sim_value", "label": "Value", "color": {"background": "#59A14F", "border": "#59A14F", "highlight": {"background": "#ffffff", "border": "#59A14F"}}, "size": 10.8, "font": {"size": 0, "color": "#ffffff"}, "title": "Value", "community": 94, "community_name": "Type", "source_file": "sim-driver/src/nvs_sim.cpp", "file_type": "code", "degree": 7}, {"id": "led_driver_main_ws2812_ws2812", "label": "WS2812", "color": {"background": "#F28E2B", "border": "#F28E2B", "highlight": {"background": "#ffffff", "border": "#F28E2B"}}, "size": 13.0, "font": {"size": 0, "color": "#ffffff"}, "title": "WS2812", "community": 41, "community_name": "WS2812", "source_file": "led-driver/main/ws2812.h", "file_type": "code", "degree": 26}, {"id": "led_driver_main_web_api_call_t", "label": "api_call_t", "color": {"background": "#BAB0AC", "border": "#BAB0AC", "highlight": {"background": "#ffffff", "border": "#BAB0AC"}}, "size": 10.7, "font": {"size": 0, "color": "#ffffff"}, "title": "api_call_t", "community": 89, "community_name": "api_call_t", "source_file": "led-driver/main/web.cpp", "file_type": "code", "degree": 6}, {"id": "desktop_third_party_cjson_cjson_cjson", "label": "cJSON", "color": {"background": "#76B7B2", "border": "#76B7B2", "highlight": {"background": "#ffffff", "border": "#76B7B2"}}, "size": 40.0, "font": {"size": 12, "color": "#ffffff"}, "title": "cJSON", "community": 23, "community_name": "cJSON_IsString", "source_file": "desktop/third_party/cjson/cJSON.h", "file_type": "code", "degree": 257}, {"id": "desktop_third_party_cjson_cjson_cjson_hooks", "label": "cJSON_Hooks", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 10.2, "font": {"size": 0, "color": "#ffffff"}, "title": "cJSON_Hooks", "community": 177, "community_name": "espnow_tx.c", "source_file": "desktop/third_party/cjson/cJSON.h", "file_type": "code", "degree": 2}, {"id": "desktop_third_party_http_parser_http_parser_flags", "label": "flags", "color": {"background": "#F28E2B", "border": "#F28E2B", "highlight": {"background": "#ffffff", "border": "#F28E2B"}}, "size": 11.1, "font": {"size": 0, "color": "#ffffff"}, "title": "flags", "community": 131, "community_name": "flags", "source_file": "desktop/third_party/http_parser/http_parser.h", "file_type": "code", "degree": 9}, {"id": "desktop_third_party_http_parser_http_parser_http_errno", "label": "http_errno", "color": {"background": "#EDC948", "border": "#EDC948", "highlight": {"background": "#ffffff", "border": "#EDC948"}}, "size": 10.2, "font": {"size": 0, "color": "#ffffff"}, "title": "http_errno", "community": 45, "community_name": "hLine truncated
const RAW_EDGES = [{"from": "led_driver_main_ctrl_msg_keyname", "to": "led_driver_main_ctrl_msg_keyname_shortk", "label": "defines", "title": "defines [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "led_driver_main_ctrl_msg_keyname", "to": "led_driver_main_ctrl_msg_keyname_longk", "label": "defines", "title": "defines [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "led_driver_main_ctrl_msg_long_name", "to": "led_driver_main_ctrl_msg_keyname", "label": "references", "title": "references [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "led_driver_main_ctrl_msg_cpp_led_driver_main_ctrl_msg", "to": "led_driver_main_ctrl_msg_keyname", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "led_driver_main_ctrl_msg_rd", "to": "led_driver_main_ctrl_msg_rd_p", "label": "defines", "title": "defines [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "led_driver_main_ctrl_msg_rd", "to": "led_driver_main_ctrl_msg_rd_n", "label": "defines", "title": "defines [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "led_driver_main_ctrl_msg_rd", "to": "led_driver_main_ctrl_msg_rd_off", "label": "defines", "title": "defines [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "led_driver_main_ctrl_msg_rd", "to": "led_driver_main_ctrl_msg_rd_ok", "label": "defines", "title": "defines [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "led_driver_main_ctrl_msg_decode_default", "to": "led_driver_main_ctrl_msg_rd", "label": "references", "title": "references [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "led_driver_main_ctrl_msg_decode_presets", "to": "led_driver_main_ctrl_msg_rd", "label": "references", "title": "references [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "led_driver_main_ctrl_msg_decode_select", "to": "led_driver_main_ctrl_msg_rd", "label": "references", "title": "references [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "led_driver_main_ctrl_msg_cpp_led_driver_main_ctrl_msg", "to": "led_driver_main_ctrl_msg_rd", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "led_driver_main_ctrl_msg_rd", "to": "led_driver_main_ctrl_msg_rd_bytes", "label": "method", "title": "method [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "led_driver_main_ctrl_msg_rd", "to": "led_driver_main_ctrl_msg_rd_u8", "label": "method", "title": "method [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "led_driver_main_ctrl_msg_rd", "to": "led_driver_main_ctrl_msg_rd_u16", "label": "method", "title": "method [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "led_driver_main_espnow_link_asm", "to": "led_driver_main_espnow_link_asm_used", "label": "defines", "title": "defines [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "led_driver_main_espnow_link_asm", "to": "led_driver_main_espnow_link_asm_mac", "label": "defines", "title": "defines [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "led_driver_main_espnow_link_asm", "to": "led_driver_main_espnow_link_asm_seq", "label": "defines", "title": "defines [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "led_driver_main_espnow_link_asm", "to": "led_driver_main_espnow_link_asm_cnt", "label": "defines", "title": "defines [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "led_driver_main_espnow_link_asm", "to": "led_driver_main_espnow_link_asm_flags", "label": "defines", "title": "defines [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "led_driver_main_espnow_link_asm", "to": "led_driver_main_espnow_link_asm_ver", "label": "defines", "title": "defines [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "led_driver_main_espnow_link_asm", "to": "led_driver_main_espnow_link_asm_mask", "label": "defines", "title": "defines [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "led_driver_maLine 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": "machine.py", "count": 22}, {"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": 74}, {"cid": 6, "color": "#B07AA1", "label": "create_app", "count": 24}, {"cid": 7, "color": "#FF9DA7", "label": "led-tool Device CLI", "count": 66}, {"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": 60}, {"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": "sim_rig.c", "count": 47}, {"cid": 15, "color": "#EDC948", "label": "new_id", "count": 30}, {"cid": 16, "color": "#B07AA1", "label": "Sequences UI (JS)", "count": 41}, {"cid": 17, "color": "#FF9DA7", "label": "SerialTransport", "count": 37}, {"cid": 18, "color": "#9C755F", "label": "esp_err.h", "count": 146}, {"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": "freertos.c", "count": 74}, {"cid": 22, "color": "#E15759", "label": "LedSimulatorApp", "count": 24}, {"cid": 23, "color": "#76B7B2", "label": "cJSON_IsString", "count": 98}, {"cid": 24, "color": "#59A14F", "label": "cJSON_Delete", "count": 47}, {"cid": 25, "color": "#EDC948", "label": "Microdot", "count": 34}, {"cid": 26, "color": "#B07AA1", "label": "ctrl_msg.cpp", "count": 28}, {"cid": 27, "color": "#FF9DA7", "label": "seqplay.c", "count": 49}, {"cid": 28, "color": "#9C755F", "label": "Devices UI (JS)", "count": 36}, {"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": "PyboardCommand", "count": 26}, {"cid": 32, "color": "#E15759", "label": "cJSON_CreateObject", "count": 73}, {"cid": 33, "color": "#76B7B2", "label": "httpd_parse.c", "count": 28}, {"cid": 34, "color": "#59A14F", "label": "test_sequences.py", "count": 29}, {"cid": 35, "color": "#EDC948", "label": "cJSON_Delete", "count": 52}, {"cid": 36, "color": "#B07AA1", "label": "API Docs: Outputs &amp; Audio", "count": 24}, {"cid": 37, "color": "#FF9DA7", "label": "http_parser", "count": 21}, {"cid": 38, "color": "#9C755F", "label": "socket", "count": 25}, {"cid": 39, "color": "#BAB0AC", "label": "Beat Detection DSP (C)", "count": 19}, {"cid": 40, "color": "#4E79A7", "label": "xSemaphoreGive", "count": 110}, {"cid": 41, "color": "#F28E2B", "label": "WS2812", "count": 47}, {"cid": 42, "color": "#E15759", "label": "run_all", "count": 21}, {"cid": 43, "color": "#76B7B2", "label": "usb_cfg.cpp", "count": 51}, {"cid": 44, "color": "#59A14F", "label": "httpd_handle_t", "count": 27}, {"cid": 45, "color": "#EDC948", "label": "http_parser.h", "count": 23}, {"cid": 46, "color": "#B07AA1", "label": "http_parser.c", "count": 17}, {"cid": 47, "color": "#FF9DA7", "label": "USB Latency Tools", "count": 21}, {"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": "exchange", "count": 26}, {"cid": 51, "color": "#F28E2B", "label": "API Tests: Devices", "count": 27}, {"cid": 52, "color": "#E15759", "label": "sys", "count": 31}, {"cid": 53, "color": "#76B7B2", "label": "mpremote Transport", "count": 22}, {"cid": 54, "color": "#59A14F", "label": "httpd_sess.c", "count": 27}, {"cid": 56, "color": "#B07AA1", "label": "test_outputs.py", "count": 10}, {"cid": 57, "color": "#FF9DA7", "label": "httpd_config", "count": 31}, {"cid": 58, "color": "#9C755F", "label": "gallery.js", "count": 17}, {"cid": 59, "color": "#BAB0AC", "label": "mic_alsa.c", "count": 33}, {"cid": 60, "color": "#4E79A7", "label": "nvs_sim.cpp", "count": 37}, {"cid": 61, "color": "#F28E2B", "label": "API Test Fixtures &amp; Audio", "count": 20}, {"cid": 62, "color": "#E15759", "label": "Microdot Request (dmx)", "count": 17}, {"cid": 63, "color": "#76B7B2", "label": "Help: Zones &amp; Palette", "count": 20}, {"cid": 64, "color": "#59A14F", "label": "ddp_test.py", "count": 42}, {"cid": 65, "color": "#EDC948", "label": "ESPNow", "count": 14}, {"cid": 66, "color": "#B07AA1", "label": "httpd_handle_t", "count": 33}, {"cid": 67, "color": "#FF9DA7", "label": "BridgeSim", "count": 26}, {"cid": 68, "color": "#9C755F", "label": "httpd_uri.c", "count": 24}, {"cid": 69, "color": "#BAB0AC", "labelLine truncated
const RAW_NODES = [{"id": "led_driver_main_ctrl_msg_keyname", "label": "KeyName", "color": {"background": "#B07AA1", "border": "#B07AA1", "highlight": {"background": "#ffffff", "border": "#B07AA1"}}, "size": 10.5, "font": {"size": 0, "color": "#ffffff"}, "title": "KeyName", "community": 26, "community_name": "KeyName", "source_file": "led-driver/main/ctrl_msg.cpp", "file_type": "code", "degree": 4}, {"id": "led_driver_main_ctrl_msg_rd", "label": "Rd", "color": {"background": "#E15759", "border": "#E15759", "highlight": {"background": "#ffffff", "border": "#E15759"}}, "size": 11.3, "font": {"size": 0, "color": "#ffffff"}, "title": "Rd", "community": 32, "community_name": "cJSON_CreateObject", "source_file": "led-driver/main/ctrl_msg.cpp", "file_type": "code", "degree": 11}, {"id": "sim_driver_src_nvs_sim_type", "label": "Type", "color": {"background": "#4E79A7", "border": "#4E79A7", "highlight": {"background": "#ffffff", "border": "#4E79A7"}}, "size": 11.2, "font": {"size": 0, "color": "#ffffff"}, "title": "Type", "community": 60, "community_name": "nvs_sim.cpp", "source_file": "sim-driver/src/nvs_sim.cpp", "file_type": "code", "degree": 10}, {"id": "sim_driver_src_nvs_sim_value", "label": "Value", "color": {"background": "#4E79A7", "border": "#4E79A7", "highlight": {"background": "#ffffff", "border": "#4E79A7"}}, "size": 10.8, "font": {"size": 0, "color": "#ffffff"}, "title": "Value", "community": 60, "community_name": "nvs_sim.cpp", "source_file": "sim-driver/src/nvs_sim.cpp", "file_type": "code", "degree": 7}, {"id": "led_driver_main_espnow_link_asm", "label": "Asm", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 11.5, "font": {"size": 0, "color": "#ffffff"}, "title": "Asm", "community": 77, "community_name": "espnow_link.cpp", "source_file": "led-driver/main/espnow_link.cpp", "file_type": "code", "degree": 13}, {"id": "led_driver_main_espnow_link_done", "label": "Done", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 10.4, "font": {"size": 0, "color": "#ffffff"}, "title": "Done", "community": 77, "community_name": "espnow_link.cpp", "source_file": "led-driver/main/espnow_link.cpp", "file_type": "code", "degree": 3}, {"id": "led_driver_main_espnow_link_frame", "label": "Frame", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 10.6, "font": {"size": 0, "color": "#ffffff"}, "title": "Frame", "community": 77, "community_name": "espnow_link.cpp", "source_file": "led-driver/main/espnow_link.cpp", "file_type": "code", "degree": 5}, {"id": "led_driver_main_ws2812_ws2812", "label": "WS2812", "color": {"background": "#F28E2B", "border": "#F28E2B", "highlight": {"background": "#ffffff", "border": "#F28E2B"}}, "size": 13.0, "font": {"size": 0, "color": "#ffffff"}, "title": "WS2812", "community": 41, "community_name": "WS2812", "source_file": "led-driver/main/ws2812.h", "file_type": "code", "degree": 26}, {"id": "led_driver_main_web_api_call_t", "label": "api_call_t", "color": {"background": "#BAB0AC", "border": "#BAB0AC", "highlight": {"background": "#ffffff", "border": "#BAB0AC"}}, "size": 10.7, "font": {"size": 0, "color": "#ffffff"}, "title": "api_call_t", "community": 89, "community_name": "api_call_t", "source_file": "led-driver/main/web.cpp", "file_type": "code", "degree": 6}, {"id": "desktop_third_party_cjson_cjson_cjson", "label": "cJSON", "color": {"background": "#76B7B2", "border": "#76B7B2", "highlight": {"background": "#ffffff", "border": "#76B7B2"}}, "size": 40.0, "font": {"size": 12, "color": "#ffffff"}, "title": "cJSON", "community": 23, "community_name": "cJSON_IsString", "source_file": "desktop/third_party/cjson/cJSON.h", "file_type": "code", "degree": 257}, {"id": "desktop_third_party_cjson_cjson_cjson_hooks", "label": "cJSON_Hooks", "color": {"background": "#B07AA1", "border": "#B07AA1", "highlight": {"background": "#ffffff", "border": "#B07AA1"}}, "size": 10.2, "font": {"size": 0, "color": "#ffffff"}, "title": "cJSON_Hooks", "community": 126, "community_name": "app_main", "source_file": "desktop/third_party/cjson/cJSON.h", "file_type": "code", "degree": 2}, {"id": "desktop_third_party_http_parser_http_parser_flags", "label": "flags", "color": {"background": "#EDC948", "border": "#EDC948", "highlight": {"background": "#ffffff", "border": "#EDC948"}}, "size": 11.1, "font": {"size": 0, "color": "#ffffff"}, "title": "flags", "community": 45, "community_name": "http_parser.h", "source_file": "desktop/third_party/http_parser/http_parser.h", "file_type": "code", "degree": 9}, {"id": "desktop_third_party_http_parser_http_parser_http_errno", "label": "http_errno", "color": {"background": "#EDC948", "border": "#EDC948", "highlight": {"background": "#ffffff", "border": "#EDC948"}}, "size": 10.2, "font": {"size": 0, "color": "#ffffff"}, "title": "http_errno", "community": 45, "Line truncated
const RAW_EDGES = [{"from": "led_driver_main_ctrl_msg_keyname", "to": "led_driver_main_ctrl_msg_keyname_shortk", "label": "defines", "title": "defines [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "led_driver_main_ctrl_msg_keyname", "to": "led_driver_main_ctrl_msg_keyname_longk", "label": "defines", "title": "defines [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "led_driver_main_ctrl_msg_long_name", "to": "led_driver_main_ctrl_msg_keyname", "label": "references", "title": "references [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "led_driver_main_ctrl_msg_cpp_led_driver_main_ctrl_msg", "to": "led_driver_main_ctrl_msg_keyname", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "led_driver_main_ctrl_msg_rd", "to": "led_driver_main_ctrl_msg_rd_p", "label": "defines", "title": "defines [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "led_driver_main_ctrl_msg_rd", "to": "led_driver_main_ctrl_msg_rd_n", "label": "defines", "title": "defines [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "led_driver_main_ctrl_msg_rd", "to": "led_driver_main_ctrl_msg_rd_off", "label": "defines", "title": "defines [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "led_driver_main_ctrl_msg_rd", "to": "led_driver_main_ctrl_msg_rd_ok", "label": "defines", "title": "defines [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "led_driver_main_ctrl_msg_decode_default", "to": "led_driver_main_ctrl_msg_rd", "label": "references", "title": "references [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "led_driver_main_ctrl_msg_decode_presets", "to": "led_driver_main_ctrl_msg_rd", "label": "references", "title": "references [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "led_driver_main_ctrl_msg_decode_select", "to": "led_driver_main_ctrl_msg_rd", "label": "references", "title": "references [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "led_driver_main_ctrl_msg_cpp_led_driver_main_ctrl_msg", "to": "led_driver_main_ctrl_msg_rd", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "led_driver_main_ctrl_msg_rd", "to": "led_driver_main_ctrl_msg_rd_bytes", "label": "method", "title": "method [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "led_driver_main_ctrl_msg_rd", "to": "led_driver_main_ctrl_msg_rd_u8", "label": "method", "title": "method [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "led_driver_main_ctrl_msg_rd", "to": "led_driver_main_ctrl_msg_rd_u16", "label": "method", "title": "method [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "sim_driver_src_nvs_sim_value", "to": "sim_driver_src_nvs_sim_type", "label": "references", "title": "references [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "sim_driver_src_nvs_sim_get_bytes", "to": "sim_driver_src_nvs_sim_type", "label": "references", "title": "references [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "sim_driver_src_nvs_sim_get_num", "to": "sim_driver_src_nvs_sim_type", "label": "references", "title": "references [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "sim_driver_src_nvs_sim_type", "to": "sim_driver_src_nvs_sim_type_t_blob", "label": "case_of", "title": "case_of [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "sim_driver_src_nvs_sim_type", "to": "sim_driver_src_nvs_sim_type_t_i32", "label": "case_of", "title": "case_of [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "sim_driver_src_nvs_sim_type", "to": "sim_driver_src_nvs_sim_type_t_i64", "label": "case_of", "title": "case_of [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "sim_driver_src_nvs_sim_type", "to": "sim_driver_src_nvs_sim_type_t_str", "label": "case_of", "title": "case_of [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "sim_driver_src_nvs_sim_type", "to": "sim_driver_sLine truncated
const LEGEND = [{"cid": 0, "color": "#4E79A7", "label": "IdfDevice", "count": 33}, {"cid": 1, "color": "#F28E2B", "label": "htmx Library", "count": 104}, {"cid": 2, "color": "#E15759", "label": "Pin", "count": 11}, {"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": 76}, {"cid": 6, "color": "#B07AA1", "label": "create_app", "count": 24}, {"cid": 7, "color": "#FF9DA7", "label": "led-tool Device CLI", "count": 70}, {"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": 62}, {"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": "sim_rig.c", "count": 44}, {"cid": 15, "color": "#EDC948", "label": "new_id", "count": 32}, {"cid": 16, "color": "#B07AA1", "label": "Sequences UI (JS)", "count": 41}, {"cid": 17, "color": "#FF9DA7", "label": "SerialTransport", "count": 27}, {"cid": 18, "color": "#9C755F", "label": "esp_err.h", "count": 60}, {"cid": 19, "color": "#BAB0AC", "label": "led_strip Component Docs", "count": 39}, {"cid": 20, "color": "#4E79A7", "label": "Art-Net Output", "count": 39}, {"cid": 21, "color": "#F28E2B", "label": "freertos.c", "count": 76}, {"cid": 22, "color": "#E15759", "label": "bridge.c", "count": 33}, {"cid": 23, "color": "#76B7B2", "label": "cJSON_IsString", "count": 111}, {"cid": 24, "color": "#59A14F", "label": "cJSON_Delete", "count": 49}, {"cid": 25, "color": "#EDC948", "label": "Microdot", "count": 34}, {"cid": 26, "color": "#B07AA1", "label": "KeyName", "count": 4}, {"cid": 27, "color": "#FF9DA7", "label": "seqplay.c", "count": 68}, {"cid": 28, "color": "#9C755F", "label": "Devices UI (JS)", "count": 36}, {"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": "PyboardCommand", "count": 26}, {"cid": 32, "color": "#E15759", "label": "cJSON_CreateObject", "count": 99}, {"cid": 33, "color": "#76B7B2", "label": "httpd_parse.c", "count": 70}, {"cid": 34, "color": "#59A14F", "label": "test_sequences.py", "count": 29}, {"cid": 35, "color": "#EDC948", "label": "cJSON_Delete", "count": 37}, {"cid": 36, "color": "#B07AA1", "label": "API Docs: Outputs &amp; Audio", "count": 23}, {"cid": 37, "color": "#FF9DA7", "label": "stdio", "count": 28}, {"cid": 38, "color": "#9C755F", "label": "socket", "count": 16}, {"cid": 39, "color": "#BAB0AC", "label": "Beat Detection DSP (C)", "count": 21}, {"cid": 40, "color": "#4E79A7", "label": "xSemaphoreGive", "count": 68}, {"cid": 41, "color": "#F28E2B", "label": "WS2812", "count": 45}, {"cid": 42, "color": "#E15759", "label": "run_all", "count": 21}, {"cid": 43, "color": "#76B7B2", "label": "usb_cfg.cpp", "count": 38}, {"cid": 44, "color": "#59A14F", "label": "httpd_handle_t", "count": 31}, {"cid": 45, "color": "#EDC948", "label": "http_parser.h", "count": 45}, {"cid": 46, "color": "#B07AA1", "label": "bench.c", "count": 22}, {"cid": 47, "color": "#FF9DA7", "label": "USB Latency Tools", "count": 29}, {"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": "esp_glue.c", "count": 24}, {"cid": 51, "color": "#F28E2B", "label": "API Tests: Devices", "count": 27}, {"cid": 52, "color": "#E15759", "label": "sys", "count": 36}, {"cid": 53, "color": "#76B7B2", "label": "mpremote Transport", "count": 22}, {"cid": 54, "color": "#59A14F", "label": "httpd_sess.c", "count": 30}, {"cid": 55, "color": "#EDC948", "label": "sim_glue.c", "count": 20}, {"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": 17}, {"cid": 59, "color": "#BAB0AC", "label": "mic_alsa.c", "count": 26}, {"cid": 60, "color": "#4E79A7", "label": "nvs_sim.cpp", "count": 39}, {"cid": 61, "color": "#F28E2B", "label": "API Test Fixtures &amp; Audio", "count": 15}, {"cid": 62, "color": "#E15759", "label": "Microdot Request (dmx)", "count": 17}, {"cid": 63, "color": "#76B7B2", "label": "Help: Zones &amp; Palette", "count": 20}, {"cid": 64, "color": "#59A14F", "label": "ddp_test.py", "count": 42}, {"cid": 65, "color": "#EDC948", "label": "ESPNow", "count": 28}, {"cid": 66, "color": "#B07AA1", "label": "httpd_handle_t", "count": 22}, {"cid": 67, "color": "#FF9DA7", "label": "status_get_handler", "count": 18}, {"cid": 68, "color": "#9C755F", "label": "httpd_uri.c", "counLine truncated
// HTML-escape helper — prevents XSS when injecting graph data into innerHTML
function esc(s) {