4d52da98d0d7c8e1c828b60f65464e2045f05ef981fc9ce9ac8eca0c6db46c92.json 20 KB

1
  1. {"nodes": [{"id": "users_zlwu_work_00code_shanxia2_0_backend_app_api_db_dashboard_py", "label": "dashboard.py", "file_type": "code", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/db/dashboard.py", "source_location": "L1"}, {"id": "db_dashboard_get_dashboard_stats", "label": "get_dashboard_stats()", "file_type": "code", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/db/dashboard.py", "source_location": "L23"}, {"id": "session", "label": "Session", "file_type": "code", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/db/dashboard.py", "source_location": "L23"}, {"id": "dbusercontext", "label": "DbUserContext", "file_type": "code", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/db/dashboard.py", "source_location": "L23"}, {"id": "dashboardstats", "label": "DashboardStats", "file_type": "code", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/db/dashboard.py", "source_location": "L23"}, {"id": "db_dashboard_get_inbound_by_cargo", "label": "get_inbound_by_cargo()", "file_type": "code", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/db/dashboard.py", "source_location": "L73"}, {"id": "dashboardcargostat", "label": "DashboardCargoStat", "file_type": "code", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/db/dashboard.py", "source_location": "L73"}, {"id": "db_dashboard_get_inbound_by_partner_cargo", "label": "get_inbound_by_partner_cargo()", "file_type": "code", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/db/dashboard.py", "source_location": "L81"}, {"id": "dashboardpartnercargostat", "label": "DashboardPartnerCargoStat", "file_type": "code", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/db/dashboard.py", "source_location": "L81"}, {"id": "db_dashboard_get_outbound_by_cargo", "label": "get_outbound_by_cargo()", "file_type": "code", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/db/dashboard.py", "source_location": "L89"}, {"id": "db_dashboard_get_outbound_by_partner_cargo", "label": "get_outbound_by_partner_cargo()", "file_type": "code", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/db/dashboard.py", "source_location": "L97"}, {"id": "db_dashboard_cargo_stats", "label": "_cargo_stats()", "file_type": "code", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/db/dashboard.py", "source_location": "L104"}, {"id": "str", "label": "str", "file_type": "code", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/db/dashboard.py", "source_location": "L104"}, {"id": "db_dashboard_partner_cargo_stats", "label": "_partner_cargo_stats()", "file_type": "code", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/db/dashboard.py", "source_location": "L137"}], "edges": [{"source": "users_zlwu_work_00code_shanxia2_0_backend_app_api_db_dashboard_py", "target": "datetime", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/db/dashboard.py", "source_location": "L3", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_backend_app_api_db_dashboard_py", "target": "fastapi", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/db/dashboard.py", "source_location": "L5", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_backend_app_api_db_dashboard_py", "target": "sqlalchemy", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/db/dashboard.py", "source_location": "L6", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_backend_app_api_db_dashboard_py", "target": "sqlalchemy_orm", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/db/dashboard.py", "source_location": "L7", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_backend_app_api_db_dashboard_py", "target": "app_core_database", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/db/dashboard.py", "source_location": "L9", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_backend_app_api_db_dashboard_py", "target": "app_core_db_auth", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/db/dashboard.py", "source_location": "L10", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_backend_app_api_db_dashboard_py", "target": "app_core_tenant_context", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/db/dashboard.py", "source_location": "L11", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_backend_app_api_db_dashboard_py", "target": "app_models_db_models", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/db/dashboard.py", "source_location": "L12", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_backend_app_api_db_dashboard_py", "target": "app_schemas_db_dashboard", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/db/dashboard.py", "source_location": "L13", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_backend_app_api_db_dashboard_py", "target": "db_dashboard_get_dashboard_stats", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/db/dashboard.py", "source_location": "L23", "weight": 1.0}, {"source": "db_dashboard_get_dashboard_stats", "target": "session", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/db/dashboard.py", "source_location": "L23", "weight": 1.0}, {"source": "db_dashboard_get_dashboard_stats", "target": "dbusercontext", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/db/dashboard.py", "source_location": "L23", "weight": 1.0}, {"source": "db_dashboard_get_dashboard_stats", "target": "dashboardstats", "relation": "references", "context": "return_type", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/db/dashboard.py", "source_location": "L23", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_backend_app_api_db_dashboard_py", "target": "db_dashboard_get_inbound_by_cargo", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/db/dashboard.py", "source_location": "L73", "weight": 1.0}, {"source": "db_dashboard_get_inbound_by_cargo", "target": "session", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/db/dashboard.py", "source_location": "L73", "weight": 1.0}, {"source": "db_dashboard_get_inbound_by_cargo", "target": "dbusercontext", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/db/dashboard.py", "source_location": "L73", "weight": 1.0}, {"source": "db_dashboard_get_inbound_by_cargo", "target": "dashboardcargostat", "relation": "references", "context": "generic_arg", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/db/dashboard.py", "source_location": "L73", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_backend_app_api_db_dashboard_py", "target": "db_dashboard_get_inbound_by_partner_cargo", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/db/dashboard.py", "source_location": "L81", "weight": 1.0}, {"source": "db_dashboard_get_inbound_by_partner_cargo", "target": "session", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/db/dashboard.py", "source_location": "L81", "weight": 1.0}, {"source": "db_dashboard_get_inbound_by_partner_cargo", "target": "dbusercontext", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/db/dashboard.py", "source_location": "L81", "weight": 1.0}, {"source": "db_dashboard_get_inbound_by_partner_cargo", "target": "dashboardpartnercargostat", "relation": "references", "context": "generic_arg", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/db/dashboard.py", "source_location": "L81", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_backend_app_api_db_dashboard_py", "target": "db_dashboard_get_outbound_by_cargo", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/db/dashboard.py", "source_location": "L89", "weight": 1.0}, {"source": "db_dashboard_get_outbound_by_cargo", "target": "session", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/db/dashboard.py", "source_location": "L89", "weight": 1.0}, {"source": "db_dashboard_get_outbound_by_cargo", "target": "dbusercontext", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/db/dashboard.py", "source_location": "L89", "weight": 1.0}, {"source": "db_dashboard_get_outbound_by_cargo", "target": "dashboardcargostat", "relation": "references", "context": "generic_arg", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/db/dashboard.py", "source_location": "L89", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_backend_app_api_db_dashboard_py", "target": "db_dashboard_get_outbound_by_partner_cargo", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/db/dashboard.py", "source_location": "L97", "weight": 1.0}, {"source": "db_dashboard_get_outbound_by_partner_cargo", "target": "session", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/db/dashboard.py", "source_location": "L97", "weight": 1.0}, {"source": "db_dashboard_get_outbound_by_partner_cargo", "target": "dbusercontext", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/db/dashboard.py", "source_location": "L97", "weight": 1.0}, {"source": "db_dashboard_get_outbound_by_partner_cargo", "target": "dashboardpartnercargostat", "relation": "references", "context": "generic_arg", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/db/dashboard.py", "source_location": "L97", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_backend_app_api_db_dashboard_py", "target": "db_dashboard_cargo_stats", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/db/dashboard.py", "source_location": "L104", "weight": 1.0}, {"source": "db_dashboard_cargo_stats", "target": "session", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/db/dashboard.py", "source_location": "L104", "weight": 1.0}, {"source": "db_dashboard_cargo_stats", "target": "dbusercontext", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/db/dashboard.py", "source_location": "L104", "weight": 1.0}, {"source": "db_dashboard_cargo_stats", "target": "str", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/db/dashboard.py", "source_location": "L104", "weight": 1.0}, {"source": "db_dashboard_cargo_stats", "target": "dashboardcargostat", "relation": "references", "context": "generic_arg", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/db/dashboard.py", "source_location": "L104", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_backend_app_api_db_dashboard_py", "target": "db_dashboard_partner_cargo_stats", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/db/dashboard.py", "source_location": "L137", "weight": 1.0}, {"source": "db_dashboard_partner_cargo_stats", "target": "session", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/db/dashboard.py", "source_location": "L137", "weight": 1.0}, {"source": "db_dashboard_partner_cargo_stats", "target": "dbusercontext", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/db/dashboard.py", "source_location": "L137", "weight": 1.0}, {"source": "db_dashboard_partner_cargo_stats", "target": "str", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/db/dashboard.py", "source_location": "L137", "weight": 1.0}, {"source": "db_dashboard_partner_cargo_stats", "target": "dashboardpartnercargostat", "relation": "references", "context": "generic_arg", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/db/dashboard.py", "source_location": "L137", "weight": 1.0}, {"source": "db_dashboard_get_dashboard_stats", "target": "dashboardstats", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/db/dashboard.py", "source_location": "L65", "weight": 1.0}, {"source": "db_dashboard_get_inbound_by_cargo", "target": "db_dashboard_cargo_stats", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/db/dashboard.py", "source_location": "L77", "weight": 1.0}, {"source": "db_dashboard_get_inbound_by_partner_cargo", "target": "db_dashboard_partner_cargo_stats", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/db/dashboard.py", "source_location": "L85", "weight": 1.0}, {"source": "db_dashboard_get_outbound_by_cargo", "target": "db_dashboard_cargo_stats", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/db/dashboard.py", "source_location": "L93", "weight": 1.0}, {"source": "db_dashboard_get_outbound_by_partner_cargo", "target": "db_dashboard_partner_cargo_stats", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/db/dashboard.py", "source_location": "L101", "weight": 1.0}, {"source": "db_dashboard_cargo_stats", "target": "dashboardcargostat", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/db/dashboard.py", "source_location": "L132", "weight": 1.0}, {"source": "db_dashboard_partner_cargo_stats", "target": "dashboardpartnercargostat", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/db/dashboard.py", "source_location": "L174", "weight": 1.0}], "raw_calls": [{"caller_nid": "db_dashboard_get_dashboard_stats", "callee": "get_tenant_no", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/db/dashboard.py", "source_location": "L27"}, {"caller_nid": "db_dashboard_get_dashboard_stats", "callee": "to_tenant_user_dict", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/db/dashboard.py", "source_location": "L27"}, {"caller_nid": "db_dashboard_get_dashboard_stats", "callee": "today", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/db/dashboard.py", "source_location": "L28"}, {"caller_nid": "db_dashboard_get_dashboard_stats", "callee": "scalar", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/db/dashboard.py", "source_location": "L31"}, {"caller_nid": "db_dashboard_get_dashboard_stats", "callee": "query", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/db/dashboard.py", "source_location": "L31"}, {"caller_nid": "db_dashboard_get_dashboard_stats", "callee": "coalesce", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/db/dashboard.py", "source_location": "L31"}, {"caller_nid": "db_dashboard_get_dashboard_stats", "callee": "scalar", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/db/dashboard.py", "source_location": "L43"}, {"caller_nid": "db_dashboard_get_dashboard_stats", "callee": "query", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/db/dashboard.py", "source_location": "L43"}, {"caller_nid": "db_dashboard_get_dashboard_stats", "callee": "coalesce", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/db/dashboard.py", "source_location": "L43"}, {"caller_nid": "db_dashboard_get_dashboard_stats", "callee": "scalar", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/db/dashboard.py", "source_location": "L55"}, {"caller_nid": "db_dashboard_get_dashboard_stats", "callee": "query", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/db/dashboard.py", "source_location": "L55"}, {"caller_nid": "db_dashboard_get_dashboard_stats", "callee": "count", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/db/dashboard.py", "source_location": "L55"}, {"caller_nid": "db_dashboard_cargo_stats", "callee": "get_tenant_no", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/db/dashboard.py", "source_location": "L105"}, {"caller_nid": "db_dashboard_cargo_stats", "callee": "to_tenant_user_dict", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/db/dashboard.py", "source_location": "L105"}, {"caller_nid": "db_dashboard_cargo_stats", "callee": "today", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/db/dashboard.py", "source_location": "L106"}, {"caller_nid": "db_dashboard_cargo_stats", "callee": "text", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/db/dashboard.py", "source_location": "L107"}, {"caller_nid": "db_dashboard_cargo_stats", "callee": "execute", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/db/dashboard.py", "source_location": "L127"}, {"caller_nid": "db_dashboard_partner_cargo_stats", "callee": "get_tenant_no", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/db/dashboard.py", "source_location": "L143"}, {"caller_nid": "db_dashboard_partner_cargo_stats", "callee": "to_tenant_user_dict", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/db/dashboard.py", "source_location": "L143"}, {"caller_nid": "db_dashboard_partner_cargo_stats", "callee": "today", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/db/dashboard.py", "source_location": "L144"}, {"caller_nid": "db_dashboard_partner_cargo_stats", "callee": "text", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/db/dashboard.py", "source_location": "L145"}, {"caller_nid": "db_dashboard_partner_cargo_stats", "callee": "execute", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/db/dashboard.py", "source_location": "L169"}]}