e613698da5a331494c76a822faa5aa0d49acbcf5b18cf3e27ca3d22c5a3aa1fc.json 18 KB

1
  1. {"nodes": [{"id": "users_zlwu_work_00code_shanxia2_0_backend_app_api_bx_workflow_py", "label": "workflow.py", "file_type": "code", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/bx/workflow.py", "source_location": "L1"}, {"id": "bx_workflow_list_workflows", "label": "list_workflows()", "file_type": "code", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/bx/workflow.py", "source_location": "L22"}, {"id": "bx_workflow_get_workflow_by_biz_type", "label": "get_workflow_by_biz_type()", "file_type": "code", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/bx/workflow.py", "source_location": "L36"}, {"id": "bx_workflow_get_workflow", "label": "get_workflow()", "file_type": "code", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/bx/workflow.py", "source_location": "L48"}, {"id": "bx_workflow_create_workflow", "label": "create_workflow()", "file_type": "code", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/bx/workflow.py", "source_location": "L61"}, {"id": "bx_workflow_update_workflow", "label": "update_workflow()", "file_type": "code", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/bx/workflow.py", "source_location": "L77"}, {"id": "bx_workflow_save_workflow_nodes", "label": "save_workflow_nodes()", "file_type": "code", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/bx/workflow.py", "source_location": "L97"}, {"id": "bx_workflow_delete_workflow", "label": "delete_workflow()", "file_type": "code", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/bx/workflow.py", "source_location": "L119"}], "edges": [{"source": "users_zlwu_work_00code_shanxia2_0_backend_app_api_bx_workflow_py", "target": "typing", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/bx/workflow.py", "source_location": "L1", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_backend_app_api_bx_workflow_py", "target": "fastapi", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/bx/workflow.py", "source_location": "L3", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_backend_app_api_bx_workflow_py", "target": "sqlalchemy_orm", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/bx/workflow.py", "source_location": "L4", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_backend_app_api_bx_workflow_py", "target": "app_core_bx_auth", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/bx/workflow.py", "source_location": "L6", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_backend_app_api_bx_workflow_py", "target": "app_core_database", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/bx/workflow.py", "source_location": "L7", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_backend_app_api_bx_workflow_py", "target": "app_core_tenant_context", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/bx/workflow.py", "source_location": "L8", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_backend_app_api_bx_workflow_py", "target": "app_schemas_bx_common", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/bx/workflow.py", "source_location": "L9", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_backend_app_api_bx_workflow_py", "target": "app_schemas_bx_workflow", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/bx/workflow.py", "source_location": "L10", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_backend_app_api_bx_workflow_py", "target": "app_services_bx_workflow", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/bx/workflow.py", "source_location": "L16", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_backend_app_api_bx_workflow_py", "target": "bx_workflow_list_workflows", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/bx/workflow.py", "source_location": "L22", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_backend_app_api_bx_workflow_py", "target": "bx_workflow_get_workflow_by_biz_type", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/bx/workflow.py", "source_location": "L36", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_backend_app_api_bx_workflow_py", "target": "bx_workflow_get_workflow", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/bx/workflow.py", "source_location": "L48", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_backend_app_api_bx_workflow_py", "target": "bx_workflow_create_workflow", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/bx/workflow.py", "source_location": "L61", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_backend_app_api_bx_workflow_py", "target": "bx_workflow_update_workflow", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/bx/workflow.py", "source_location": "L77", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_backend_app_api_bx_workflow_py", "target": "bx_workflow_save_workflow_nodes", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/bx/workflow.py", "source_location": "L97", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_backend_app_api_bx_workflow_py", "target": "bx_workflow_delete_workflow", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/bx/workflow.py", "source_location": "L119", "weight": 1.0}], "raw_calls": [{"caller_nid": "bx_workflow_list_workflows", "callee": "get_tenant_no", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/bx/workflow.py", "source_location": "L28"}, {"caller_nid": "bx_workflow_list_workflows", "callee": "to_tenant_user_dict", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/bx/workflow.py", "source_location": "L28"}, {"caller_nid": "bx_workflow_list_workflows", "callee": "get_paged", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/bx/workflow.py", "source_location": "L29"}, {"caller_nid": "bx_workflow_list_workflows", "callee": "model_validate", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/bx/workflow.py", "source_location": "L30"}, {"caller_nid": "bx_workflow_list_workflows", "callee": "PagedData", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/bx/workflow.py", "source_location": "L31"}, {"caller_nid": "bx_workflow_list_workflows", "callee": "ApiResponse", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/bx/workflow.py", "source_location": "L32"}, {"caller_nid": "bx_workflow_get_workflow_by_biz_type", "callee": "ensure_by_biz_type", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/bx/workflow.py", "source_location": "L41"}, {"caller_nid": "bx_workflow_get_workflow_by_biz_type", "callee": "ApiResponse", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/bx/workflow.py", "source_location": "L43"}, {"caller_nid": "bx_workflow_get_workflow_by_biz_type", "callee": "ApiResponse", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/bx/workflow.py", "source_location": "L44"}, {"caller_nid": "bx_workflow_get_workflow_by_biz_type", "callee": "model_validate", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/bx/workflow.py", "source_location": "L44"}, {"caller_nid": "bx_workflow_get_workflow", "callee": "get_tenant_no", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/bx/workflow.py", "source_location": "L53"}, {"caller_nid": "bx_workflow_get_workflow", "callee": "to_tenant_user_dict", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/bx/workflow.py", "source_location": "L53"}, {"caller_nid": "bx_workflow_get_workflow", "callee": "get_by_id", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/bx/workflow.py", "source_location": "L54"}, {"caller_nid": "bx_workflow_get_workflow", "callee": "HTTPException", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/bx/workflow.py", "source_location": "L56"}, {"caller_nid": "bx_workflow_get_workflow", "callee": "ApiResponse", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/bx/workflow.py", "source_location": "L57"}, {"caller_nid": "bx_workflow_get_workflow", "callee": "model_validate", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/bx/workflow.py", "source_location": "L57"}, {"caller_nid": "bx_workflow_create_workflow", "callee": "model_dump", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/bx/workflow.py", "source_location": "L66"}, {"caller_nid": "bx_workflow_create_workflow", "callee": "pop", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/bx/workflow.py", "source_location": "L67"}, {"caller_nid": "bx_workflow_create_workflow", "callee": "create", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/bx/workflow.py", "source_location": "L68"}, {"caller_nid": "bx_workflow_create_workflow", "callee": "save_nodes", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/bx/workflow.py", "source_location": "L70"}, {"caller_nid": "bx_workflow_create_workflow", "callee": "commit", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/bx/workflow.py", "source_location": "L71"}, {"caller_nid": "bx_workflow_create_workflow", "callee": "refresh", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/bx/workflow.py", "source_location": "L72"}, {"caller_nid": "bx_workflow_create_workflow", "callee": "ApiResponse", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/bx/workflow.py", "source_location": "L73"}, {"caller_nid": "bx_workflow_create_workflow", "callee": "model_validate", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/bx/workflow.py", "source_location": "L73"}, {"caller_nid": "bx_workflow_update_workflow", "callee": "get_tenant_no", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/bx/workflow.py", "source_location": "L83"}, {"caller_nid": "bx_workflow_update_workflow", "callee": "to_tenant_user_dict", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/bx/workflow.py", "source_location": "L83"}, {"caller_nid": "bx_workflow_update_workflow", "callee": "model_dump", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/bx/workflow.py", "source_location": "L84"}, {"caller_nid": "bx_workflow_update_workflow", "callee": "pop", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/bx/workflow.py", "source_location": "L85"}, {"caller_nid": "bx_workflow_update_workflow", "callee": "update", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/bx/workflow.py", "source_location": "L86"}, {"caller_nid": "bx_workflow_update_workflow", "callee": "HTTPException", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/bx/workflow.py", "source_location": "L88"}, {"caller_nid": "bx_workflow_update_workflow", "callee": "save_nodes", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/bx/workflow.py", "source_location": "L90"}, {"caller_nid": "bx_workflow_update_workflow", "callee": "commit", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/bx/workflow.py", "source_location": "L91"}, {"caller_nid": "bx_workflow_update_workflow", "callee": "refresh", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/bx/workflow.py", "source_location": "L92"}, {"caller_nid": "bx_workflow_update_workflow", "callee": "ApiResponse", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/bx/workflow.py", "source_location": "L93"}, {"caller_nid": "bx_workflow_update_workflow", "callee": "model_validate", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/bx/workflow.py", "source_location": "L93"}, {"caller_nid": "bx_workflow_save_workflow_nodes", "callee": "get_tenant_no", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/bx/workflow.py", "source_location": "L103"}, {"caller_nid": "bx_workflow_save_workflow_nodes", "callee": "to_tenant_user_dict", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/bx/workflow.py", "source_location": "L103"}, {"caller_nid": "bx_workflow_save_workflow_nodes", "callee": "model_dump", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/bx/workflow.py", "source_location": "L104"}, {"caller_nid": "bx_workflow_save_workflow_nodes", "callee": "save_nodes", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/bx/workflow.py", "source_location": "L106"}, {"caller_nid": "bx_workflow_save_workflow_nodes", "callee": "rollback", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/bx/workflow.py", "source_location": "L108"}, {"caller_nid": "bx_workflow_save_workflow_nodes", "callee": "HTTPException", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/bx/workflow.py", "source_location": "L109"}, {"caller_nid": "bx_workflow_save_workflow_nodes", "callee": "str", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/bx/workflow.py", "source_location": "L109"}, {"caller_nid": "bx_workflow_save_workflow_nodes", "callee": "get_by_id", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/bx/workflow.py", "source_location": "L110"}, {"caller_nid": "bx_workflow_save_workflow_nodes", "callee": "HTTPException", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/bx/workflow.py", "source_location": "L112"}, {"caller_nid": "bx_workflow_save_workflow_nodes", "callee": "commit", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/bx/workflow.py", "source_location": "L113"}, {"caller_nid": "bx_workflow_save_workflow_nodes", "callee": "refresh", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/bx/workflow.py", "source_location": "L114"}, {"caller_nid": "bx_workflow_save_workflow_nodes", "callee": "ApiResponse", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/bx/workflow.py", "source_location": "L115"}, {"caller_nid": "bx_workflow_save_workflow_nodes", "callee": "model_validate", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/bx/workflow.py", "source_location": "L115"}, {"caller_nid": "bx_workflow_delete_workflow", "callee": "get_tenant_no", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/bx/workflow.py", "source_location": "L124"}, {"caller_nid": "bx_workflow_delete_workflow", "callee": "to_tenant_user_dict", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/bx/workflow.py", "source_location": "L124"}, {"caller_nid": "bx_workflow_delete_workflow", "callee": "get_by_id", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/bx/workflow.py", "source_location": "L125"}, {"caller_nid": "bx_workflow_delete_workflow", "callee": "HTTPException", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/bx/workflow.py", "source_location": "L127"}, {"caller_nid": "bx_workflow_delete_workflow", "callee": "soft_delete", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/bx/workflow.py", "source_location": "L128"}, {"caller_nid": "bx_workflow_delete_workflow", "callee": "commit", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/bx/workflow.py", "source_location": "L129"}, {"caller_nid": "bx_workflow_delete_workflow", "callee": "ApiResponse", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/bx/workflow.py", "source_location": "L130"}]}