- 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>
1 line
18 KiB
JSON
1 line
18 KiB
JSON
{"nodes": [{"id": "$graphify-root$_main_web_c", "label": "web.c", "file_type": "code", "source_file": "main/web.c", "source_location": "L1"}, {"id": "$graphify-root$_main_web_mime_for", "label": "mime_for()", "file_type": "code", "source_file": "main/web.c", "source_location": "L26", "_callable": true}, {"id": "$graphify-root$_main_web_find_file", "label": "find_file()", "file_type": "code", "source_file": "main/web.c", "source_location": "L43", "_callable": true}, {"id": "$graphify-root$_main_web_web_file", "label": "web_file()", "file_type": "code", "source_file": "main/web.c", "source_location": "L73", "_callable": true}, {"id": "$graphify-root$_main_web_web_each", "label": "web_each()", "file_type": "code", "source_file": "main/web.c", "source_location": "L78", "_callable": true}, {"id": "$graphify-root$_main_web_etag", "label": "etag()", "file_type": "code", "source_file": "main/web.c", "source_location": "L106", "_callable": true}, {"id": "$graphify-root$_main_web_send_gz", "label": "send_gz()", "file_type": "code", "source_file": "main/web.c", "source_location": "L120", "_callable": true}, {"id": "esp_err_t", "label": "esp_err_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/web.c"}, {"id": "httpd_req_t", "label": "httpd_req_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/web.c"}, {"id": "$graphify-root$_main_web_web_send_page", "label": "web_send_page()", "file_type": "code", "source_file": "main/web.c", "source_location": "L142", "_callable": true}, {"id": "$graphify-root$_main_web_index_handler", "label": "index_handler()", "file_type": "code", "source_file": "main/web.c", "source_location": "L147", "_callable": true}, {"id": "$graphify-root$_main_web_audio_page_handler", "label": "audio_page_handler()", "file_type": "code", "source_file": "main/web.c", "source_location": "L152", "_callable": true}, {"id": "$graphify-root$_main_web_static_handler", "label": "static_handler()", "file_type": "code", "source_file": "main/web.c", "source_location": "L157", "_callable": true}, {"id": "$graphify-root$_main_web_favicon_handler", "label": "favicon_handler()", "file_type": "code", "source_file": "main/web.c", "source_location": "L170", "_callable": true}, {"id": "$graphify-root$_main_web_web_register", "label": "web_register()", "file_type": "code", "source_file": "main/web.c", "source_location": "L176", "_callable": true}, {"id": "httpd_handle_t", "label": "httpd_handle_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/web.c"}], "edges": [{"source": "$graphify-root$_main_web_c", "target": "$graphify-root$_main_web_h", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/web.c", "source_location": "L1", "weight": 1.0, "target_file": "$graphify-root$/main/web.h"}, {"source": "$graphify-root$_main_web_c", "target": "stddef", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/web.c", "source_location": "L3", "weight": 1.0}, {"source": "$graphify-root$_main_web_c", "target": "stdio", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/web.c", "source_location": "L4", "weight": 1.0}, {"source": "$graphify-root$_main_web_c", "target": "stdint", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/web.c", "source_location": "L5", "weight": 1.0}, {"source": "$graphify-root$_main_web_c", "target": "string", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/web.c", "source_location": "L6", "weight": 1.0}, {"source": "$graphify-root$_main_web_c", "target": "esp_app_desc", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/web.c", "source_location": "L7", "weight": 1.0, "metadata": {"raw_include": "esp_app_desc.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_main_web_c", "target": "esp_log", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/web.c", "source_location": "L8", "weight": 1.0, "metadata": {"raw_include": "esp_log.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_main_web_c", "target": "$graphify-root$_main_web_mime_for", "relation": "contains", "confidence": "EXTRACTED", "source_file": "main/web.c", "source_location": "L26", "weight": 1.0}, {"source": "$graphify-root$_main_web_c", "target": "$graphify-root$_main_web_find_file", "relation": "contains", "confidence": "EXTRACTED", "source_file": "main/web.c", "source_location": "L43", "weight": 1.0}, {"source": "$graphify-root$_main_web_c", "target": "$graphify-root$_main_web_web_file", "relation": "contains", "confidence": "EXTRACTED", "source_file": "main/web.c", "source_location": "L73", "weight": 1.0}, {"source": "$graphify-root$_main_web_c", "target": "$graphify-root$_main_web_web_each", "relation": "contains", "confidence": "EXTRACTED", "source_file": "main/web.c", "source_location": "L78", "weight": 1.0}, {"source": "$graphify-root$_main_web_c", "target": "$graphify-root$_main_web_etag", "relation": "contains", "confidence": "EXTRACTED", "source_file": "main/web.c", "source_location": "L106", "weight": 1.0}, {"source": "$graphify-root$_main_web_c", "target": "$graphify-root$_main_web_send_gz", "relation": "contains", "confidence": "EXTRACTED", "source_file": "main/web.c", "source_location": "L120", "weight": 1.0}, {"source": "$graphify-root$_main_web_send_gz", "target": "esp_err_t", "relation": "references", "confidence": "EXTRACTED", "source_file": "main/web.c", "source_location": "L120", "weight": 1.0, "context": "return_type"}, {"source": "$graphify-root$_main_web_send_gz", "target": "httpd_req_t", "relation": "references", "confidence": "EXTRACTED", "source_file": "main/web.c", "source_location": "L120", "weight": 1.0, "context": "parameter_type"}, {"source": "$graphify-root$_main_web_c", "target": "$graphify-root$_main_web_web_send_page", "relation": "contains", "confidence": "EXTRACTED", "source_file": "main/web.c", "source_location": "L142", "weight": 1.0}, {"source": "$graphify-root$_main_web_web_send_page", "target": "esp_err_t", "relation": "references", "confidence": "EXTRACTED", "source_file": "main/web.c", "source_location": "L142", "weight": 1.0, "context": "return_type"}, {"source": "$graphify-root$_main_web_web_send_page", "target": "httpd_req_t", "relation": "references", "confidence": "EXTRACTED", "source_file": "main/web.c", "source_location": "L142", "weight": 1.0, "context": "parameter_type"}, {"source": "$graphify-root$_main_web_c", "target": "$graphify-root$_main_web_index_handler", "relation": "contains", "confidence": "EXTRACTED", "source_file": "main/web.c", "source_location": "L147", "weight": 1.0}, {"source": "$graphify-root$_main_web_index_handler", "target": "esp_err_t", "relation": "references", "confidence": "EXTRACTED", "source_file": "main/web.c", "source_location": "L147", "weight": 1.0, "context": "return_type"}, {"source": "$graphify-root$_main_web_index_handler", "target": "httpd_req_t", "relation": "references", "confidence": "EXTRACTED", "source_file": "main/web.c", "source_location": "L147", "weight": 1.0, "context": "parameter_type"}, {"source": "$graphify-root$_main_web_c", "target": "$graphify-root$_main_web_audio_page_handler", "relation": "contains", "confidence": "EXTRACTED", "source_file": "main/web.c", "source_location": "L152", "weight": 1.0}, {"source": "$graphify-root$_main_web_audio_page_handler", "target": "esp_err_t", "relation": "references", "confidence": "EXTRACTED", "source_file": "main/web.c", "source_location": "L152", "weight": 1.0, "context": "return_type"}, {"source": "$graphify-root$_main_web_audio_page_handler", "target": "httpd_req_t", "relation": "references", "confidence": "EXTRACTED", "source_file": "main/web.c", "source_location": "L152", "weight": 1.0, "context": "parameter_type"}, {"source": "$graphify-root$_main_web_c", "target": "$graphify-root$_main_web_static_handler", "relation": "contains", "confidence": "EXTRACTED", "source_file": "main/web.c", "source_location": "L157", "weight": 1.0}, {"source": "$graphify-root$_main_web_static_handler", "target": "esp_err_t", "relation": "references", "confidence": "EXTRACTED", "source_file": "main/web.c", "source_location": "L157", "weight": 1.0, "context": "return_type"}, {"source": "$graphify-root$_main_web_static_handler", "target": "httpd_req_t", "relation": "references", "confidence": "EXTRACTED", "source_file": "main/web.c", "source_location": "L157", "weight": 1.0, "context": "parameter_type"}, {"source": "$graphify-root$_main_web_c", "target": "$graphify-root$_main_web_favicon_handler", "relation": "contains", "confidence": "EXTRACTED", "source_file": "main/web.c", "source_location": "L170", "weight": 1.0}, {"source": "$graphify-root$_main_web_favicon_handler", "target": "esp_err_t", "relation": "references", "confidence": "EXTRACTED", "source_file": "main/web.c", "source_location": "L170", "weight": 1.0, "context": "return_type"}, {"source": "$graphify-root$_main_web_favicon_handler", "target": "httpd_req_t", "relation": "references", "confidence": "EXTRACTED", "source_file": "main/web.c", "source_location": "L170", "weight": 1.0, "context": "parameter_type"}, {"source": "$graphify-root$_main_web_c", "target": "$graphify-root$_main_web_web_register", "relation": "contains", "confidence": "EXTRACTED", "source_file": "main/web.c", "source_location": "L176", "weight": 1.0}, {"source": "$graphify-root$_main_web_web_register", "target": "esp_err_t", "relation": "references", "confidence": "EXTRACTED", "source_file": "main/web.c", "source_location": "L176", "weight": 1.0, "context": "return_type"}, {"source": "$graphify-root$_main_web_web_register", "target": "httpd_handle_t", "relation": "references", "confidence": "EXTRACTED", "source_file": "main/web.c", "source_location": "L176", "weight": 1.0, "context": "parameter_type"}, {"source": "$graphify-root$_main_web_web_file", "target": "$graphify-root$_main_web_find_file", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "main/web.c", "source_location": "L75", "weight": 1.0}, {"source": "$graphify-root$_main_web_send_gz", "target": "$graphify-root$_main_web_find_file", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "main/web.c", "source_location": "L127", "weight": 1.0}, {"source": "$graphify-root$_main_web_send_gz", "target": "$graphify-root$_main_web_etag", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "main/web.c", "source_location": "L131", "weight": 1.0}, {"source": "$graphify-root$_main_web_send_gz", "target": "$graphify-root$_main_web_mime_for", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "main/web.c", "source_location": "L137", "weight": 1.0}, {"source": "$graphify-root$_main_web_web_send_page", "target": "$graphify-root$_main_web_send_gz", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "main/web.c", "source_location": "L144", "weight": 1.0}, {"source": "$graphify-root$_main_web_index_handler", "target": "$graphify-root$_main_web_send_gz", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "main/web.c", "source_location": "L149", "weight": 1.0}, {"source": "$graphify-root$_main_web_audio_page_handler", "target": "$graphify-root$_main_web_send_gz", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "main/web.c", "source_location": "L154", "weight": 1.0}, {"source": "$graphify-root$_main_web_static_handler", "target": "$graphify-root$_main_web_send_gz", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "main/web.c", "source_location": "L167", "weight": 1.0}], "raw_calls": [{"caller_nid": "$graphify-root$_main_web_mime_for", "callee": "strrchr", "is_member_call": false, "source_file": "main/web.c", "source_location": "L28", "receiver": null}, {"caller_nid": "$graphify-root$_main_web_mime_for", "callee": "strcmp", "is_member_call": false, "source_file": "main/web.c", "source_location": "L30", "receiver": null}, {"caller_nid": "$graphify-root$_main_web_find_file", "callee": "memcmp", "is_member_call": false, "source_file": "main/web.c", "source_location": "L46", "receiver": null}, {"caller_nid": "$graphify-root$_main_web_find_file", "callee": "strlen", "is_member_call": false, "source_file": "main/web.c", "source_location": "L50", "receiver": null}, {"caller_nid": "$graphify-root$_main_web_find_file", "callee": "memcpy", "is_member_call": false, "source_file": "main/web.c", "source_location": "L53", "receiver": null}, {"caller_nid": "$graphify-root$_main_web_find_file", "callee": "memcpy", "is_member_call": false, "source_file": "main/web.c", "source_location": "L58", "receiver": null}, {"caller_nid": "$graphify-root$_main_web_find_file", "callee": "memcmp", "is_member_call": false, "source_file": "main/web.c", "source_location": "L63", "receiver": null}, {"caller_nid": "$graphify-root$_main_web_web_each", "callee": "memcmp", "is_member_call": false, "source_file": "main/web.c", "source_location": "L81", "receiver": null}, {"caller_nid": "$graphify-root$_main_web_web_each", "callee": "strlen", "is_member_call": false, "source_file": "main/web.c", "source_location": "L84", "receiver": null}, {"caller_nid": "$graphify-root$_main_web_web_each", "callee": "memcpy", "is_member_call": false, "source_file": "main/web.c", "source_location": "L88", "receiver": null}, {"caller_nid": "$graphify-root$_main_web_web_each", "callee": "memcpy", "is_member_call": false, "source_file": "main/web.c", "source_location": "L89", "receiver": null}, {"caller_nid": "$graphify-root$_main_web_web_each", "callee": "memcmp", "is_member_call": false, "source_file": "main/web.c", "source_location": "L94", "receiver": null}, {"caller_nid": "$graphify-root$_main_web_web_each", "callee": "memcpy", "is_member_call": false, "source_file": "main/web.c", "source_location": "L95", "receiver": null}, {"caller_nid": "$graphify-root$_main_web_web_each", "callee": "fn", "is_member_call": false, "source_file": "main/web.c", "source_location": "L97", "receiver": null}, {"caller_nid": "$graphify-root$_main_web_etag", "callee": "snprintf", "is_member_call": false, "source_file": "main/web.c", "source_location": "L114", "receiver": null}, {"caller_nid": "$graphify-root$_main_web_send_gz", "callee": "strstr", "is_member_call": false, "source_file": "main/web.c", "source_location": "L124", "receiver": null}, {"caller_nid": "$graphify-root$_main_web_send_gz", "callee": "httpd_resp_send_err", "is_member_call": false, "source_file": "main/web.c", "source_location": "L125", "receiver": null}, {"caller_nid": "$graphify-root$_main_web_send_gz", "callee": "httpd_resp_send_404", "is_member_call": false, "source_file": "main/web.c", "source_location": "L128", "receiver": null}, {"caller_nid": "$graphify-root$_main_web_send_gz", "callee": "httpd_resp_set_hdr", "is_member_call": false, "source_file": "main/web.c", "source_location": "L130", "receiver": null}, {"caller_nid": "$graphify-root$_main_web_send_gz", "callee": "httpd_resp_set_hdr", "is_member_call": false, "source_file": "main/web.c", "source_location": "L131", "receiver": null}, {"caller_nid": "$graphify-root$_main_web_send_gz", "callee": "httpd_req_get_hdr_value_str", "is_member_call": false, "source_file": "main/web.c", "source_location": "L133", "receiver": null}, {"caller_nid": "$graphify-root$_main_web_send_gz", "callee": "strcmp", "is_member_call": false, "source_file": "main/web.c", "source_location": "L133", "receiver": null}, {"caller_nid": "$graphify-root$_main_web_send_gz", "callee": "httpd_resp_set_status", "is_member_call": false, "source_file": "main/web.c", "source_location": "L134", "receiver": null}, {"caller_nid": "$graphify-root$_main_web_send_gz", "callee": "httpd_resp_send", "is_member_call": false, "source_file": "main/web.c", "source_location": "L135", "receiver": null}, {"caller_nid": "$graphify-root$_main_web_send_gz", "callee": "httpd_resp_set_type", "is_member_call": false, "source_file": "main/web.c", "source_location": "L137", "receiver": null}, {"caller_nid": "$graphify-root$_main_web_send_gz", "callee": "httpd_resp_set_hdr", "is_member_call": false, "source_file": "main/web.c", "source_location": "L138", "receiver": null}, {"caller_nid": "$graphify-root$_main_web_send_gz", "callee": "httpd_resp_send", "is_member_call": false, "source_file": "main/web.c", "source_location": "L139", "receiver": null}, {"caller_nid": "$graphify-root$_main_web_static_handler", "callee": "strcspn", "is_member_call": false, "source_file": "main/web.c", "source_location": "L161", "receiver": null}, {"caller_nid": "$graphify-root$_main_web_static_handler", "callee": "httpd_resp_send_err", "is_member_call": false, "source_file": "main/web.c", "source_location": "L163", "receiver": null}, {"caller_nid": "$graphify-root$_main_web_static_handler", "callee": "memcpy", "is_member_call": false, "source_file": "main/web.c", "source_location": "L165", "receiver": null}, {"caller_nid": "$graphify-root$_main_web_favicon_handler", "callee": "httpd_resp_set_status", "is_member_call": false, "source_file": "main/web.c", "source_location": "L172", "receiver": null}, {"caller_nid": "$graphify-root$_main_web_favicon_handler", "callee": "httpd_resp_send", "is_member_call": false, "source_file": "main/web.c", "source_location": "L173", "receiver": null}, {"caller_nid": "$graphify-root$_main_web_web_register", "callee": "httpd_register_uri_handler", "is_member_call": false, "source_file": "main/web.c", "source_location": "L185", "receiver": null}, {"caller_nid": "$graphify-root$_main_web_web_register", "callee": "ESP_LOGE", "is_member_call": false, "source_file": "main/web.c", "source_location": "L187", "receiver": null}, {"caller_nid": "$graphify-root$_main_web_web_register", "callee": "esp_err_to_name", "is_member_call": false, "source_file": "main/web.c", "source_location": "L187", "receiver": null}], "_cached_target_files": ["$graphify-root$/main/web.h"]} |