MCPcopy Create free account

hub / github.com/ResearAI/AutoFigure / functions

Functions374 in github.com/ResearAI/AutoFigure

FunctionCollapsible
({ ...props }: React.ComponentProps<typeof CollapsiblePrimitive.Root>)
frontend/components/ui/collapsible.tsx:5
FunctionCollapsibleContent
({ ...props }: React.ComponentProps<typeof CollapsiblePrimitive.CollapsibleContent>)
frontend/components/ui/collapsible.tsx:22
FunctionCollapsibleSection
({ title, icon, children, defaultOpen = true }: CollapsibleSectionProps)
frontend/components/autofigure/AutoFigureConfigPanel.tsx:27
FunctionCollapsibleTrigger
({ ...props }: React.ComponentProps<typeof CollapsiblePrimitive.CollapsibleTrigger>)
frontend/components/ui/collapsible.tsx:11
FunctionDiagramProvider
({ children }: { children: React.ReactNode })
frontend/contexts/diagram-context.tsx:33
FunctionDialog
({ ...props }: React.ComponentProps<typeof DialogPrimitive.Root>)
frontend/components/ui/dialog.tsx:9
FunctionDialogClose
({ ...props }: React.ComponentProps<typeof DialogPrimitive.Close>)
frontend/components/ui/dialog.tsx:27
FunctionDialogContent
({ className, children, ...props }: React.ComponentProps<typeof DialogPrimitive.Content>)
frontend/components/ui/dialog.tsx:49
FunctionDialogDescription
({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Description>)
frontend/components/ui/dialog.tsx:111
FunctionDialogFooter
({ className, ...props }: React.ComponentProps<"div">)
frontend/components/ui/dialog.tsx:85
FunctionDialogHeader
({ className, ...props }: React.ComponentProps<"div">)
frontend/components/ui/dialog.tsx:75
FunctionDialogOverlay
({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Overlay>)
frontend/components/ui/dialog.tsx:33
FunctionDialogPortal
({ ...props }: React.ComponentProps<typeof DialogPrimitive.Portal>)
frontend/components/ui/dialog.tsx:21
FunctionDialogTitle
({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Title>)
frontend/components/ui/dialog.tsx:98
FunctionDialogTrigger
({ ...props }: React.ComponentProps<typeof DialogPrimitive.Trigger>)
frontend/components/ui/dialog.tsx:15
FunctionEditDiffDisplay
({ edits }: { edits: EditPair[] })
frontend/components/chat-message-display.tsx:54
FunctionEnhancedImageGallery
({ isOpen, onClose, onSelect, }: EnhancedImageGalleryProps)
frontend/components/autofigure/EnhancedImageGallery.tsx:26
FunctionErrorToast
({ message, onDismiss }: ErrorToastProps)
frontend/components/error-toast.tsx:10
FunctionExampleCard
({ icon, title, description, onClick, isNew, }: ExampleCardProps)
frontend/components/chat-example-panel.tsx:13
FunctionExamplePanel
({ setInput, setFiles, }: { setInput: (input: string) => void setFiles: (files: File[]) => voi
frontend/components/chat-example-panel.tsx:59
FunctionFilePreviewList
({ files, onRemoveFile, pdfData = new Map(), }: FilePreviewListProps)
frontend/components/file-preview-list.tsx:24
FunctionGET
()
frontend/app/api/config/route.ts:3
FunctionGenerationOverlay
()
frontend/components/autofigure/GenerationOverlay.tsx:6
FunctionHistoryDialog
({ showHistory, onToggleHistory, }: HistoryDialogProps)
frontend/components/history-dialog.tsx:21
FunctionHome
()
frontend/app/page.tsx:3
FunctionImageGenSettings
({ isOpen, onClose, config, onSave, }: ImageGenSettingsProps)
frontend/components/autofigure/ImageGenSettings.tsx:21
FunctionInput
({ className, type, ...props }: React.ComponentProps<"input">)
frontend/components/ui/input.tsx:5
FunctionIterationControls
({ onContinue, onFinalize, onLoadIteration, }: IterationControlsProps)
frontend/components/autofigure/IterationControls.tsx:21
FunctionIterationControlsFloating
({ onContinue, onFinalize, onLoadIteration, onImageGenerated, }: IterationControlsFloatingProp
frontend/components/autofigure/IterationControlsFloating.tsx:31
FunctionLabel
({ className, ...props }: React.ComponentProps<typeof LabelPrimitive.Root>)
frontend/components/ui/label.tsx:8
FunctionPOST
(req: Request)
frontend/app/api/chat/route.ts:580
FunctionPOST
(req: Request)
frontend/app/api/log-save/route.ts:11
FunctionPOST
(request: NextRequest)
frontend/app/api/pdf-to-markdown/route.ts:11
FunctionPOST
(req: Request)
frontend/app/api/log-feedback/route.ts:11
FunctionPOST
(req: Request)
frontend/app/api/verify-access-code/route.ts:1
FunctionQuotaLimitToast
({ type = "request", used, limit, onDismiss, }: QuotaLimitToastProps)
frontend/components/quota-limit-toast.tsx:15
FunctionResetWarningModal
({ open, onOpenChange, onClear, }: ResetWarningModalProps)
frontend/components/reset-warning-modal.tsx:19
FunctionResizableHandle
({ withHandle, className, ...props }: React.ComponentProps<typeof ResizablePrimitive.PanelResizeHandle>
frontend/components/ui/resizable.tsx:31
FunctionResizablePanel
({ ...props }: React.ComponentProps<typeof ResizablePrimitive.Panel>)
frontend/components/ui/resizable.tsx:25
FunctionResizablePanelGroup
({ className, ...props }: React.ComponentProps<typeof ResizablePrimitive.PanelGroup>)
frontend/components/ui/resizable.tsx:9
FunctionRootLayout
({ children, }: Readonly<{ children: React.ReactNode }>)
frontend/app/layout.tsx:86
FunctionSaveDialog
({ open, onOpenChange, onSave, defaultFilename, }: SaveDialogProps)
frontend/components/save-dialog.tsx:40
FunctionScrollArea
({ className, children, ...props }: React.ComponentProps<typeof ScrollAreaPrimitive.Root>)
frontend/components/ui/scroll-area.tsx:8
FunctionScrollBar
({ className, orientation = "vertical", ...props }: React.ComponentProps<typeof ScrollAreaPrimitive.Scro
frontend/components/ui/scroll-area.tsx:31
FunctionSelect
({ ...props }: React.ComponentProps<typeof SelectPrimitive.Root>)
frontend/components/ui/select.tsx:9
FunctionSelectContent
({ className, children, position = "popper", align = "center", ...props }: React.ComponentProps<type
frontend/components/ui/select.tsx:53
FunctionSelectGroup
({ ...props }: React.ComponentProps<typeof SelectPrimitive.Group>)
frontend/components/ui/select.tsx:15
FunctionSelectItem
({ className, children, ...props }: React.ComponentProps<typeof SelectPrimitive.Item>)
frontend/components/ui/select.tsx:103
FunctionSelectLabel
({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.Label>)
frontend/components/ui/select.tsx:90
FunctionSelectScrollDownButton
({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.ScrollDownButton>)
frontend/components/ui/select.tsx:158
FunctionSelectScrollUpButton
({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.ScrollUpButton>)
frontend/components/ui/select.tsx:140
FunctionSelectSeparator
({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.Separator>)
frontend/components/ui/select.tsx:127
FunctionSelectTrigger
({ className, size = "default", children, ...props }: React.ComponentProps<typeof SelectPrimitive.Trig
frontend/components/ui/select.tsx:27
FunctionSelectValue
({ ...props }: React.ComponentProps<typeof SelectPrimitive.Value>)
frontend/components/ui/select.tsx:21
FunctionSettingsDialog
({ open, onOpenChange, onCloseProtectionChange, drawioUi, onToggleDrawioUi, darkMode,
frontend/components/settings-dialog.tsx:49
FunctionSettingsModal
({ isOpen, onClose }: SettingsModalProps)
frontend/components/autofigure/SettingsModal.tsx:20
FunctionShimmerComponent
({ children, as: Component = "p", className, duration = 2, spread = 2, }: TextShimmerProps
frontend/components/ai-elements/shimmer.tsx:21
FunctionSwitch
({ className, ...props }: React.ComponentProps<typeof SwitchPrimitive.Root>)
frontend/components/ui/switch.tsx:8
FunctionTextarea
({ className, ...props }: React.ComponentProps<"textarea">)
frontend/components/ui/textarea.tsx:5
FunctionTooltip
({ ...props }: React.ComponentProps<typeof TooltipPrimitive.Root>)
frontend/components/ui/tooltip.tsx:21
FunctionTooltipContent
({ className, sideOffset = 0, children, ...props }: React.ComponentProps<typeof TooltipPrimitive.Conte
frontend/components/ui/tooltip.tsx:37
FunctionTooltipProvider
({ delayDuration = 0, ...props }: React.ComponentProps<typeof TooltipPrimitive.Provider>)
frontend/components/ui/tooltip.tsx:8
FunctionTooltipTrigger
({ ...props }: React.ComponentProps<typeof TooltipPrimitive.Trigger>)
frontend/components/ui/tooltip.tsx:31
Method__init__
Initialize the methodology extractor. Args: config: AutoFigure SDK configuration
autofigure/extractor.py:51
Method__init__
Initialize AutoFigureAgent. Args: config: AutoFigure configuration
autofigure/agent.py:70
Method__init__
Initialize the image enhancer. Args: config: AutoFigure SDK configuration
autofigure/enhancer.py:258
Method__init__
Initialize the VLM-as-Judge evaluation system. Args: output_folder: Output folder for evaluation results.
autofigure/judge.py:144
Method__init__
Initialize LLM client. Args: api_key: API key for the provider base_url: Base URL for the API endpoint
autofigure/utils/llm_client.py:26
Method__post_init__
Initialize default values after dataclass creation.
autofigure/config.py:66
Function_call_bianxie_chat
DEPRECATED: Use call_unified_llm instead. This is kept for backward compatibility.
autofigure/generator.py:231
Function_call_provider_unified
Unified entry point for multiple LLM providers. Uses Google GenAI for 'gemini', OpenAI-compatible API for others.
autofigure/judge.py:36
Function_run_enhancement
Run enhancement in background thread using SDK classes. Modes: - 'none': Direct visual enhancement - AI analyzes layout PNG and enhances
backend/autofigure_routes.py:1035
Functionapi_health_check
()
backend/app.py:40
Methodbatch_evaluate_individual
Batch evaluate individual figure scores. Args: figure_folder: Path to figures folder. figure_type: F
autofigure/judge.py:1101
Methodbatch_pairwise_comparison
Batch pairwise comparison evaluation. Args: generated_folder: Generated figures folder. true_folder:
autofigure/judge.py:1175
Methodcall_with_system
Call the LLM with a system prompt and user message. Args: system_prompt: System message user_contents: List
autofigure/utils/llm_client.py:117
Methodcomparison_wrapper
Wrapper function for pairwise comparison.
autofigure/judge.py:487
Functioncontinue_iteration
Continue to the next iteration with optional human feedback using REAL autofigure.
backend/autofigure_routes.py:564
Functioncopy_file
Copy a file from source to destination. Args: src: Source file path dst: Destination file path Returns: True on
autofigure/utils/file_utils.py:88
Functioncreate_session
Create a new AutoFigure session.
backend/autofigure_routes.py:269
Functiondecorated
(*args, **kwargs)
backend/autofigure_routes.py:176
FunctiondefaultGetThinkingMessage
(isStreaming: boolean, duration?: number)
frontend/components/ai-elements/reasoning.tsx:119
Functiondelete_session
Delete a session.
backend/autofigure_routes.py:1011
Methodenhancer
Lazy-load image enhancer.
autofigure/agent.py:97
Functionensure_dir
Ensure a directory exists, creating it if necessary. Args: path: Directory path Returns: Path object for the directory
autofigure/utils/file_utils.py:11
Methodevaluate_single_wrapper
Wrapper function for single figure evaluation.
autofigure/judge.py:434
Functionextract_layout_type
(svg_code: str)
autofigure/generator.py:302
Methodextractor
Lazy-load methodology extractor.
autofigure/agent.py:90
Functionfinalize_layout
Finalize the layout before beautification.
backend/autofigure_routes.py:782
Methodfrom_env
Create Config from environment variables. Environment variables: AUTOFIGURE_API_KEY: Main API key for generation
autofigure/config.py:160
Methodgenerate_from_file
Generate a figure from a content file (Markdown or text). The file should contain a description of the figure to generate.
autofigure/agent.py:406
Methodgenerate_from_paper
Generate a figure by extracting methodology from a paper. Args: paper_path: Path to the paper file (PDF or Markdown)
autofigure/agent.py:296
Functiongenerate_image
Generate an image using user-provided API configuration. The generated image will be directly applicable to the draw.io canvas. Request
backend/autofigure_routes.py:1274
FunctiongetSystemPromptTokenCounts
()
frontend/lib/token-counter.ts:27
Functionget_enhancement_status
Get the status of the enhancement process. Query params: include_images: 'true' to include full image data (default: only on completion)
backend/autofigure_routes.py:927
Functionget_session
Get full session data.
backend/autofigure_routes.py:986
Functionget_temp_path
Get a temporary file path. Args: suffix: File suffix (e.g., '.svg') prefix: File prefix Returns: Path to a temp
autofigure/utils/file_utils.py:72
FunctionhandleBack
()
frontend/app/autofigure/canvas/page.tsx:411
FunctionhandleBackdropClick
(e: React.MouseEvent)
frontend/components/autofigure/ImageGenSettings.tsx:42
FunctionhandleBeforeUnload
()
frontend/components/chat-panel.tsx:607
← previousnext →201–300 of 374, ranked by callers