{"nodes": [{"id": "$graphify-root$_led_driver_src_peers_py", "label": "peers.py", "file_type": "code", "source_file": "led-driver/src/peers.py", "source_location": "L1"}, {"id": "$graphify-root$_led_driver_src_peers_now", "label": "_now()", "file_type": "code", "source_file": "led-driver/src/peers.py", "source_location": "L23", "_callable": true}, {"id": "$graphify-root$_led_driver_src_peers_set_self", "label": "set_self()", "file_type": "code", "source_file": "led-driver/src/peers.py", "source_location": "L27", "_callable": true}, {"id": "$graphify-root$_led_driver_src_peers_set_sender", "label": "set_sender()", "file_type": "code", "source_file": "led-driver/src/peers.py", "source_location": "L33", "_callable": true}, {"id": "$graphify-root$_led_driver_src_peers_note", "label": "note()", "file_type": "code", "source_file": "led-driver/src/peers.py", "source_location": "L39", "_callable": true}, {"id": "$graphify-root$_led_driver_src_peers_list_peers", "label": "list_peers()", "file_type": "code", "source_file": "led-driver/src/peers.py", "source_location": "L51", "_callable": true}, {"id": "$graphify-root$_led_driver_src_peers_find", "label": "find()", "file_type": "code", "source_file": "led-driver/src/peers.py", "source_location": "L63", "_callable": true}, {"id": "$graphify-root$_led_driver_src_peers_send_cmd", "label": "send_cmd()", "file_type": "code", "source_file": "led-driver/src/peers.py", "source_location": "L79", "_callable": true}, {"id": "$graphify-root$_led_driver_src_peers_ping_frame", "label": "ping_frame()", "file_type": "code", "source_file": "led-driver/src/peers.py", "source_location": "L97", "_callable": true}, {"id": "$graphify-root$_led_driver_src_peers_rationale_1", "label": "Other LED drivers on ESP-NOW: find them, and send them commands. Drivers learn\u2026", "file_type": "rationale", "source_file": "led-driver/src/peers.py", "source_location": "L1"}, {"id": "$graphify-root$_led_driver_src_peers_rationale_28", "label": "Our own MAC, so we never list ourselves as a peer.", "file_type": "rationale", "source_file": "led-driver/src/peers.py", "source_location": "L28"}, {"id": "$graphify-root$_led_driver_src_peers_rationale_34", "label": "send(mac, frame) used to reach a peer; see espnow_rx.make_sender.", "file_type": "rationale", "source_file": "led-driver/src/peers.py", "source_location": "L34"}, {"id": "$graphify-root$_led_driver_src_peers_rationale_40", "label": "Record a driver heard at this MAC. Keeps the newest MAX_PEERS.", "file_type": "rationale", "source_file": "led-driver/src/peers.py", "source_location": "L40"}, {"id": "$graphify-root$_led_driver_src_peers_rationale_52", "label": "Peers as dicts for the web API, newest first.", "file_type": "rationale", "source_file": "led-driver/src/peers.py", "source_location": "L52"}, {"id": "$graphify-root$_led_driver_src_peers_rationale_64", "label": "MAC for a peer given by name or by 12 hex digits (with or without colons), else\u2026", "file_type": "rationale", "source_file": "led-driver/src/peers.py", "source_location": "L64"}, {"id": "$graphify-root$_led_driver_src_peers_rationale_80", "label": "Send a JSON v1 command to one peer. Returns (True, \"\") or (False, reason).", "file_type": "rationale", "source_file": "led-driver/src/peers.py", "source_location": "L80"}, {"id": "$graphify-root$_led_driver_src_peers_rationale_98", "label": "Broadcast ping payload; peers answer with a name reply (see espnow_transport).", "file_type": "rationale", "source_file": "led-driver/src/peers.py", "source_location": "L98"}], "edges": [{"source": "$graphify-root$_led_driver_src_peers_py", "target": "json", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "led-driver/src/peers.py", "source_location": "L8", "weight": 1.0, "_python_import_module": "json", "_python_import_bindings": [["json", "json"]], "_python_import_module_binding": true}, {"source": "$graphify-root$_led_driver_src_peers_py", "target": "utime", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "led-driver/src/peers.py", "source_location": "L11", "weight": 1.0, "_python_import_module": "utime", "_python_import_bindings": [["utime", "utime"]], "_python_import_module_binding": true}, {"source": "$graphify-root$_led_driver_src_peers_py", "target": "$graphify-root$_led_driver_src_peers_now", "relation": "contains", "confidence": "EXTRACTED", "source_file": "led-driver/src/peers.py", "source_location": "L23", "weight": 1.0}, {"source": "$graphify-root$_led_driver_src_peers_py", "target": "$graphify-root$_led_driver_src_peers_set_self", "relation": "contains", "confidence": "EXTRACTED", "source_file": "led-driver/src/peers.py", "source_location": "L27", "weight": 1.0}, {"source": "$graphify-root$_led_driver_src_peers_py", "target": "$graphify-root$_led_driver_src_peers_set_sender", "relation": "contains", "confidence": "EXTRACTED", "source_file": "led-driver/src/peers.py", "source_location": "L33", "weight": 1.0}, {"source": "$graphify-root$_led_driver_src_peers_py", "target": "$graphify-root$_led_driver_src_peers_note", "relation": "contains", "confidence": "EXTRACTED", "source_file": "led-driver/src/peers.py", "source_location": "L39", "weight": 1.0}, {"source": "$graphify-root$_led_driver_src_peers_py", "target": "$graphify-root$_led_driver_src_peers_list_peers", "relation": "contains", "confidence": "EXTRACTED", "source_file": "led-driver/src/peers.py", "source_location": "L51", "weight": 1.0}, {"source": "$graphify-root$_led_driver_src_peers_py", "target": "$graphify-root$_led_driver_src_peers_find", "relation": "contains", "confidence": "EXTRACTED", "source_file": "led-driver/src/peers.py", "source_location": "L63", "weight": 1.0}, {"source": "$graphify-root$_led_driver_src_peers_py", "target": "$graphify-root$_led_driver_src_peers_send_cmd", "relation": "contains", "confidence": "EXTRACTED", "source_file": "led-driver/src/peers.py", "source_location": "L79", "weight": 1.0}, {"source": "$graphify-root$_led_driver_src_peers_py", "target": "$graphify-root$_led_driver_src_peers_ping_frame", "relation": "contains", "confidence": "EXTRACTED", "source_file": "led-driver/src/peers.py", "source_location": "L97", "weight": 1.0}, {"source": "$graphify-root$_led_driver_src_peers_note", "target": "$graphify-root$_led_driver_src_peers_now", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "led-driver/src/peers.py", "source_location": "L48", "weight": 1.0}, {"source": "$graphify-root$_led_driver_src_peers_send_cmd", "target": "$graphify-root$_led_driver_src_peers_find", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "led-driver/src/peers.py", "source_location": "L85", "weight": 1.0}, {"source": "$graphify-root$_led_driver_src_peers_rationale_1", "target": "$graphify-root$_led_driver_src_peers_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "led-driver/src/peers.py", "source_location": "L1", "weight": 1.0}, {"source": "$graphify-root$_led_driver_src_peers_rationale_28", "target": "$graphify-root$_led_driver_src_peers_set_self", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "led-driver/src/peers.py", "source_location": "L28", "weight": 1.0}, {"source": "$graphify-root$_led_driver_src_peers_rationale_34", "target": "$graphify-root$_led_driver_src_peers_set_sender", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "led-driver/src/peers.py", "source_location": "L34", "weight": 1.0}, {"source": "$graphify-root$_led_driver_src_peers_rationale_40", "target": "$graphify-root$_led_driver_src_peers_note", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "led-driver/src/peers.py", "source_location": "L40", "weight": 1.0}, {"source": "$graphify-root$_led_driver_src_peers_rationale_52", "target": "$graphify-root$_led_driver_src_peers_list_peers", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "led-driver/src/peers.py", "source_location": "L52", "weight": 1.0}, {"source": "$graphify-root$_led_driver_src_peers_rationale_64", "target": "$graphify-root$_led_driver_src_peers_find", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "led-driver/src/peers.py", "source_location": "L64", "weight": 1.0}, {"source": "$graphify-root$_led_driver_src_peers_rationale_80", "target": "$graphify-root$_led_driver_src_peers_send_cmd", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "led-driver/src/peers.py", "source_location": "L80", "weight": 1.0}, {"source": "$graphify-root$_led_driver_src_peers_rationale_98", "target": "$graphify-root$_led_driver_src_peers_ping_frame", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "led-driver/src/peers.py", "source_location": "L98", "weight": 1.0}], "raw_calls": [{"caller_nid": "$graphify-root$_led_driver_src_peers_now", "callee": "ticks_ms", "is_member_call": true, "source_file": "led-driver/src/peers.py", "source_location": "L24", "receiver": "utime", "_python_receiver_shadowed": true, "_python_call_site": [647, 663]}, {"caller_nid": "$graphify-root$_led_driver_src_peers_note", "callee": "get", "is_member_call": true, "source_file": "led-driver/src/peers.py", "source_location": "L44", "receiver": "_peers", "_python_receiver_shadowed": true, "_python_call_site": [1185, 1200]}, {"caller_nid": "$graphify-root$_led_driver_src_peers_note", "callee": "_peers", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "led-driver/src/peers.py", "source_location": "L45"}, {"caller_nid": "$graphify-root$_led_driver_src_peers_note", "callee": "_peers", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "led-driver/src/peers.py", "source_location": "L46"}, {"caller_nid": "$graphify-root$_led_driver_src_peers_list_peers", "callee": "items", "is_member_call": true, "source_file": "led-driver/src/peers.py", "source_location": "L54", "receiver": "_peers", "_python_receiver_shadowed": true, "_python_call_site": [1531, 1545]}, {"caller_nid": "$graphify-root$_led_driver_src_peers_list_peers", "callee": "append", "is_member_call": true, "source_file": "led-driver/src/peers.py", "source_location": "L55", "receiver": "out", "_python_receiver_shadowed": true, "_python_call_site": [1587, 1733]}, {"caller_nid": "$graphify-root$_led_driver_src_peers_list_peers", "callee": "join", "is_member_call": true, "source_file": "led-driver/src/peers.py", "source_location": "L57", "receiver": null, "_python_receiver_shadowed": true, "_python_call_site": [1650, 1682]}, {"caller_nid": "$graphify-root$_led_driver_src_peers_find", "callee": "str", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "led-driver/src/peers.py", "source_location": "L65"}, {"caller_nid": "$graphify-root$_led_driver_src_peers_find", "callee": "lower", "is_member_call": true, "source_file": "led-driver/src/peers.py", "source_location": "L67", "receiver": null, "_python_receiver_shadowed": true, "_python_call_site": [1947, 1978]}, {"caller_nid": "$graphify-root$_led_driver_src_peers_find", "callee": "replace", "is_member_call": true, "source_file": "led-driver/src/peers.py", "source_location": "L67", "receiver": "target", "_python_receiver_shadowed": true, "_python_call_site": [1947, 1970]}, {"caller_nid": "$graphify-root$_led_driver_src_peers_find", "callee": "items", "is_member_call": true, "source_file": "led-driver/src/peers.py", "source_location": "L75", "receiver": "_peers", "_python_receiver_shadowed": true, "_python_call_site": [2241, 2255]}, {"caller_nid": "$graphify-root$_led_driver_src_peers_send_cmd", "callee": "dict", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "led-driver/src/peers.py", "source_location": "L83"}, {"caller_nid": "$graphify-root$_led_driver_src_peers_send_cmd", "callee": "encode", "is_member_call": true, "source_file": "led-driver/src/peers.py", "source_location": "L90", "receiver": null, "_python_receiver_shadowed": true, "_python_call_site": [2722, 2754]}, {"caller_nid": "$graphify-root$_led_driver_src_peers_send_cmd", "callee": "dumps", "is_member_call": true, "source_file": "led-driver/src/peers.py", "source_location": "L90", "receiver": "json", "_python_receiver_shadowed": true, "_python_call_site": [2722, 2738]}, {"caller_nid": "$graphify-root$_led_driver_src_peers_send_cmd", "callee": "_send", "is_member_call": false, "source_file": "led-driver/src/peers.py", "source_location": "L93", "receiver": null, "_python_call_site": [2836, 2853]}, {"caller_nid": "$graphify-root$_led_driver_src_peers_ping_frame", "callee": "pack_ping_req", "is_member_call": false, "source_file": "led-driver/src/peers.py", "source_location": "L101", "receiver": null, "_python_call_site": [3044, 3066]}]}