1 line
9.0 KiB
JSON
1 line
9.0 KiB
JSON
{"nodes": [{"id": "$graphify-root$_scripts_red_blue_loop", "label": "red-blue-loop", "file_type": "code", "source_file": "scripts/red-blue-loop", "source_location": "L1"}, {"id": "$graphify-root$_scripts_red_blue_loop_checks", "label": "checks()", "file_type": "code", "source_file": "scripts/red-blue-loop", "source_location": "L17", "_callable": true}, {"id": "$graphify-root$_scripts_red_blue_loop_plan", "label": "plan()", "file_type": "code", "source_file": "scripts/red-blue-loop", "source_location": "L22", "_callable": true}, {"id": "$graphify-root$_scripts_red_blue_loop_run", "label": "run()", "file_type": "code", "source_file": "scripts/red-blue-loop", "source_location": "L33", "_callable": true}, {"id": "$graphify-root$_scripts_red_blue_loop_ledger", "label": "ledger()", "file_type": "code", "source_file": "scripts/red-blue-loop", "source_location": "L60", "_callable": true}, {"id": "$graphify-root$_scripts_red_blue_loop_main", "label": "main()", "file_type": "code", "source_file": "scripts/red-blue-loop", "source_location": "L65", "_callable": true}, {"id": "$graphify-root$_scripts_red_blue_loop_rationale_2", "label": "Run or plan the homelab red-team/blue-team loop.", "file_type": "rationale", "source_file": "scripts/red-blue-loop", "source_location": "L2"}], "edges": [{"source": "$graphify-root$_scripts_red_blue_loop", "target": "argparse", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "scripts/red-blue-loop", "source_location": "L6", "weight": 1.0}, {"source": "$graphify-root$_scripts_red_blue_loop", "target": "csv", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "scripts/red-blue-loop", "source_location": "L7", "weight": 1.0}, {"source": "$graphify-root$_scripts_red_blue_loop", "target": "subprocess", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "scripts/red-blue-loop", "source_location": "L8", "weight": 1.0}, {"source": "$graphify-root$_scripts_red_blue_loop", "target": "pathlib", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "scripts/red-blue-loop", "source_location": "L9", "weight": 1.0}, {"source": "$graphify-root$_scripts_red_blue_loop", "target": "$graphify-root$_scripts_red_blue_loop_checks", "relation": "contains", "confidence": "EXTRACTED", "source_file": "scripts/red-blue-loop", "source_location": "L17", "weight": 1.0}, {"source": "$graphify-root$_scripts_red_blue_loop", "target": "$graphify-root$_scripts_red_blue_loop_plan", "relation": "contains", "confidence": "EXTRACTED", "source_file": "scripts/red-blue-loop", "source_location": "L22", "weight": 1.0}, {"source": "$graphify-root$_scripts_red_blue_loop", "target": "$graphify-root$_scripts_red_blue_loop_run", "relation": "contains", "confidence": "EXTRACTED", "source_file": "scripts/red-blue-loop", "source_location": "L33", "weight": 1.0}, {"source": "$graphify-root$_scripts_red_blue_loop", "target": "$graphify-root$_scripts_red_blue_loop_ledger", "relation": "contains", "confidence": "EXTRACTED", "source_file": "scripts/red-blue-loop", "source_location": "L60", "weight": 1.0}, {"source": "$graphify-root$_scripts_red_blue_loop", "target": "$graphify-root$_scripts_red_blue_loop_main", "relation": "contains", "confidence": "EXTRACTED", "source_file": "scripts/red-blue-loop", "source_location": "L65", "weight": 1.0}, {"source": "$graphify-root$_scripts_red_blue_loop_plan", "target": "$graphify-root$_scripts_red_blue_loop_checks", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "scripts/red-blue-loop", "source_location": "L25", "weight": 1.0}, {"source": "$graphify-root$_scripts_red_blue_loop_run", "target": "$graphify-root$_scripts_red_blue_loop_checks", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "scripts/red-blue-loop", "source_location": "L35", "weight": 1.0}, {"source": "$graphify-root$_scripts_red_blue_loop_main", "target": "$graphify-root$_scripts_red_blue_loop_plan", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "scripts/red-blue-loop", "source_location": "L74", "weight": 1.0}, {"source": "$graphify-root$_scripts_red_blue_loop_main", "target": "$graphify-root$_scripts_red_blue_loop_run", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "scripts/red-blue-loop", "source_location": "L76", "weight": 1.0}, {"source": "$graphify-root$_scripts_red_blue_loop_main", "target": "$graphify-root$_scripts_red_blue_loop_ledger", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "scripts/red-blue-loop", "source_location": "L78", "weight": 1.0}, {"source": "$graphify-root$_scripts_red_blue_loop_rationale_2", "target": "$graphify-root$_scripts_red_blue_loop", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "scripts/red-blue-loop", "source_location": "L2", "weight": 1.0}], "raw_calls": [{"caller_nid": "$graphify-root$_scripts_red_blue_loop_checks", "callee": "open", "is_member_call": true, "source_file": "scripts/red-blue-loop", "source_location": "L18", "receiver": "CHECKS_FILE"}, {"caller_nid": "$graphify-root$_scripts_red_blue_loop_checks", "callee": "DictReader", "is_member_call": true, "source_file": "scripts/red-blue-loop", "source_location": "L19", "receiver": "csv"}, {"caller_nid": "$graphify-root$_scripts_red_blue_loop_checks", "callee": "handle", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "scripts/red-blue-loop", "source_location": "L19"}, {"caller_nid": "$graphify-root$_scripts_red_blue_loop_plan", "callee": "relative_to", "is_member_call": true, "source_file": "scripts/red-blue-loop", "source_location": "L29", "receiver": "LEDGER_FILE"}, {"caller_nid": "$graphify-root$_scripts_red_blue_loop_plan", "callee": "REPO_ROOT", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "scripts/red-blue-loop", "source_location": "L29"}, {"caller_nid": "$graphify-root$_scripts_red_blue_loop_run", "callee": "run", "is_member_call": true, "source_file": "scripts/red-blue-loop", "source_location": "L43", "receiver": "subprocess"}, {"caller_nid": "$graphify-root$_scripts_red_blue_loop_run", "callee": "REPO_ROOT", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "scripts/red-blue-loop", "source_location": "L45"}, {"caller_nid": "$graphify-root$_scripts_red_blue_loop_run", "callee": "split", "is_member_call": true, "source_file": "scripts/red-blue-loop", "source_location": "L44", "receiver": null}, {"caller_nid": "$graphify-root$_scripts_red_blue_loop_run", "callee": "rstrip", "is_member_call": true, "source_file": "scripts/red-blue-loop", "source_location": "L51", "receiver": null}, {"caller_nid": "$graphify-root$_scripts_red_blue_loop_run", "callee": "relative_to", "is_member_call": true, "source_file": "scripts/red-blue-loop", "source_location": "L56", "receiver": "LEDGER_FILE"}, {"caller_nid": "$graphify-root$_scripts_red_blue_loop_run", "callee": "REPO_ROOT", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "scripts/red-blue-loop", "source_location": "L56"}, {"caller_nid": "$graphify-root$_scripts_red_blue_loop_ledger", "callee": "rstrip", "is_member_call": true, "source_file": "scripts/red-blue-loop", "source_location": "L61", "receiver": null}, {"caller_nid": "$graphify-root$_scripts_red_blue_loop_ledger", "callee": "read_text", "is_member_call": true, "source_file": "scripts/red-blue-loop", "source_location": "L61", "receiver": "LEDGER_FILE"}, {"caller_nid": "$graphify-root$_scripts_red_blue_loop_main", "callee": "ArgumentParser", "is_member_call": true, "source_file": "scripts/red-blue-loop", "source_location": "L66", "receiver": "argparse"}, {"caller_nid": "$graphify-root$_scripts_red_blue_loop_main", "callee": "__doc__", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "scripts/red-blue-loop", "source_location": "L66"}, {"caller_nid": "$graphify-root$_scripts_red_blue_loop_main", "callee": "add_subparsers", "is_member_call": true, "source_file": "scripts/red-blue-loop", "source_location": "L67", "receiver": "parser"}, {"caller_nid": "$graphify-root$_scripts_red_blue_loop_main", "callee": "add_parser", "is_member_call": true, "source_file": "scripts/red-blue-loop", "source_location": "L68", "receiver": "subparsers"}, {"caller_nid": "$graphify-root$_scripts_red_blue_loop_main", "callee": "add_parser", "is_member_call": true, "source_file": "scripts/red-blue-loop", "source_location": "L69", "receiver": "subparsers"}, {"caller_nid": "$graphify-root$_scripts_red_blue_loop_main", "callee": "add_argument", "is_member_call": true, "source_file": "scripts/red-blue-loop", "source_location": "L70", "receiver": "run_parser"}, {"caller_nid": "$graphify-root$_scripts_red_blue_loop_main", "callee": "add_parser", "is_member_call": true, "source_file": "scripts/red-blue-loop", "source_location": "L71", "receiver": "subparsers"}, {"caller_nid": "$graphify-root$_scripts_red_blue_loop_main", "callee": "parse_args", "is_member_call": true, "source_file": "scripts/red-blue-loop", "source_location": "L72", "receiver": "parser"}]} |