1 line
18 KiB
JSON
1 line
18 KiB
JSON
{"nodes": [{"id": "backend_services_export_service_py", "label": "export_service.py", "file_type": "code", "source_file": "backend/services/export_service.py", "source_location": "L1"}, {"id": "export_service_inventorysnapshotexporter", "label": "InventorySnapshotExporter", "file_type": "code", "source_file": "backend/services/export_service.py", "source_location": "L15"}, {"id": "export_service_item_to_row", "label": "_item_to_row()", "file_type": "code", "source_file": "backend/services/export_service.py", "source_location": "L37"}, {"id": "export_service_to_csv", "label": "to_csv()", "file_type": "code", "source_file": "backend/services/export_service.py", "source_location": "L58"}, {"id": "export_service_to_excel", "label": "to_excel()", "file_type": "code", "source_file": "backend/services/export_service.py", "source_location": "L82"}, {"id": "export_service_audittrailexporter", "label": "AuditTrailExporter", "file_type": "code", "source_file": "backend/services/export_service.py", "source_location": "L134"}, {"id": "export_service_log_to_row", "label": "_log_to_row()", "file_type": "code", "source_file": "backend/services/export_service.py", "source_location": "L151"}, {"id": "export_service_get_export_filename", "label": "get_export_filename()", "file_type": "code", "source_file": "backend/services/export_service.py", "source_location": "L244"}, {"id": "export_service_rationale_1", "label": "Export service for inventory snapshot and audit trail exports. Supports CSV and", "file_type": "rationale", "source_file": "backend/services/export_service.py", "source_location": "L1"}, {"id": "export_service_rationale_16", "label": "Export inventory items to CSV or Excel format.", "file_type": "rationale", "source_file": "backend/services/export_service.py", "source_location": "L16"}, {"id": "export_service_rationale_38", "label": "Convert Item object to row data.", "file_type": "rationale", "source_file": "backend/services/export_service.py", "source_location": "L38"}, {"id": "export_service_rationale_59", "label": "Export items to CSV format. Args: items: List of Item objec", "file_type": "rationale", "source_file": "backend/services/export_service.py", "source_location": "L59"}, {"id": "export_service_rationale_83", "label": "Export items to Excel (.xlsx) format. Args: items: List of", "file_type": "rationale", "source_file": "backend/services/export_service.py", "source_location": "L83"}, {"id": "export_service_rationale_135", "label": "Export audit logs to CSV or Excel format.", "file_type": "rationale", "source_file": "backend/services/export_service.py", "source_location": "L135"}, {"id": "export_service_rationale_152", "label": "Convert AuditLog object to row data.", "file_type": "rationale", "source_file": "backend/services/export_service.py", "source_location": "L152"}, {"id": "export_service_rationale_169", "label": "Export audit logs to CSV format. Args: logs: List of AuditL", "file_type": "rationale", "source_file": "backend/services/export_service.py", "source_location": "L169"}, {"id": "export_service_rationale_193", "label": "Export audit logs to Excel (.xlsx) format. Args: logs: List", "file_type": "rationale", "source_file": "backend/services/export_service.py", "source_location": "L193"}, {"id": "export_service_rationale_245", "label": "Generate export filename with timestamp. Args: report_type: 'invent", "file_type": "rationale", "source_file": "backend/services/export_service.py", "source_location": "L245"}], "edges": [{"source": "backend_services_export_service_py", "target": "csv", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/services/export_service.py", "source_location": "L6", "weight": 1.0}, {"source": "backend_services_export_service_py", "target": "io", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/services/export_service.py", "source_location": "L7", "weight": 1.0}, {"source": "backend_services_export_service_py", "target": "datetime", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/services/export_service.py", "source_location": "L8", "weight": 1.0}, {"source": "backend_services_export_service_py", "target": "typing", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/services/export_service.py", "source_location": "L9", "weight": 1.0}, {"source": "backend_services_export_service_py", "target": "openpyxl", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/services/export_service.py", "source_location": "L10", "weight": 1.0}, {"source": "backend_services_export_service_py", "target": "openpyxl_styles", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/services/export_service.py", "source_location": "L11", "weight": 1.0}, {"source": "backend_services_export_service_py", "target": "openpyxl_utils", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/services/export_service.py", "source_location": "L12", "weight": 1.0}, {"source": "backend_services_export_service_py", "target": "export_service_inventorysnapshotexporter", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/services/export_service.py", "source_location": "L15", "weight": 1.0}, {"source": "backend_services_export_service_py", "target": "export_service_item_to_row", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/services/export_service.py", "source_location": "L37", "weight": 1.0}, {"source": "backend_services_export_service_py", "target": "export_service_to_csv", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/services/export_service.py", "source_location": "L58", "weight": 1.0}, {"source": "backend_services_export_service_py", "target": "export_service_to_excel", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/services/export_service.py", "source_location": "L82", "weight": 1.0}, {"source": "backend_services_export_service_py", "target": "export_service_audittrailexporter", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/services/export_service.py", "source_location": "L134", "weight": 1.0}, {"source": "backend_services_export_service_py", "target": "export_service_log_to_row", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/services/export_service.py", "source_location": "L151", "weight": 1.0}, {"source": "backend_services_export_service_py", "target": "export_service_to_csv", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/services/export_service.py", "source_location": "L168", "weight": 1.0}, {"source": "backend_services_export_service_py", "target": "export_service_to_excel", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/services/export_service.py", "source_location": "L192", "weight": 1.0}, {"source": "backend_services_export_service_py", "target": "export_service_get_export_filename", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/services/export_service.py", "source_location": "L244", "weight": 1.0}, {"source": "export_service_to_csv", "target": "export_service_item_to_row", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/services/export_service.py", "source_location": "L77", "weight": 1.0}, {"source": "export_service_to_excel", "target": "export_service_item_to_row", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/services/export_service.py", "source_location": "L115", "weight": 1.0}, {"source": "export_service_to_csv", "target": "export_service_log_to_row", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/services/export_service.py", "source_location": "L187", "weight": 1.0}, {"source": "export_service_to_excel", "target": "export_service_log_to_row", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/services/export_service.py", "source_location": "L225", "weight": 1.0}, {"source": "export_service_rationale_1", "target": "backend_services_export_service_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/services/export_service.py", "source_location": "L1", "weight": 1.0}, {"source": "export_service_rationale_16", "target": "export_service_inventorysnapshotexporter", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/services/export_service.py", "source_location": "L16", "weight": 1.0}, {"source": "export_service_rationale_38", "target": "export_service_inventorysnapshotexporter_item_to_row", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/services/export_service.py", "source_location": "L38", "weight": 1.0}, {"source": "export_service_rationale_59", "target": "export_service_inventorysnapshotexporter_to_csv", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/services/export_service.py", "source_location": "L59", "weight": 1.0}, {"source": "export_service_rationale_83", "target": "export_service_inventorysnapshotexporter_to_excel", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/services/export_service.py", "source_location": "L83", "weight": 1.0}, {"source": "export_service_rationale_135", "target": "export_service_audittrailexporter", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/services/export_service.py", "source_location": "L135", "weight": 1.0}, {"source": "export_service_rationale_152", "target": "export_service_audittrailexporter_log_to_row", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/services/export_service.py", "source_location": "L152", "weight": 1.0}, {"source": "export_service_rationale_169", "target": "export_service_audittrailexporter_to_csv", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/services/export_service.py", "source_location": "L169", "weight": 1.0}, {"source": "export_service_rationale_193", "target": "export_service_audittrailexporter_to_excel", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/services/export_service.py", "source_location": "L193", "weight": 1.0}, {"source": "export_service_rationale_245", "target": "export_service_get_export_filename", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/services/export_service.py", "source_location": "L245", "weight": 1.0}], "raw_calls": [{"caller_nid": "export_service_item_to_row", "callee": "str", "source_file": "backend/services/export_service.py", "source_location": "L46"}, {"caller_nid": "export_service_item_to_row", "callee": "str", "source_file": "backend/services/export_service.py", "source_location": "L47"}, {"caller_nid": "export_service_item_to_row", "callee": "isoformat", "source_file": "backend/services/export_service.py", "source_location": "L53"}, {"caller_nid": "export_service_item_to_row", "callee": "hasattr", "source_file": "backend/services/export_service.py", "source_location": "L53"}, {"caller_nid": "export_service_item_to_row", "callee": "isoformat", "source_file": "backend/services/export_service.py", "source_location": "L54"}, {"caller_nid": "export_service_item_to_row", "callee": "hasattr", "source_file": "backend/services/export_service.py", "source_location": "L54"}, {"caller_nid": "export_service_to_csv", "callee": "StringIO", "source_file": "backend/services/export_service.py", "source_location": "L69"}, {"caller_nid": "export_service_to_csv", "callee": "writer", "source_file": "backend/services/export_service.py", "source_location": "L70"}, {"caller_nid": "export_service_to_csv", "callee": "writerow", "source_file": "backend/services/export_service.py", "source_location": "L73"}, {"caller_nid": "export_service_to_csv", "callee": "writerow", "source_file": "backend/services/export_service.py", "source_location": "L77"}, {"caller_nid": "export_service_to_csv", "callee": "getvalue", "source_file": "backend/services/export_service.py", "source_location": "L79"}, {"caller_nid": "export_service_to_excel", "callee": "Workbook", "source_file": "backend/services/export_service.py", "source_location": "L93"}, {"caller_nid": "export_service_to_excel", "callee": "append", "source_file": "backend/services/export_service.py", "source_location": "L98"}, {"caller_nid": "export_service_to_excel", "callee": "Font", "source_file": "backend/services/export_service.py", "source_location": "L100"}, {"caller_nid": "export_service_to_excel", "callee": "PatternFill", "source_file": "backend/services/export_service.py", "source_location": "L101"}, {"caller_nid": "export_service_to_excel", "callee": "merge_cells", "source_file": "backend/services/export_service.py", "source_location": "L102"}, {"caller_nid": "export_service_to_excel", "callee": "append", "source_file": "backend/services/export_service.py", "source_location": "L105"}, {"caller_nid": "export_service_to_excel", "callee": "PatternFill", "source_file": "backend/services/export_service.py", "source_location": "L106"}, {"caller_nid": "export_service_to_excel", "callee": "Font", "source_file": "backend/services/export_service.py", "source_location": "L107"}, {"caller_nid": "export_service_to_excel", "callee": "Alignment", "source_file": "backend/services/export_service.py", "source_location": "L111"}, {"caller_nid": "export_service_to_excel", "callee": "append", "source_file": "backend/services/export_service.py", "source_location": "L115"}, {"caller_nid": "export_service_to_excel", "callee": "enumerate", "source_file": "backend/services/export_service.py", "source_location": "L119"}, {"caller_nid": "export_service_to_excel", "callee": "get_column_letter", "source_file": "backend/services/export_service.py", "source_location": "L120"}, {"caller_nid": "export_service_to_excel", "callee": "iter_rows", "source_file": "backend/services/export_service.py", "source_location": "L123"}, {"caller_nid": "export_service_to_excel", "callee": "Alignment", "source_file": "backend/services/export_service.py", "source_location": "L125"}, {"caller_nid": "export_service_to_excel", "callee": "BytesIO", "source_file": "backend/services/export_service.py", "source_location": "L128"}, {"caller_nid": "export_service_to_excel", "callee": "save", "source_file": "backend/services/export_service.py", "source_location": "L129"}, {"caller_nid": "export_service_to_excel", "callee": "seek", "source_file": "backend/services/export_service.py", "source_location": "L130"}, {"caller_nid": "export_service_to_excel", "callee": "getvalue", "source_file": "backend/services/export_service.py", "source_location": "L131"}, {"caller_nid": "export_service_log_to_row", "callee": "hasattr", "source_file": "backend/services/export_service.py", "source_location": "L153"}, {"caller_nid": "export_service_log_to_row", "callee": "isoformat", "source_file": "backend/services/export_service.py", "source_location": "L156"}, {"caller_nid": "export_service_log_to_row", "callee": "str", "source_file": "backend/services/export_service.py", "source_location": "L163"}, {"caller_nid": "export_service_to_csv", "callee": "StringIO", "source_file": "backend/services/export_service.py", "source_location": "L179"}, {"caller_nid": "export_service_to_csv", "callee": "writer", "source_file": "backend/services/export_service.py", "source_location": "L180"}, {"caller_nid": "export_service_to_csv", "callee": "writerow", "source_file": "backend/services/export_service.py", "source_location": "L183"}, {"caller_nid": "export_service_to_csv", "callee": "writerow", "source_file": "backend/services/export_service.py", "source_location": "L187"}, {"caller_nid": "export_service_to_csv", "callee": "getvalue", "source_file": "backend/services/export_service.py", "source_location": "L189"}, {"caller_nid": "export_service_to_excel", "callee": "Workbook", "source_file": "backend/services/export_service.py", "source_location": "L203"}, {"caller_nid": "export_service_to_excel", "callee": "append", "source_file": "backend/services/export_service.py", "source_location": "L208"}, {"caller_nid": "export_service_to_excel", "callee": "Font", "source_file": "backend/services/export_service.py", "source_location": "L210"}, {"caller_nid": "export_service_to_excel", "callee": "PatternFill", "source_file": "backend/services/export_service.py", "source_location": "L211"}, {"caller_nid": "export_service_to_excel", "callee": "merge_cells", "source_file": "backend/services/export_service.py", "source_location": "L212"}, {"caller_nid": "export_service_to_excel", "callee": "append", "source_file": "backend/services/export_service.py", "source_location": "L215"}, {"caller_nid": "export_service_to_excel", "callee": "PatternFill", "source_file": "backend/services/export_service.py", "source_location": "L216"}, {"caller_nid": "export_service_to_excel", "callee": "Font", "source_file": "backend/services/export_service.py", "source_location": "L217"}, {"caller_nid": "export_service_to_excel", "callee": "Alignment", "source_file": "backend/services/export_service.py", "source_location": "L221"}, {"caller_nid": "export_service_to_excel", "callee": "append", "source_file": "backend/services/export_service.py", "source_location": "L225"}, {"caller_nid": "export_service_to_excel", "callee": "enumerate", "source_file": "backend/services/export_service.py", "source_location": "L229"}, {"caller_nid": "export_service_to_excel", "callee": "get_column_letter", "source_file": "backend/services/export_service.py", "source_location": "L230"}, {"caller_nid": "export_service_to_excel", "callee": "iter_rows", "source_file": "backend/services/export_service.py", "source_location": "L233"}, {"caller_nid": "export_service_to_excel", "callee": "Alignment", "source_file": "backend/services/export_service.py", "source_location": "L235"}, {"caller_nid": "export_service_to_excel", "callee": "BytesIO", "source_file": "backend/services/export_service.py", "source_location": "L238"}, {"caller_nid": "export_service_to_excel", "callee": "save", "source_file": "backend/services/export_service.py", "source_location": "L239"}, {"caller_nid": "export_service_to_excel", "callee": "seek", "source_file": "backend/services/export_service.py", "source_location": "L240"}, {"caller_nid": "export_service_to_excel", "callee": "getvalue", "source_file": "backend/services/export_service.py", "source_location": "L241"}]} |