feat: browser simulator served by the controller, desktop build, browser bridge
- led-simulator: the rig runs the C++ led-driver as WebAssembly (sim-driver/), one single-threaded worker per bar, no cross-origin isolation needed. Rooms (one JSON per room) with an on-page editor, and a pattern gallery. The Python server, Pyodide boot and ring buffer are removed. - sim-controller sim_rig.c: serves /sim/ from an embedded pack, the page's WebSocket and the rooms/flash API. The desktop build embeds it too. - bridge.c: a "browser" bridge kind that carries ESP-NOW frames to the page; devices announced through it are marked sim. - UI: Simulator in the Menu, split view with resize and pop-out, swipe between controller and rig on phones; SIM/REAL badges in Devices. - Fades: preset pushes and Wi-Fi driver bodies always carry fade and beat_time, so "off" no longer inherits an earlier fade. - Also the sequences-v2 work in progress: desktop port, bridge firmware, serial bridge, Wi-Fi drivers, sequence timeline, audio and API changes. - led-driver: ESP-NOW link, beat sync, control messages, sim hooks. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
698c1463c0
commit
581b751904
506 files changed
+42336
-3599
No files matched your search
@@ -94,12 +94,12 @@
|
||||
</div>
|
||||
<div id="legend"></div>
|
||||
</div>
|
||||
<div id="stats">3524 nodes · 8659 edges · 184 communities</div>
|
||||
<div id="stats">4727 nodes · 13754 edges · 219 communities</div>
|
||||
</div>
|
||||
<script>
|
||||
const RAW_NODES = [{"id": "led_driver_main_ws2812_ws2812", "label": "WS2812", "color": {"background": "#4E79A7", "border": "#4E79A7", "highlight": {"background": "#ffffff", "border": "#4E79A7"}}, "size": 16.1, "font": {"size": 12, "color": "#ffffff"}, "title": "WS2812", "community": 50, "community_name": "WS2812", "source_file": "led-driver/main/ws2812.h", "file_type": "code", "degree": 21}, {"id": "led_driver_main_web_api_call_t", "label": "api_call_t", "color": {"background": "#59A14F", "border": "#59A14F", "highlight": {"background": "#ffffff", "border": "#59A14F"}}, "size": 11.7, "font": {"size": 0, "color": "#ffffff"}, "title": "api_call_t", "community": 94, "community_name": "api_call_t", "source_file": "led-driver/main/web.cpp", "file_type": "code", "degree": 6}, {"id": "scripts_led_test_managed_components_espressif_led_strip_include_led_strip_types_led_strip_t", "label": "led_strip_t", "color": {"background": "#E15759", "border": "#E15759", "highlight": {"background": "#ffffff", "border": "#E15759"}}, "size": 10.3, "font": {"size": 0, "color": "#ffffff"}, "title": "led_strip_t", "community": 22, "community_name": "esp_log", "source_file": "scripts/led-test/managed_components/espressif__led_strip/include/led_strip_types.h", "file_type": "code", "degree": 1}, {"id": "scripts_led_test_managed_components_espressif_led_strip_interface_led_strip_interface_led_strip_t", "label": "led_strip_t", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 10.3, "font": {"size": 0, "color": "#ffffff"}, "title": "led_strip_t", "community": 37, "community_name": "led_strip_spi_dev.c", "source_file": "scripts/led-test/managed_components/espressif__led_strip/interface/led_strip_interface.h", "file_type": "code", "degree": 1}, {"id": "led_driver_main_patterns_pattern_def_t", "label": "pattern_def_t", "color": {"background": "#EDC948", "border": "#EDC948", "highlight": {"background": "#ffffff", "border": "#EDC948"}}, "size": 11.2, "font": {"size": 0, "color": "#ffffff"}, "title": "pattern_def_t", "community": 55, "community_name": "patterns.cpp", "source_file": "led-driver/main/patterns.cpp", "file_type": "code", "degree": 4}, {"id": "led_driver_main_web_relay_slot_t", "label": "relay_slot_t", "color": {"background": "#76B7B2", "border": "#76B7B2", "highlight": {"background": "#ffffff", "border": "#76B7B2"}}, "size": 11.2, "font": {"size": 0, "color": "#ffffff"}, "title": "relay_slot_t", "community": 33, "community_name": "web.cpp", "source_file": "led-driver/main/web.cpp", "file_type": "code", "degree": 4}, {"id": "led_driver_main_web_ws_slot_t", "label": "ws_slot_t", "color": {"background": "#E15759", "border": "#E15759", "highlight": {"background": "#ffffff", "border": "#E15759"}}, "size": 11.2, "font": {"size": 0, "color": "#ffffff"}, "title": "ws_slot_t", "community": 112, "community_name": "ws_slot_t", "source_file": "led-driver/main/web.cpp", "file_type": "code", "degree": 4}, {"id": "led_simulator_web_ring_simring", "label": "SimRing", "color": {"background": "#59A14F", "border": "#59A14F", "highlight": {"background": "#ffffff", "border": "#59A14F"}}, "size": 12.3, "font": {"size": 0, "color": "#ffffff"}, "title": "SimRing", "community": 214, "community_name": "SimRing", "source_file": "led-simulator/web/ring.js", "file_type": "code", "degree": 8}, {"id": "led_tool_idf_device_idfdevice", "label": "IdfDevice", "color": {"background": "#4E79A7", "border": "#4E79A7", "highlight": {"background": "#ffffff", "border": "#4E79A7"}}, "size": 14.7, "font": {"size": 12, "color": "#ffffff"}, "title": "IdfDevice", "community": 0, "community_name": "IdfDevice", "source_file": "led-tool/idf_device.py", "file_type": "code", "degree": 16}, {"id": "led_tool_idf_device_idferror", "label": "IdfError", "color": {"background": "#4E79A7", "border": "#4E79A7", "highlight": {"background": "#ffffff", "border": "#4E79A7"}}, "size": 11.5, "font": {"size": 0, "color": "#ffffff"}, "title": "IdfError", "community": 0, "community_name": "IdfDevice", "source_file": "led-tool/idf_device.py", "file_type": "code", "degree": 5}, {"id": "tools_sim_demo_api", "label": "Api", "color": {"background": "#F28E2B", "border": "#F28E2B", "highlight": {"background": "#ffffff", "border": "#F28E2B"}}, "size": 11.2, "font": {"size": 0, "color": "#ffffff"}, "title": "Api", "community": 131, "community_name": "sim_demo.py", "source_file": "tools/sim_demo.py", "file_type": "code", "degree": 4}, {"id": "dmx_driver_lib_dmx_dmx", "label": "DMX", "color": {"background": "#F28E2B", "border": "#F28E2B", "highlight": {"background": "#ffffff", "border": "#F28E2B"}}, "size": 11.5, "font": {"size": 0, "color": "#ffffff"}, "title": "DMX", "community": 141, "community_name": "machine.py", "source_file": "dmx-driver/lib/dmx.py", "file_type": "code", "degree": 5}, {"id": "led_simulator_stubs_machine_pin", "label": "Pin", "color": {"background": "#F28E2B", "border": "#F28E2B", "highlight": {"background": "#fffLine truncated
|
||||
const RAW_EDGES = [{"from": "led_driver_main_ws2812_ws2812", "to": "led_driver_main_ws2812_ws2812_num_leds", "label": "defines", "title": "defines [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "led_driver_main_ws2812_ws2812", "to": "led_driver_main_ws2812_ws2812_order", "label": "defines", "title": "defines [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "led_driver_main_ws2812_ws2812", "to": "led_driver_main_ws2812_ws2812_pixels", "label": "defines", "title": "defines [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "led_driver_main_ws2812_ws2812", "to": "led_driver_main_ws2812_ws2812_tx_pixels", "label": "defines", "title": "defines [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "led_driver_main_ws2812_ws2812", "to": "led_driver_main_ws2812_ws2812_channel", "label": "defines", "title": "defines [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "led_driver_main_ws2812_ws2812", "to": "led_driver_main_ws2812_ws2812_encoder", "label": "defines", "title": "defines [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "led_driver_main_ws2812_ws2812", "to": "led_driver_main_ws2812_ws2812_tx_config", "label": "defines", "title": "defines [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "led_driver_main_ws2812_ws2812", "to": "led_driver_main_ws2812_ws2812_brightness", "label": "method", "title": "method [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "led_driver_main_ws2812_ws2812", "to": "vector", "label": "references", "title": "references [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "led_driver_main_ws2812_ws2812", "to": "led_driver_main_ws2812_h_rmt_channel_handle_t", "label": "references", "title": "references [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "led_driver_main_ws2812_ws2812", "to": "led_driver_main_ws2812_h_rmt_encoder_handle_t", "label": "references", "title": "references [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "led_driver_main_ws2812_ws2812", "to": "rmt_transmit_config_t", "label": "references", "title": "references [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "led_driver_main_ws2812_h_led_driver_main_ws2812", "to": "led_driver_main_ws2812_ws2812", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "led_driver_main_ws2812_ws2812", "to": "led_driver_main_ws2812_ws2812_ws2812", "label": "method", "title": "method [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "led_driver_main_ws2812_ws2812", "to": "led_driver_main_ws2812_ws2812_set", "label": "method", "title": "method [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "led_driver_main_ws2812_ws2812", "to": "led_driver_main_ws2812_ws2812_fill", "label": "method", "title": "method [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "led_driver_main_ws2812_ws2812", "to": "led_driver_main_ws2812_ws2812_write", "label": "method", "title": "method [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "led_driver_main_ws2812_ws2812", "to": "led_driver_main_ws2812_ws2812_size", "label": "method", "title": "method [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "led_driver_main_ws2812_ws2812", "to": "led_driver_main_ws2812_ws2812_setbrightness", "label": "method", "title": "method [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "led_driver_main_ws2812_ws2812", "to": "led_driver_main_ws2812_ws2812_hsv2rgb", "label": "method", "title": "method [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "led_driver_main_ws2812_ws2812", "to": "led_driver_main_ws2812_ws2812_setorder", "label": "method", "title": "method [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "led_driver_main_web_api_call_t", "to": "led_driver_main_web_api_call_t_msg", "label": "defines", "title": "defines [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "led_driver_main_web_api_call_t", "toLine 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": 11}, {"cid": 3, "color": "#76B7B2", "label": "Browser Tests & Mockup Images", "count": 70}, {"cid": 4, "color": "#59A14F", "label": "Audio UI (JS)", "count": 59}, {"cid": 5, "color": "#EDC948", "label": "ESP-NOW TX & DMX Pulse", "count": 34}, {"cid": 6, "color": "#B07AA1", "label": "audio.c", "count": 37}, {"cid": 7, "color": "#FF9DA7", "label": "led-tool Device CLI", "count": 52}, {"cid": 8, "color": "#9C755F", "label": "ab", "count": 99}, {"cid": 9, "color": "#BAB0AC", "label": "Compiler", "count": 42}, {"cid": 10, "color": "#4E79A7", "label": "Spec: Pi Animation Engine", "count": 47}, {"cid": 11, "color": "#F28E2B", "label": "led-driver/main/ota.c", "count": 18}, {"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": "patterns.c", "count": 42}, {"cid": 15, "color": "#EDC948", "label": "new_id", "count": 31}, {"cid": 16, "color": "#B07AA1", "label": "Sequences UI (JS)", "count": 62}, {"cid": 17, "color": "#FF9DA7", "label": "server.py", "count": 23}, {"cid": 18, "color": "#9C755F", "label": "main/main.c", "count": 30}, {"cid": 19, "color": "#BAB0AC", "label": "led_strip Component Docs", "count": 39}, {"cid": 20, "color": "#4E79A7", "label": "Art-Net Output", "count": 36}, {"cid": 21, "color": "#F28E2B", "label": "main/main.c", "count": 30}, {"cid": 22, "color": "#E15759", "label": "esp_log", "count": 35}, {"cid": 23, "color": "#76B7B2", "label": "engine.c", "count": 42}, {"cid": 24, "color": "#59A14F", "label": "ws.c", "count": 9}, {"cid": 25, "color": "#EDC948", "label": "Microdot", "count": 31}, {"cid": 26, "color": "#B07AA1", "label": "led_strip_rmt_dev.c", "count": 22}, {"cid": 27, "color": "#FF9DA7", "label": "seqplay.c", "count": 56}, {"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": "beat.c", "count": 41}, {"cid": 33, "color": "#76B7B2", "label": "web.cpp", "count": 59}, {"cid": 34, "color": "#59A14F", "label": "test_sequences.py", "count": 24}, {"cid": 35, "color": "#EDC948", "label": "microdot.py", "count": 25}, {"cid": 36, "color": "#B07AA1", "label": "API Docs: Outputs & Audio", "count": 26}, {"cid": 37, "color": "#FF9DA7", "label": "led_strip_spi_dev.c", "count": 26}, {"cid": 38, "color": "#9C755F", "label": "store_save", "count": 17}, {"cid": 39, "color": "#BAB0AC", "label": "Beat Detection DSP (C)", "count": 19}, {"cid": 40, "color": "#4E79A7", "label": "audio_api.c", "count": 20}, {"cid": 41, "color": "#F28E2B", "label": "sim_stubs.c", "count": 23}, {"cid": 42, "color": "#E15759", "label": "run_all", "count": 35}, {"cid": 43, "color": "#76B7B2", "label": "ws_client.cpp", "count": 11}, {"cid": 44, "color": "#59A14F", "label": "time", "count": 17}, {"cid": 45, "color": "#EDC948", "label": "test_presets.py", "count": 15}, {"cid": 46, "color": "#B07AA1", "label": "BridgeSim", "count": 27}, {"cid": 47, "color": "#FF9DA7", "label": "USB Latency Tools", "count": 22}, {"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": "WS2812", "count": 34}, {"cid": 51, "color": "#F28E2B", "label": "API Tests: Devices", "count": 26}, {"cid": 52, "color": "#E15759", "label": "Transport", "count": 16}, {"cid": 53, "color": "#76B7B2", "label": "mpremote Transport", "count": 22}, {"cid": 54, "color": "#59A14F", "label": "Outputs Config (C)", "count": 24}, {"cid": 55, "color": "#EDC948", "label": "patterns.cpp", "count": 34}, {"cid": 56, "color": "#B07AA1", "label": "test_routes.py", "count": 10}, {"cid": 57, "color": "#FF9DA7", "label": "ESPNow", "count": 12}, {"cid": 58, "color": "#9C755F", "label": "test_outputs.py", "count": 10}, {"cid": 59, "color": "#BAB0AC", "label": "microdot.py", "count": 14}, {"cid": 60, "color": "#4E79A7", "label": "mpremote Serial Transport", "count": 29}, {"cid": 61, "color": "#F28E2B", "label": "API Test Fixtures & Audio", "count": 16}, {"cid": 62, "color": "#E15759", "label": "Microdot Request (dmx)", "count": 15}, {"cid": 63, "color": "#76B7B2", "label": "Help: Zones & Palette", "count": 20}, {"cid": 64, "color": "#59A14F", "label": "ddp_test.py", "count": 43}, {"cid": 65, "color": "#EDC948", "label": "test_audio.py", "count": 7}, {"cid": 66, "color": "#B07AA1", "label": "esp_timer_get_time", "count": 20}, {"cid": 67, "color": "#FF9DA7", "label": "os", "count": 49}, {"cid": 68, "color": "#Line 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": "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 & 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 & 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 & Audio", "count": 20}, {"cid": 62, "color": "#E15759", "label": "Microdot Request (dmx)", "count": 17}, {"cid": 63, "color": "#76B7B2", "label": "Help: Zones & 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
|
||||
|
||||
// HTML-escape helper — prevents XSS when injecting graph data into innerHTML
|
||||
function esc(s) {
|
||||
|
||||
Reference in new issue
Block a user