{"nodes": [{"id": "frontend_app_inventory_page_tsx", "label": "page.tsx", "file_type": "code", "source_file": "frontend/app/inventory/page.tsx", "source_location": "L1"}, {"id": "page_loaddata", "label": "loadData()", "file_type": "code", "source_file": "frontend/app/inventory/page.tsx", "source_location": "L96"}, {"id": "page_handleadjuststock", "label": "handleAdjustStock()", "file_type": "code", "source_file": "frontend/app/inventory/page.tsx", "source_location": "L116"}, {"id": "page_handleupdateitem", "label": "handleUpdateItem()", "file_type": "code", "source_file": "frontend/app/inventory/page.tsx", "source_location": "L159"}, {"id": "page_handleupdatecategory", "label": "handleUpdateCategory()", "file_type": "code", "source_file": "frontend/app/inventory/page.tsx", "source_location": "L183"}, {"id": "page_handlesearchitemselect", "label": "handleSearchItemSelect()", "file_type": "code", "source_file": "frontend/app/inventory/page.tsx", "source_location": "L222"}, {"id": "page_handlequantitymodalclose", "label": "handleQuantityModalClose()", "file_type": "code", "source_file": "frontend/app/inventory/page.tsx", "source_location": "L227"}], "edges": [{"source": "frontend_app_inventory_page_tsx", "target": "react", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "frontend/app/inventory/page.tsx", "source_location": "L3", "weight": 1.0}, {"source": "frontend_app_inventory_page_tsx", "target": "db", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "frontend/app/inventory/page.tsx", "source_location": "L4", "weight": 1.0}, {"source": "frontend_app_inventory_page_tsx", "target": "api", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "frontend/app/inventory/page.tsx", "source_location": "L5", "weight": 1.0}, {"source": "frontend_app_inventory_page_tsx", "target": "pageshell", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "frontend/app/inventory/page.tsx", "source_location": "L6", "weight": 1.0}, {"source": "frontend_app_inventory_page_tsx", "target": "scanner", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "frontend/app/inventory/page.tsx", "source_location": "L7", "weight": 1.0}, {"source": "frontend_app_inventory_page_tsx", "target": "statcard", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "frontend/app/inventory/page.tsx", "source_location": "L8", "weight": 1.0}, {"source": "frontend_app_inventory_page_tsx", "target": "inventorytable", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "frontend/app/inventory/page.tsx", "source_location": "L9", "weight": 1.0}, {"source": "frontend_app_inventory_page_tsx", "target": "filterbar", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "frontend/app/inventory/page.tsx", "source_location": "L10", "weight": 1.0}, {"source": "frontend_app_inventory_page_tsx", "target": "searchmodal", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "frontend/app/inventory/page.tsx", "source_location": "L11", "weight": 1.0}, {"source": "frontend_app_inventory_page_tsx", "target": "quantityadjustmentmodal", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "frontend/app/inventory/page.tsx", "source_location": "L12", "weight": 1.0}, {"source": "frontend_app_inventory_page_tsx", "target": "useinventoryfilter", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "frontend/app/inventory/page.tsx", "source_location": "L13", "weight": 1.0}, {"source": "frontend_app_inventory_page_tsx", "target": "react_hot_toast", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "frontend/app/inventory/page.tsx", "source_location": "L14", "weight": 1.0}, {"source": "frontend_app_inventory_page_tsx", "target": "lucide_react", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "frontend/app/inventory/page.tsx", "source_location": "L15", "weight": 1.0}, {"source": "frontend_app_inventory_page_tsx", "target": "labels", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "frontend/app/inventory/page.tsx", "source_location": "L30", "weight": 1.0}, {"source": "frontend_app_inventory_page_tsx", "target": "utils", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "frontend/app/inventory/page.tsx", "source_location": "L31", "weight": 1.0}, {"source": "frontend_app_inventory_page_tsx", "target": "page_loaddata", "relation": "contains", "confidence": "EXTRACTED", "source_file": "frontend/app/inventory/page.tsx", "source_location": "L96", "weight": 1.0}, {"source": "frontend_app_inventory_page_tsx", "target": "page_handleadjuststock", "relation": "contains", "confidence": "EXTRACTED", "source_file": "frontend/app/inventory/page.tsx", "source_location": "L116", "weight": 1.0}, {"source": "frontend_app_inventory_page_tsx", "target": "page_handleupdateitem", "relation": "contains", "confidence": "EXTRACTED", "source_file": "frontend/app/inventory/page.tsx", "source_location": "L159", "weight": 1.0}, {"source": "frontend_app_inventory_page_tsx", "target": "page_handleupdatecategory", "relation": "contains", "confidence": "EXTRACTED", "source_file": "frontend/app/inventory/page.tsx", "source_location": "L183", "weight": 1.0}, {"source": "frontend_app_inventory_page_tsx", "target": "page_handlesearchitemselect", "relation": "contains", "confidence": "EXTRACTED", "source_file": "frontend/app/inventory/page.tsx", "source_location": "L222", "weight": 1.0}, {"source": "frontend_app_inventory_page_tsx", "target": "page_handlequantitymodalclose", "relation": "contains", "confidence": "EXTRACTED", "source_file": "frontend/app/inventory/page.tsx", "source_location": "L227", "weight": 1.0}, {"source": "page_handleupdateitem", "target": "page_loaddata", "relation": "calls", "confidence": "EXTRACTED", "source_file": "frontend/app/inventory/page.tsx", "source_location": "L176", "weight": 1.0}, {"source": "page_handleupdatecategory", "target": "page_loaddata", "relation": "calls", "confidence": "EXTRACTED", "source_file": "frontend/app/inventory/page.tsx", "source_location": "L192", "weight": 1.0}], "raw_calls": [{"caller_nid": "page_loaddata", "callee": "toArray", "source_file": "frontend/app/inventory/page.tsx", "source_location": "L97"}, {"caller_nid": "page_loaddata", "callee": "setInventory", "source_file": "frontend/app/inventory/page.tsx", "source_location": "L98"}, {"caller_nid": "page_loaddata", "callee": "getStats", "source_file": "frontend/app/inventory/page.tsx", "source_location": "L101"}, {"caller_nid": "page_loaddata", "callee": "setStats", "source_file": "frontend/app/inventory/page.tsx", "source_location": "L102"}, {"caller_nid": "page_loaddata", "callee": "getCategories", "source_file": "frontend/app/inventory/page.tsx", "source_location": "L104"}, {"caller_nid": "page_loaddata", "callee": "setCategoriesList", "source_file": "frontend/app/inventory/page.tsx", "source_location": "L105"}, {"caller_nid": "page_loaddata", "callee": "getItems", "source_file": "frontend/app/inventory/page.tsx", "source_location": "L107"}, {"caller_nid": "page_loaddata", "callee": "setInventory", "source_file": "frontend/app/inventory/page.tsx", "source_location": "L108"}, {"caller_nid": "page_loaddata", "callee": "clear", "source_file": "frontend/app/inventory/page.tsx", "source_location": "L109"}, {"caller_nid": "page_loaddata", "callee": "bulkPut", "source_file": "frontend/app/inventory/page.tsx", "source_location": "L110"}, {"caller_nid": "page_loaddata", "callee": "error", "source_file": "frontend/app/inventory/page.tsx", "source_location": "L112"}, {"caller_nid": "page_handleadjuststock", "callee": "loading", "source_file": "frontend/app/inventory/page.tsx", "source_location": "L118"}, {"caller_nid": "page_handleadjuststock", "callee": "update", "source_file": "frontend/app/inventory/page.tsx", "source_location": "L125"}, {"caller_nid": "page_handleadjuststock", "callee": "setInventory", "source_file": "frontend/app/inventory/page.tsx", "source_location": "L126"}, {"caller_nid": "page_handleadjuststock", "callee": "adjustStock", "source_file": "frontend/app/inventory/page.tsx", "source_location": "L137"}, {"caller_nid": "page_handleadjuststock", "callee": "success", "source_file": "frontend/app/inventory/page.tsx", "source_location": "L138"}, {"caller_nid": "page_handleadjuststock", "callee": "add", "source_file": "frontend/app/inventory/page.tsx", "source_location": "L140"}, {"caller_nid": "page_handleadjuststock", "callee": "now", "source_file": "frontend/app/inventory/page.tsx", "source_location": "L144"}, {"caller_nid": "page_handleadjuststock", "callee": "randomUUID", "source_file": "frontend/app/inventory/page.tsx", "source_location": "L146"}, {"caller_nid": "page_handleadjuststock", "callee": "success", "source_file": "frontend/app/inventory/page.tsx", "source_location": "L148"}, {"caller_nid": "page_handleadjuststock", "callee": "setSelectedItem", "source_file": "frontend/app/inventory/page.tsx", "source_location": "L151"}, {"caller_nid": "page_handleadjuststock", "callee": "setAdjustQty", "source_file": "frontend/app/inventory/page.tsx", "source_location": "L152"}, {"caller_nid": "page_handleadjuststock", "callee": "error", "source_file": "frontend/app/inventory/page.tsx", "source_location": "L154"}, {"caller_nid": "page_handleadjuststock", "callee": "error", "source_file": "frontend/app/inventory/page.tsx", "source_location": "L155"}, {"caller_nid": "page_handleupdateitem", "callee": "trim", "source_file": "frontend/app/inventory/page.tsx", "source_location": "L163"}, {"caller_nid": "page_handleupdateitem", "callee": "toUpperCase", "source_file": "frontend/app/inventory/page.tsx", "source_location": "L166"}, {"caller_nid": "page_handleupdateitem", "callee": "update", "source_file": "frontend/app/inventory/page.tsx", "source_location": "L168"}, {"caller_nid": "page_handleupdateitem", "callee": "updateItem", "source_file": "frontend/app/inventory/page.tsx", "source_location": "L170"}, {"caller_nid": "page_handleupdateitem", "callee": "success", "source_file": "frontend/app/inventory/page.tsx", "source_location": "L173"}, {"caller_nid": "page_handleupdateitem", "callee": "setIsEditing", "source_file": "frontend/app/inventory/page.tsx", "source_location": "L174"}, {"caller_nid": "page_handleupdateitem", "callee": "setSelectedItem", "source_file": "frontend/app/inventory/page.tsx", "source_location": "L175"}, {"caller_nid": "page_handleupdateitem", "callee": "error", "source_file": "frontend/app/inventory/page.tsx", "source_location": "L178"}, {"caller_nid": "page_handleupdateitem", "callee": "error", "source_file": "frontend/app/inventory/page.tsx", "source_location": "L179"}, {"caller_nid": "page_handleupdatecategory", "callee": "updateCategory", "source_file": "frontend/app/inventory/page.tsx", "source_location": "L186"}, {"caller_nid": "page_handleupdatecategory", "callee": "success", "source_file": "frontend/app/inventory/page.tsx", "source_location": "L190"}, {"caller_nid": "page_handleupdatecategory", "callee": "setEditingCategory", "source_file": "frontend/app/inventory/page.tsx", "source_location": "L191"}, {"caller_nid": "page_handleupdatecategory", "callee": "error", "source_file": "frontend/app/inventory/page.tsx", "source_location": "L194"}, {"caller_nid": "page_handlesearchitemselect", "callee": "setSelectedSearchItem", "source_file": "frontend/app/inventory/page.tsx", "source_location": "L223"}, {"caller_nid": "page_handlesearchitemselect", "callee": "setShowQuantityModal", "source_file": "frontend/app/inventory/page.tsx", "source_location": "L224"}, {"caller_nid": "page_handlequantitymodalclose", "callee": "setShowQuantityModal", "source_file": "frontend/app/inventory/page.tsx", "source_location": "L228"}, {"caller_nid": "page_handlequantitymodalclose", "callee": "setSelectedSearchItem", "source_file": "frontend/app/inventory/page.tsx", "source_location": "L229"}]}