Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ResearAI/AutoFigure
/ functions
Functions
374 in github.com/ResearAI/AutoFigure
⨍
Functions
374
◇
Types & classes
56
↳
Endpoints
12
Function
handleChange
(e: React.ChangeEvent<HTMLTextAreaElement>)
frontend/components/chat-input.tsx:172
Function
handleClear
()
frontend/components/chat-input.tsx:279
Function
handleClickOutside
(e: MouseEvent)
frontend/components/autofigure/BottomBar.tsx:42
Function
handleClickOutside
(e: MouseEvent)
frontend/app/autofigure/page.tsx:61
Function
handleConfirmRestore
()
frontend/components/history-dialog.tsx:33
Function
handleContinue
(feedback?: string, score?: number)
frontend/app/autofigure/canvas/page.tsx:216
Function
handleContinueWithFeedback
()
frontend/components/autofigure/IterationControlsFloating.tsx:123
Function
handleContinueWithFeedback
()
frontend/components/autofigure/IterationControls.tsx:68
Function
handleDiagramExport
(data: any)
frontend/contexts/diagram-context.tsx:110
Function
handleDownload
()
frontend/components/autofigure/EnhancedImageGallery.tsx:72
Function
handleDragLeave
(e: React.DragEvent<HTMLFormElement>)
frontend/components/chat-input.tsx:251
Function
handleDragOver
(e: React.DragEvent<HTMLFormElement>)
frontend/components/chat-input.tsx:245
Function
handleDrop
(e: React.DragEvent<HTMLFormElement>)
frontend/components/chat-input.tsx:257
Function
handleEditMessage
(messageIndex: number, newText: string)
frontend/components/chat-panel.tsx:941
Function
handleExport
()
frontend/contexts/diagram-context.tsx:66
Function
handleFileChange
(newFiles: File[])
frontend/lib/use-file-processor.tsx:27
Function
handleFileUpload
(e: React.ChangeEvent<HTMLInputElement>)
frontend/components/autofigure/AutoFigureConfigPanel.tsx:61
Function
handleFileUpload
(e: React.ChangeEvent<HTMLInputElement>)
frontend/components/autofigure/BottomBar.tsx:53
Function
handleFileUpload
(e: React.ChangeEvent<HTMLInputElement>)
frontend/app/autofigure/page.tsx:89
Function
handleFinalize
()
frontend/app/autofigure/canvas/page.tsx:227
Function
handleImageGenerated
(imageBase64: string)
frontend/app/autofigure/canvas/page.tsx:270
Function
handleInputChange
( e: React.ChangeEvent<HTMLInputElement | HTMLTextAreaElement>, )
frontend/components/chat-panel.tsx:757
Function
handleKeyDown
(e: React.KeyboardEvent)
frontend/components/quota-limit-toast.tsx:24
Function
handleKeyDown
(e: React.KeyboardEvent)
frontend/components/save-dialog.tsx:61
Function
handleKeyDown
(e: React.KeyboardEvent)
frontend/components/settings-dialog.tsx:145
Function
handleKeyDown
(e: React.KeyboardEvent)
frontend/components/chat-input.tsx:177
Function
handleKeyDown
(e: React.KeyboardEvent)
frontend/components/error-toast.tsx:11
Function
handleKeyDown
(e: KeyboardEvent)
frontend/components/autofigure/SettingsModal.tsx:26
Function
handleKeyDown
(e: React.KeyboardEvent)
frontend/components/autofigure/IterationControlsFloating.tsx:204
Function
handleKeyDown
(e: React.KeyboardEvent)
frontend/components/autofigure/BottomBar.tsx:125
Function
handleKeyDown
(e: React.KeyboardEvent)
frontend/components/autofigure/EnhancedImageGallery.tsx:101
Function
handleKeyDown
(e: KeyboardEvent)
frontend/app/autofigure/page.tsx:72
Function
handleNext
()
frontend/components/autofigure/IterationControlsFloating.tsx:112
Function
handleNext
()
frontend/components/autofigure/IterationControls.tsx:57
Function
handleOpenChange
(newOpen: boolean)
frontend/components/ai-elements/reasoning.tsx:92
Function
handlePaste
(e: React.ClipboardEvent)
frontend/components/chat-input.tsx:187
Function
handlePdfExample
()
frontend/components/chat-example-panel.tsx:94
Function
handlePrevious
()
frontend/components/autofigure/IterationControlsFloating.tsx:101
Function
handlePrevious
()
frontend/components/autofigure/IterationControls.tsx:46
Function
handleRegenerate
(messageIndex: number)
frontend/components/chat-panel.tsx:886
Function
handleRemoveFile
(fileToRemove: File)
frontend/components/chat-input.tsx:234
Function
handleReplicateArchitecture
()
frontend/components/chat-example-panel.tsx:79
Function
handleReplicateFlowchart
()
frontend/components/chat-example-panel.tsx:66
Function
handleSave
()
frontend/components/autofigure/ImageGenSettings.tsx:38
Function
handleSaveSettings
(config: typeof imageGenConfig)
frontend/components/autofigure/IterationControlsFloating.tsx:213
Function
handleSelect
()
frontend/components/autofigure/EnhancedImageGallery.tsx:80
Function
handleStart
()
frontend/components/autofigure/AutoFigureConfigPanel.tsx:127
Function
handleStart
()
frontend/components/autofigure/BeautificationDialog.tsx:41
Function
handleStartBeautification
()
frontend/app/autofigure/canvas/page.tsx:252
Function
handleZoomIn
()
frontend/components/autofigure/EnhancedImageGallery.tsx:64
Function
handleZoomOut
()
frontend/components/autofigure/EnhancedImageGallery.tsx:68
Function
health_check
()
backend/app.py:36
Function
health_check
Health check endpoint for AutoFigure.
backend/autofigure_routes.py:256
Method
is_available
Check if enhancement is available (API key configured).
autofigure/enhancer.py:949
Function
is_markdown
Check if a file is a Markdown file.
autofigure/utils/file_utils.py:128
Function
is_pdf
Check if a file is a PDF.
autofigure/utils/file_utils.py:123
Method
llm_client
Lazy-load LLM client.
autofigure/extractor.py:62
Function
loadIteration
(xml: string)
frontend/app/autofigure/canvas/page.tsx:264
Function
onDrawioLoad
()
frontend/contexts/diagram-context.tsx:46
Function
onFormSubmit
(e: React.FormEvent<HTMLFormElement>)
frontend/components/chat-panel.tsx:634
Function
onToolCall
({ toolCall })
frontend/components/chat-panel.tsx:210
Function
read_text_file
Read text content from a file. Args: path: File path encoding: Text encoding Returns: File content, or None on
autofigure/utils/file_utils.py:26
Function
register
()
frontend/instrumentation.ts:4
Function
repair_json
Attempts to repair a broken JSON string. Args: broken_json: The broken JSON text. error_message: The error message from
autofigure/generator.py:709
Function
rewrites
()
frontend/next.config.ts:7
Function
safeHandler
(req: Request)
frontend/app/api/chat/route.ts:569
Function
start_enhancement
Start the image beautification/enhancement process using REAL implementation.
backend/autofigure_routes.py:839
Function
start_generation
Start the initial figure generation using REAL autofigure.
backend/autofigure_routes.py:341
Function
toggleDarkMode
()
frontend/app/autofigure/page.tsx:82
Function
toggleDarkMode
()
frontend/app/autofigure/canvas/page.tsx:156
Function
toggleExpanded
()
frontend/components/chat-message-display.tsx:408
Function
triggerFileInput
()
frontend/components/chat-input.tsx:241
Function
verify_token
Decorator to verify JWT token from Authorization header. AutoFigure is a standalone app, so authentication is optional. If a token is provide
backend/autofigure_routes.py:168
Function
write_text_file
Write text content to a file. Args: path: File path content: Text content to write encoding: Text encoding Retu
autofigure/utils/file_utils.py:45
← previous
301–374 of 374, ranked by callers