Files
syslog-harness/graphify-out/cache/ast/v0.9.10/654e97aa6df1872b0717f32f676c067d15b9795a0dc04a86936730a7e133c214.json
T

1 line
12 KiB
JSON

{"nodes": [{"id": "root_syslog_harness_repo_dashboard_dashboard_py", "label": "dashboard.py", "file_type": "code", "source_file": "dashboard/dashboard.py", "source_location": "L1"}, {"id": "root_syslog_harness_repo_dashboard_dashboard_fetch_state", "label": "fetch_state()", "file_type": "code", "source_file": "dashboard/dashboard.py", "source_location": "L10", "_callable": true}, {"id": "root_syslog_harness_repo_dashboard_dashboard_broadcast_loop", "label": "broadcast_loop()", "file_type": "code", "source_file": "dashboard/dashboard.py", "source_location": "L17", "_callable": true}, {"id": "root_syslog_harness_repo_dashboard_dashboard_dashboard", "label": "dashboard()", "file_type": "code", "source_file": "dashboard/dashboard.py", "source_location": "L308", "_callable": true}, {"id": "root_syslog_harness_repo_dashboard_dashboard_api_state", "label": "api_state()", "file_type": "code", "source_file": "dashboard/dashboard.py", "source_location": "L311", "_callable": true}, {"id": "root_syslog_harness_repo_dashboard_dashboard_api_scatter", "label": "api_scatter()", "file_type": "code", "source_file": "dashboard/dashboard.py", "source_location": "L314", "_callable": true}, {"id": "root_syslog_harness_repo_dashboard_dashboard_api_performance", "label": "api_performance()", "file_type": "code", "source_file": "dashboard/dashboard.py", "source_location": "L324", "_callable": true}, {"id": "root_syslog_harness_repo_dashboard_dashboard_api_timeseries", "label": "api_timeseries()", "file_type": "code", "source_file": "dashboard/dashboard.py", "source_location": "L334", "_callable": true}, {"id": "root_syslog_harness_repo_dashboard_dashboard_api_stream", "label": "api_stream()", "file_type": "code", "source_file": "dashboard/dashboard.py", "source_location": "L343", "_callable": true}, {"id": "root_syslog_harness_repo_dashboard_dashboard_health", "label": "health()", "file_type": "code", "source_file": "dashboard/dashboard.py", "source_location": "L359", "_callable": true}, {"id": "root_syslog_harness_repo_dashboard_dashboard_rationale_1", "label": "SyslogAI Harness Dashboard \u2014 Modern Design.", "file_type": "rationale", "source_file": "dashboard/dashboard.py", "source_location": "L1"}], "edges": [{"source": "root_syslog_harness_repo_dashboard_dashboard_py", "target": "os", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "dashboard/dashboard.py", "source_location": "L2", "weight": 1.0}, {"source": "root_syslog_harness_repo_dashboard_dashboard_py", "target": "json", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "dashboard/dashboard.py", "source_location": "L2", "weight": 1.0}, {"source": "root_syslog_harness_repo_dashboard_dashboard_py", "target": "time", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "dashboard/dashboard.py", "source_location": "L2", "weight": 1.0}, {"source": "root_syslog_harness_repo_dashboard_dashboard_py", "target": "queue", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "dashboard/dashboard.py", "source_location": "L2", "weight": 1.0}, {"source": "root_syslog_harness_repo_dashboard_dashboard_py", "target": "threading", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "dashboard/dashboard.py", "source_location": "L2", "weight": 1.0}, {"source": "root_syslog_harness_repo_dashboard_dashboard_py", "target": "requests", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "dashboard/dashboard.py", "source_location": "L3", "weight": 1.0}, {"source": "root_syslog_harness_repo_dashboard_dashboard_py", "target": "flask", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "dashboard/dashboard.py", "source_location": "L4", "weight": 1.0}, {"source": "root_syslog_harness_repo_dashboard_dashboard_py", "target": "root_syslog_harness_repo_dashboard_dashboard_fetch_state", "relation": "contains", "confidence": "EXTRACTED", "source_file": "dashboard/dashboard.py", "source_location": "L10", "weight": 1.0}, {"source": "root_syslog_harness_repo_dashboard_dashboard_py", "target": "root_syslog_harness_repo_dashboard_dashboard_broadcast_loop", "relation": "contains", "confidence": "EXTRACTED", "source_file": "dashboard/dashboard.py", "source_location": "L17", "weight": 1.0}, {"source": "root_syslog_harness_repo_dashboard_dashboard_py", "target": "root_syslog_harness_repo_dashboard_dashboard_dashboard", "relation": "contains", "confidence": "EXTRACTED", "source_file": "dashboard/dashboard.py", "source_location": "L308", "weight": 1.0}, {"source": "root_syslog_harness_repo_dashboard_dashboard_py", "target": "root_syslog_harness_repo_dashboard_dashboard_api_state", "relation": "contains", "confidence": "EXTRACTED", "source_file": "dashboard/dashboard.py", "source_location": "L311", "weight": 1.0}, {"source": "root_syslog_harness_repo_dashboard_dashboard_py", "target": "root_syslog_harness_repo_dashboard_dashboard_api_scatter", "relation": "contains", "confidence": "EXTRACTED", "source_file": "dashboard/dashboard.py", "source_location": "L314", "weight": 1.0}, {"source": "root_syslog_harness_repo_dashboard_dashboard_py", "target": "root_syslog_harness_repo_dashboard_dashboard_api_performance", "relation": "contains", "confidence": "EXTRACTED", "source_file": "dashboard/dashboard.py", "source_location": "L324", "weight": 1.0}, {"source": "root_syslog_harness_repo_dashboard_dashboard_py", "target": "root_syslog_harness_repo_dashboard_dashboard_api_timeseries", "relation": "contains", "confidence": "EXTRACTED", "source_file": "dashboard/dashboard.py", "source_location": "L334", "weight": 1.0}, {"source": "root_syslog_harness_repo_dashboard_dashboard_py", "target": "root_syslog_harness_repo_dashboard_dashboard_api_stream", "relation": "contains", "confidence": "EXTRACTED", "source_file": "dashboard/dashboard.py", "source_location": "L343", "weight": 1.0}, {"source": "root_syslog_harness_repo_dashboard_dashboard_py", "target": "root_syslog_harness_repo_dashboard_dashboard_health", "relation": "contains", "confidence": "EXTRACTED", "source_file": "dashboard/dashboard.py", "source_location": "L359", "weight": 1.0}, {"source": "root_syslog_harness_repo_dashboard_dashboard_broadcast_loop", "target": "root_syslog_harness_repo_dashboard_dashboard_fetch_state", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "dashboard/dashboard.py", "source_location": "L20", "weight": 1.0}, {"source": "root_syslog_harness_repo_dashboard_dashboard_api_state", "target": "root_syslog_harness_repo_dashboard_dashboard_fetch_state", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "dashboard/dashboard.py", "source_location": "L311", "weight": 1.0}, {"source": "root_syslog_harness_repo_dashboard_dashboard_rationale_1", "target": "root_syslog_harness_repo_dashboard_dashboard_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "dashboard/dashboard.py", "source_location": "L1", "weight": 1.0}], "raw_calls": [{"caller_nid": "root_syslog_harness_repo_dashboard_dashboard_fetch_state", "callee": "get", "is_member_call": true, "source_file": "/root/syslog-harness-repo/dashboard/dashboard.py", "source_location": "L12", "receiver": "requests"}, {"caller_nid": "root_syslog_harness_repo_dashboard_dashboard_fetch_state", "callee": "ROUTER_METRICS", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "/root/syslog-harness-repo/dashboard/dashboard.py", "source_location": "L12"}, {"caller_nid": "root_syslog_harness_repo_dashboard_dashboard_fetch_state", "callee": "json", "is_member_call": true, "source_file": "/root/syslog-harness-repo/dashboard/dashboard.py", "source_location": "L13", "receiver": "r"}, {"caller_nid": "root_syslog_harness_repo_dashboard_dashboard_fetch_state", "callee": "time", "is_member_call": true, "source_file": "/root/syslog-harness-repo/dashboard/dashboard.py", "source_location": "L15", "receiver": "time"}, {"caller_nid": "root_syslog_harness_repo_dashboard_dashboard_broadcast_loop", "callee": "sleep", "is_member_call": true, "source_file": "/root/syslog-harness-repo/dashboard/dashboard.py", "source_location": "L19", "receiver": "time"}, {"caller_nid": "root_syslog_harness_repo_dashboard_dashboard_broadcast_loop", "callee": "dumps", "is_member_call": true, "source_file": "/root/syslog-harness-repo/dashboard/dashboard.py", "source_location": "L20", "receiver": "json"}, {"caller_nid": "root_syslog_harness_repo_dashboard_dashboard_broadcast_loop", "callee": "put", "is_member_call": true, "source_file": "/root/syslog-harness-repo/dashboard/dashboard.py", "source_location": "L22", "receiver": "q"}, {"caller_nid": "root_syslog_harness_repo_dashboard_dashboard_broadcast_loop", "callee": "remove", "is_member_call": true, "source_file": "/root/syslog-harness-repo/dashboard/dashboard.py", "source_location": "L23", "receiver": "sse_subscribers"}, {"caller_nid": "root_syslog_harness_repo_dashboard_dashboard_dashboard", "callee": "render_template_string", "is_member_call": false, "source_file": "/root/syslog-harness-repo/dashboard/dashboard.py", "source_location": "L308", "receiver": null}, {"caller_nid": "root_syslog_harness_repo_dashboard_dashboard_dashboard", "callee": "DASHBOARD_HTML", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "/root/syslog-harness-repo/dashboard/dashboard.py", "source_location": "L308"}, {"caller_nid": "root_syslog_harness_repo_dashboard_dashboard_api_scatter", "callee": "get", "is_member_call": true, "source_file": "/root/syslog-harness-repo/dashboard/dashboard.py", "source_location": "L315", "receiver": null}, {"caller_nid": "root_syslog_harness_repo_dashboard_dashboard_api_scatter", "callee": "get", "is_member_call": true, "source_file": "/root/syslog-harness-repo/dashboard/dashboard.py", "source_location": "L316", "receiver": null}, {"caller_nid": "root_syslog_harness_repo_dashboard_dashboard_api_scatter", "callee": "get", "is_member_call": true, "source_file": "/root/syslog-harness-repo/dashboard/dashboard.py", "source_location": "L318", "receiver": "requests"}, {"caller_nid": "root_syslog_harness_repo_dashboard_dashboard_api_scatter", "callee": "json", "is_member_call": true, "source_file": "/root/syslog-harness-repo/dashboard/dashboard.py", "source_location": "L319", "receiver": "r"}, {"caller_nid": "root_syslog_harness_repo_dashboard_dashboard_api_performance", "callee": "get", "is_member_call": true, "source_file": "/root/syslog-harness-repo/dashboard/dashboard.py", "source_location": "L325", "receiver": null}, {"caller_nid": "root_syslog_harness_repo_dashboard_dashboard_api_performance", "callee": "get", "is_member_call": true, "source_file": "/root/syslog-harness-repo/dashboard/dashboard.py", "source_location": "L326", "receiver": null}, {"caller_nid": "root_syslog_harness_repo_dashboard_dashboard_api_performance", "callee": "get", "is_member_call": true, "source_file": "/root/syslog-harness-repo/dashboard/dashboard.py", "source_location": "L328", "receiver": "requests"}, {"caller_nid": "root_syslog_harness_repo_dashboard_dashboard_api_performance", "callee": "json", "is_member_call": true, "source_file": "/root/syslog-harness-repo/dashboard/dashboard.py", "source_location": "L329", "receiver": "r"}, {"caller_nid": "root_syslog_harness_repo_dashboard_dashboard_api_timeseries", "callee": "get", "is_member_call": true, "source_file": "/root/syslog-harness-repo/dashboard/dashboard.py", "source_location": "L335", "receiver": null}, {"caller_nid": "root_syslog_harness_repo_dashboard_dashboard_api_timeseries", "callee": "get", "is_member_call": true, "source_file": "/root/syslog-harness-repo/dashboard/dashboard.py", "source_location": "L337", "receiver": "requests"}, {"caller_nid": "root_syslog_harness_repo_dashboard_dashboard_api_timeseries", "callee": "json", "is_member_call": true, "source_file": "/root/syslog-harness-repo/dashboard/dashboard.py", "source_location": "L338", "receiver": "r"}, {"caller_nid": "root_syslog_harness_repo_dashboard_dashboard_api_stream", "callee": "stream_with_context", "is_member_call": false, "source_file": "/root/syslog-harness-repo/dashboard/dashboard.py", "source_location": "L356", "receiver": null}, {"caller_nid": "root_syslog_harness_repo_dashboard_dashboard_api_stream", "callee": "ev", "is_member_call": false, "source_file": "/root/syslog-harness-repo/dashboard/dashboard.py", "source_location": "L356", "receiver": null}]}