{"nodes": [{"id": "$graphify-root$_led_driver_src_patterns_flicker_py", "label": "flicker.py", "file_type": "code", "source_file": "led-driver/src/patterns/flicker.py", "source_location": "L1"}, {"id": "$graphify-root$_led_driver_src_patterns_flicker_flicker", "label": "Flicker", "file_type": "code", "source_file": "led-driver/src/patterns/flicker.py", "source_location": "L5", "_callable": true, "_callable_class": true}, {"id": "$graphify-root$_led_driver_src_patterns_flicker_flicker_init", "label": ".__init__()", "file_type": "code", "source_file": "led-driver/src/patterns/flicker.py", "source_location": "L6", "_callable": true}, {"id": "$graphify-root$_led_driver_src_patterns_flicker_flicker_run", "label": ".run()", "file_type": "code", "source_file": "led-driver/src/patterns/flicker.py", "source_location": "L9", "_callable": true}, {"id": "$graphify-root$_led_driver_src_patterns_flicker_flicker_run_brightness_bounds", "label": "brightness_bounds()", "file_type": "code", "source_file": "led-driver/src/patterns/flicker.py", "source_location": "L15", "_callable": true}, {"id": "$graphify-root$_led_driver_src_patterns_flicker_rationale_10", "label": "Random brightness between n1 (min) and b (max); delay d ms between updates.", "file_type": "rationale", "source_file": "led-driver/src/patterns/flicker.py", "source_location": "L10"}], "edges": [{"source": "$graphify-root$_led_driver_src_patterns_flicker_py", "target": "random", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "led-driver/src/patterns/flicker.py", "source_location": "L1", "weight": 1.0, "_python_import_module": "random", "_python_import_bindings": [["random", "random"]], "_python_import_module_binding": true}, {"source": "$graphify-root$_led_driver_src_patterns_flicker_py", "target": "utime", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "led-driver/src/patterns/flicker.py", "source_location": "L2", "weight": 1.0, "_python_import_module": "utime", "_python_import_bindings": [["utime", "utime"]], "_python_import_module_binding": true}, {"source": "$graphify-root$_led_driver_src_patterns_flicker_py", "target": "$graphify-root$_led_driver_src_patterns_flicker_flicker", "relation": "contains", "confidence": "EXTRACTED", "source_file": "led-driver/src/patterns/flicker.py", "source_location": "L5", "weight": 1.0}, {"source": "$graphify-root$_led_driver_src_patterns_flicker_flicker", "target": "$graphify-root$_led_driver_src_patterns_flicker_flicker_init", "relation": "method", "confidence": "EXTRACTED", "source_file": "led-driver/src/patterns/flicker.py", "source_location": "L6", "weight": 1.0}, {"source": "$graphify-root$_led_driver_src_patterns_flicker_flicker", "target": "$graphify-root$_led_driver_src_patterns_flicker_flicker_run", "relation": "method", "confidence": "EXTRACTED", "source_file": "led-driver/src/patterns/flicker.py", "source_location": "L9", "weight": 1.0}, {"source": "$graphify-root$_led_driver_src_patterns_flicker_flicker_run", "target": "$graphify-root$_led_driver_src_patterns_flicker_flicker_run_brightness_bounds", "relation": "contains", "confidence": "EXTRACTED", "source_file": "led-driver/src/patterns/flicker.py", "source_location": "L15", "weight": 1.0}, {"source": "$graphify-root$_led_driver_src_patterns_flicker_flicker_run", "target": "$graphify-root$_led_driver_src_patterns_flicker_flicker_run_brightness_bounds", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "led-driver/src/patterns/flicker.py", "source_location": "L23", "weight": 1.0}, {"source": "$graphify-root$_led_driver_src_patterns_flicker_rationale_10", "target": "$graphify-root$_led_driver_src_patterns_flicker_flicker_run", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "led-driver/src/patterns/flicker.py", "source_location": "L10", "weight": 1.0}], "raw_calls": [{"caller_nid": "$graphify-root$_led_driver_src_patterns_flicker_flicker_run", "callee": "ticks_ms", "is_member_call": true, "source_file": "led-driver/src/patterns/flicker.py", "source_location": "L13", "receiver": "utime", "_python_receiver_shadowed": false, "_python_call_site": [330, 346]}, {"caller_nid": "$graphify-root$_led_driver_src_patterns_flicker_flicker_run", "callee": "randint", "is_member_call": true, "source_file": "led-driver/src/patterns/flicker.py", "source_location": "L24", "receiver": "random", "_python_receiver_shadowed": false, "_python_call_site": [649, 671]}, {"caller_nid": "$graphify-root$_led_driver_src_patterns_flicker_flicker_run", "callee": "fill", "is_member_call": true, "source_file": "led-driver/src/patterns/flicker.py", "source_location": "L26", "receiver": null, "_python_receiver_shadowed": true, "_python_call_site": [737, 796]}, {"caller_nid": "$graphify-root$_led_driver_src_patterns_flicker_flicker_run", "callee": "apply_brightness", "is_member_call": true, "source_file": "led-driver/src/patterns/flicker.py", "source_location": "L26", "receiver": null, "_python_receiver_shadowed": true, "_python_call_site": [754, 795]}, {"caller_nid": "$graphify-root$_led_driver_src_patterns_flicker_flicker_run", "callee": "ticks_ms", "is_member_call": true, "source_file": "led-driver/src/patterns/flicker.py", "source_location": "L31", "receiver": "utime", "_python_receiver_shadowed": false, "_python_call_site": [882, 898]}, {"caller_nid": "$graphify-root$_led_driver_src_patterns_flicker_flicker_run", "callee": "ticks_diff", "is_member_call": true, "source_file": "led-driver/src/patterns/flicker.py", "source_location": "L34", "receiver": "utime", "_python_receiver_shadowed": false, "_python_call_site": [1000, 1043]}, {"caller_nid": "$graphify-root$_led_driver_src_patterns_flicker_flicker_run", "callee": "randint", "is_member_call": true, "source_file": "led-driver/src/patterns/flicker.py", "source_location": "L35", "receiver": "random", "_python_receiver_shadowed": false, "_python_call_site": [1081, 1103]}, {"caller_nid": "$graphify-root$_led_driver_src_patterns_flicker_flicker_run", "callee": "fill", "is_member_call": true, "source_file": "led-driver/src/patterns/flicker.py", "source_location": "L37", "receiver": null, "_python_receiver_shadowed": true, "_python_call_site": [1177, 1236]}, {"caller_nid": "$graphify-root$_led_driver_src_patterns_flicker_flicker_run", "callee": "apply_brightness", "is_member_call": true, "source_file": "led-driver/src/patterns/flicker.py", "source_location": "L37", "receiver": null, "_python_receiver_shadowed": true, "_python_call_site": [1194, 1235]}, {"caller_nid": "$graphify-root$_led_driver_src_patterns_flicker_flicker_run", "callee": "ticks_add", "is_member_call": true, "source_file": "led-driver/src/patterns/flicker.py", "source_location": "L39", "receiver": "utime", "_python_receiver_shadowed": false, "_python_call_site": [1300, 1338]}]}