{"nodes": [{"id": "users_isaacmini_projects_petrus_crm_backend_app_services_capacityservice_php", "label": "CapacityService.php", "file_type": "code", "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/CapacityService.php", "source_location": "L1"}, {"id": "services_capacityservice_capacityservice", "label": "CapacityService", "file_type": "code", "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/CapacityService.php", "source_location": "L12"}, {"id": "services_capacityservice_capacityservice_getstaffworkload", "label": ".getStaffWorkload()", "file_type": "code", "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/CapacityService.php", "source_location": "L19"}, {"id": "services_capacityservice_capacityservice_getteamworkloads", "label": ".getTeamWorkloads()", "file_type": "code", "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/CapacityService.php", "source_location": "L62"}, {"id": "services_capacityservice_capacityservice_getteamaverage", "label": ".getTeamAverage()", "file_type": "code", "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/CapacityService.php", "source_location": "L89"}, {"id": "services_capacityservice_capacityservice_getunassignedclients", "label": ".getUnassignedClients()", "file_type": "code", "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/CapacityService.php", "source_location": "L109"}, {"id": "services_capacityservice_capacityservice_gettiercolor", "label": ".getTierColor()", "file_type": "code", "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/CapacityService.php", "source_location": "L132"}, {"id": "services_capacityservice_capacityservice_determinetier", "label": ".determineTier()", "file_type": "code", "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/CapacityService.php", "source_location": "L145"}], "edges": [{"source": "users_isaacmini_projects_petrus_crm_backend_app_services_capacityservice_php", "target": "assignmentrole", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/CapacityService.php", "source_location": "L5", "weight": 1.0}, {"source": "users_isaacmini_projects_petrus_crm_backend_app_services_capacityservice_php", "target": "company", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/CapacityService.php", "source_location": "L6", "weight": 1.0}, {"source": "users_isaacmini_projects_petrus_crm_backend_app_services_capacityservice_php", "target": "individualclient", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/CapacityService.php", "source_location": "L7", "weight": 1.0}, {"source": "users_isaacmini_projects_petrus_crm_backend_app_services_capacityservice_php", "target": "setting", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/CapacityService.php", "source_location": "L8", "weight": 1.0}, {"source": "users_isaacmini_projects_petrus_crm_backend_app_services_capacityservice_php", "target": "staffmember", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/CapacityService.php", "source_location": "L9", "weight": 1.0}, {"source": "users_isaacmini_projects_petrus_crm_backend_app_services_capacityservice_php", "target": "workloadweights", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/CapacityService.php", "source_location": "L10", "weight": 1.0}, {"source": "users_isaacmini_projects_petrus_crm_backend_app_services_capacityservice_php", "target": "services_capacityservice_capacityservice", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/CapacityService.php", "source_location": "L12", "weight": 1.0}, {"source": "services_capacityservice_capacityservice", "target": "services_capacityservice_capacityservice_getstaffworkload", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/CapacityService.php", "source_location": "L19", "weight": 1.0}, {"source": "services_capacityservice_capacityservice", "target": "services_capacityservice_capacityservice_getteamworkloads", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/CapacityService.php", "source_location": "L62", "weight": 1.0}, {"source": "services_capacityservice_capacityservice", "target": "services_capacityservice_capacityservice_getteamaverage", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/CapacityService.php", "source_location": "L89", "weight": 1.0}, {"source": "services_capacityservice_capacityservice", "target": "services_capacityservice_capacityservice_getunassignedclients", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/CapacityService.php", "source_location": "L109", "weight": 1.0}, {"source": "services_capacityservice_capacityservice", "target": "services_capacityservice_capacityservice_gettiercolor", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/CapacityService.php", "source_location": "L132", "weight": 1.0}, {"source": "services_capacityservice_capacityservice", "target": "services_capacityservice_capacityservice_determinetier", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/CapacityService.php", "source_location": "L145", "weight": 1.0}, {"source": "services_capacityservice_capacityservice_getstaffworkload", "target": "services_capacityservice_capacityservice_determinetier", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/CapacityService.php", "source_location": "L53", "weight": 1.0}, {"source": "services_capacityservice_capacityservice_getteamworkloads", "target": "services_capacityservice_capacityservice_getstaffworkload", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/CapacityService.php", "source_location": "L70", "weight": 1.0}], "raw_calls": [{"caller_nid": "services_capacityservice_capacityservice_getstaffworkload", "callee": "relationLoaded", "is_member_call": true, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/CapacityService.php", "source_location": "L21"}, {"caller_nid": "services_capacityservice_capacityservice_getstaffworkload", "callee": "where", "is_member_call": true, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/CapacityService.php", "source_location": "L22"}, {"caller_nid": "services_capacityservice_capacityservice_getstaffworkload", "callee": "get", "is_member_call": true, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/CapacityService.php", "source_location": "L23"}, {"caller_nid": "services_capacityservice_capacityservice_getstaffworkload", "callee": "with", "is_member_call": true, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/CapacityService.php", "source_location": "L23"}, {"caller_nid": "services_capacityservice_capacityservice_getstaffworkload", "callee": "where", "is_member_call": true, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/CapacityService.php", "source_location": "L23"}, {"caller_nid": "services_capacityservice_capacityservice_getstaffworkload", "callee": "assignments", "is_member_call": true, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/CapacityService.php", "source_location": "L23"}, {"caller_nid": "services_capacityservice_capacityservice_getstaffworkload", "callee": "count", "is_member_call": true, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/CapacityService.php", "source_location": "L25"}, {"caller_nid": "services_capacityservice_capacityservice_getstaffworkload", "callee": "AssignmentRole", "is_member_call": false, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/CapacityService.php", "source_location": "L28"}, {"caller_nid": "services_capacityservice_capacityservice_getstaffworkload", "callee": "count", "is_member_call": true, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/CapacityService.php", "source_location": "L29"}, {"caller_nid": "services_capacityservice_capacityservice_getstaffworkload", "callee": "where", "is_member_call": true, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/CapacityService.php", "source_location": "L29"}, {"caller_nid": "services_capacityservice_capacityservice_getstaffworkload", "callee": "sum", "is_member_call": true, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/CapacityService.php", "source_location": "L40"}, {"caller_nid": "services_capacityservice_capacityservice_getstaffworkload", "callee": "WorkloadWeights", "is_member_call": false, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/CapacityService.php", "source_location": "L46"}, {"caller_nid": "services_capacityservice_capacityservice_getstaffworkload", "callee": "round", "is_member_call": false, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/CapacityService.php", "source_location": "L51"}, {"caller_nid": "services_capacityservice_capacityservice_getteamworkloads", "callee": "get", "is_member_call": true, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/CapacityService.php", "source_location": "L64"}, {"caller_nid": "services_capacityservice_capacityservice_getteamworkloads", "callee": "with", "is_member_call": true, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/CapacityService.php", "source_location": "L64"}, {"caller_nid": "services_capacityservice_capacityservice_getteamworkloads", "callee": "StaffMember", "is_member_call": false, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/CapacityService.php", "source_location": "L64"}, {"caller_nid": "services_capacityservice_capacityservice_getteamworkloads", "callee": "where", "is_member_call": true, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/CapacityService.php", "source_location": "L65"}, {"caller_nid": "services_capacityservice_capacityservice_getteamworkloads", "callee": "usort", "is_member_call": false, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/CapacityService.php", "source_location": "L81"}, {"caller_nid": "services_capacityservice_capacityservice_getteamaverage", "callee": "get", "is_member_call": true, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/CapacityService.php", "source_location": "L91"}, {"caller_nid": "services_capacityservice_capacityservice_getteamaverage", "callee": "withCount", "is_member_call": true, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/CapacityService.php", "source_location": "L91"}, {"caller_nid": "services_capacityservice_capacityservice_getteamaverage", "callee": "StaffMember", "is_member_call": false, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/CapacityService.php", "source_location": "L91"}, {"caller_nid": "services_capacityservice_capacityservice_getteamaverage", "callee": "where", "is_member_call": true, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/CapacityService.php", "source_location": "L92"}, {"caller_nid": "services_capacityservice_capacityservice_getteamaverage", "callee": "filter", "is_member_call": true, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/CapacityService.php", "source_location": "L95"}, {"caller_nid": "services_capacityservice_capacityservice_getteamaverage", "callee": "isEmpty", "is_member_call": true, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/CapacityService.php", "source_location": "L97"}, {"caller_nid": "services_capacityservice_capacityservice_getteamaverage", "callee": "round", "is_member_call": false, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/CapacityService.php", "source_location": "L101"}, {"caller_nid": "services_capacityservice_capacityservice_getteamaverage", "callee": "avg", "is_member_call": true, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/CapacityService.php", "source_location": "L101"}, {"caller_nid": "services_capacityservice_capacityservice_getunassignedclients", "callee": "get", "is_member_call": true, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/CapacityService.php", "source_location": "L111"}, {"caller_nid": "services_capacityservice_capacityservice_getunassignedclients", "callee": "whereDoesntHave", "is_member_call": true, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/CapacityService.php", "source_location": "L111"}, {"caller_nid": "services_capacityservice_capacityservice_getunassignedclients", "callee": "Company", "is_member_call": false, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/CapacityService.php", "source_location": "L111"}, {"caller_nid": "services_capacityservice_capacityservice_getunassignedclients", "callee": "where", "is_member_call": true, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/CapacityService.php", "source_location": "L112"}, {"caller_nid": "services_capacityservice_capacityservice_getunassignedclients", "callee": "where", "is_member_call": true, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/CapacityService.php", "source_location": "L112"}, {"caller_nid": "services_capacityservice_capacityservice_getunassignedclients", "callee": "get", "is_member_call": true, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/CapacityService.php", "source_location": "L117"}, {"caller_nid": "services_capacityservice_capacityservice_getunassignedclients", "callee": "whereDoesntHave", "is_member_call": true, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/CapacityService.php", "source_location": "L117"}, {"caller_nid": "services_capacityservice_capacityservice_getunassignedclients", "callee": "IndividualClient", "is_member_call": false, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/CapacityService.php", "source_location": "L117"}, {"caller_nid": "services_capacityservice_capacityservice_getunassignedclients", "callee": "where", "is_member_call": true, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/CapacityService.php", "source_location": "L118"}, {"caller_nid": "services_capacityservice_capacityservice_getunassignedclients", "callee": "where", "is_member_call": true, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/CapacityService.php", "source_location": "L118"}, {"caller_nid": "services_capacityservice_capacityservice_determinetier", "callee": "Setting", "is_member_call": false, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/CapacityService.php", "source_location": "L147"}, {"caller_nid": "services_capacityservice_capacityservice_determinetier", "callee": "Setting", "is_member_call": false, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/CapacityService.php", "source_location": "L148"}]}