MCPcopy Create free account

hub / github.com/OpenDCAI/Paper2Any / functions

Functions4,061 in github.com/OpenDCAI/Paper2Any

↓ 2 callersFunctiononSearchAuthor
()
frontend-workflow/src/components/paper2citation/index.tsx:646
↓ 2 callersFunctionopenSecureAsset
(pathOrUrl: string)
frontend-workflow/src/services/secureAssetService.ts:100
↓ 2 callersFunctionpaddle_ocr_page_with_layout
对单页图片执行: - 读取 + 预处理(放大 + 锐化) - PaddleOCR 识别 - 坐标从 OCR 分辨率映射回原图 - 行合并 - 正文行高估计 - 背景颜色估计 返回: { "image_size
dataflow_agent/toolkits/multimodaltool/ppt_tool.py:574
↓ 2 callersFunctionparseErrorMessage
(res: Response, fallback: string)
frontend-workflow/src/components/paper2ppt/index.tsx:458
↓ 2 callersMethodparse_generation_response
Parse generation response and return base64 image
dataflow_agent/toolkits/multimodaltool/providers.py:1372
↓ 2 callersFunctionparse_script_with_cursor
解析脚本的内容,将其分割成(prompt, cursor_prompt)两部分
dataflow_agent/toolkits/p2vtool/p2v_tool.py:1501
↓ 2 callersFunctionpickSchemaTemplateKeyFromBlocks
( blocks: FrontendSlideBlock[], visualAssetCount: number, )
frontend-workflow/src/components/paper2ppt/index.tsx:665
↓ 2 callersFunctionpollPaper2PptTask
( taskId: string, onUpdate?: (task: Paper2PPTTaskResponse) => void, )
frontend-workflow/src/components/paper2ppt/index.tsx:485
↓ 2 callersFunctionprocessTextBlock
(block: string)
frontend-workflow/src/components/knowledge-base/tools/ChatTool.tsx:36
↓ 2 callersFunctionprocess_knowledge_base_files
Helper function to process a list of files. Args: file_list: List of dicts, each containing 'path' and optional 'description'.
dataflow_agent/toolkits/ragtool/vector_store_tool.py:434
↓ 2 callersMethodprocess_react_mode
ReAct 模式处理 - 带验证的循环调用 循环调用 LLM 直到输出通过所有验证器,或达到最大重试次数。 Args: state (MainState): 当前状态对象
dataflow_agent/agentroles/cores/base_agent.py:758
↓ 2 callersFunctionpush
(value?: string)
frontend-workflow/src/config/models.ts:105
↓ 2 callersMethodregister
(cls, name: str, agent_cls: Type["BaseAgent"])
dataflow_agent/agentroles/cores/registry.py:10
↓ 2 callersMethodregister_post_tool
注册后置工具
dataflow_agent/toolkits/tool_manager.py:33
↓ 2 callersMethodregister_pre_tool
注册前置工具
dataflow_agent/toolkits/tool_manager.py:22
↓ 2 callersMethodrelease
(held: _HeldLockSlot)
fastapi_app/interprocess_lock.py:58
↓ 2 callersFunctionrenderCanvasPlaceholder
(node: FrontendCanvasNode, label: string)
frontend-workflow/src/components/paper2ppt/frontendSchemaRenderer.ts:178
↓ 2 callersFunctionrenderErrorAlert
(className: string = 'mt-4')
frontend-workflow/src/components/Ppt2PolishPage.tsx:325
↓ 2 callersFunctionrenderFixedPageLabel
(slide: FrontendSlide)
frontend-workflow/src/components/paper2ppt/frontendSchemaRenderer.ts:113
↓ 2 callersFunctionrenderSvgForExport
()
frontend-workflow/src/components/knowledge-base/tools/MermaidPreview.tsx:73
↓ 2 callersFunctionrenderTableMarkup
( slide: FrontendSlide, owner: FrontendSlideBlock | FrontendBlockChild, className: string, includeBloc
frontend-workflow/src/components/paper2ppt/frontendSchemaRenderer.ts:567
↓ 2 callersFunctionrender_operator_blocks_with_full_params
渲染算子初始化和调用代码(完整支持 init + run 参数)
dataflow_agent/toolkits/pipetool/pipe_tools.py:712
↓ 2 callersFunctionrender_svg_to_image
使用 CairoSVG 将 SVG 渲染为图片或文档文件。 该函数支持两种输入方式: 1. ``from_string=False`` (默认):``svg_source`` 视为 SVG 文件路径。 2. ``from_string=True``:``svg_s
dataflow_agent/toolkits/multimodaltool/bg_tool.py:622
↓ 2 callersFunctionrequestFrontendSlideGeneration
({ slideIndex, prompt, resultPathValue, slideSnapshot, }: { slideIndex: number; prom
frontend-workflow/src/components/paper2ppt/index.tsx:2516
↓ 2 callersFunctionrequestFrontendSlideReview
({ slide, resultPathValue, layoutIssues, screenshot, }: { slide: FrontendSlide; resu
frontend-workflow/src/components/paper2ppt/index.tsx:2565
↓ 2 callersFunctionresolveBlockNode
(target: HTMLElement)
frontend-workflow/src/components/paper2ppt/FrontendSlidePreview.tsx:276
↓ 2 callersFunctionresolveCanvasVisualTheme
( theme?: FrontendDeckTheme | null, visualSpec?: FrontendCanvasVisualSpec | null, )
frontend-workflow/src/components/paper2ppt/canvasPptxExporter.ts:79
↓ 2 callersFunctionresolveInsertZoneNode
(target: HTMLElement)
frontend-workflow/src/components/paper2ppt/FrontendSlidePreview.tsx:283
↓ 2 callersFunctionresolveListRef
(slide: FrontendSlide, ref: unknown, fallback: string[] = [])
frontend-workflow/src/components/paper2ppt/canvasPptxExporter.ts:287
↓ 2 callersFunctionresolveTableData
(slide: FrontendSlide, node: FrontendCanvasNode)
frontend-workflow/src/components/paper2ppt/canvasPptxExporter.ts:315
↓ 2 callersFunctionresolveTheme
(theme?: FrontendDeckTheme | null)
frontend-workflow/src/components/paper2ppt/frontendSchemaRenderer.ts:277
↓ 2 callersFunctionresolve_p2v_cursor_image_path
(cursor_img_path: Optional[str] = None)
dataflow_agent/toolkits/p2vtool/p2v_tool.py:233
↓ 2 callersFunctionresolve_p2v_subtitle_font_path
(font_path: Optional[str] = None)
dataflow_agent/toolkits/p2vtool/p2v_tool.py:137
↓ 2 callersFunctionrun
(cmd: list[str], **kw)
dataflow_agent/toolkits/dockertool/build_docker.py:40
↓ 2 callersFunctionrunQuotaGuard
()
frontend-workflow/src/components/paper2citation/index.tsx:637
↓ 2 callersFunctionrun_aio_batch_two_step_extract
异步批量调用 MinerU two_step_extract,处理多张图片并返回结果列表。
dataflow_agent/toolkits/multimodaltool/mineru_tool.py:288
↓ 2 callersFunctionrun_cases
(cfg: SmokeConfig, case_names: list[str])
tests/_archive/manual/frontend_workflows/test_frontend_workflows.py:384
↓ 2 callersFunctionrun_paper2figure_wf_api_local
paper2figure 工作流主入口。 Args: req: 前端通过 FormData 映射而来的请求参数,关键字段: - input_type: "PDF" | "TEXT" | "FIGURE" -
fastapi_app/workflow_adapters/wa_paper2figure.py:212
↓ 2 callersFunctionrun_paper2figure_with_sam_pipeline
执行 paper2figure_with_sam 工作流的测试流程
tests/_archive/manual/workflows/test_paper2figure_with_sam.py:18
↓ 2 callersFunctionrun_pdf2ppt_wf_api_local
对 pdf2ppt_with_sam workflow 的封装。 入参: - req.input_type: 目前预期为 "PDF" - req.input_content: PDF 文件路径(上传后保存到本地的路径) - req.
fastapi_app/workflow_adapters/wa_pdf2ppt.py:66
↓ 2 callersFunctionrun_sam_auto_server
Run SAM auto segmentation via remote/local server. Parameters ---------- image_path : str Path to the input image. serve
dataflow_agent/toolkits/multimodaltool/sam_tool.py:916
↓ 2 callersFunctionrun_sam_text_prompt
Run SAM3 text-prompted segmentation on a single image. Returns the same structure as run_sam_auto.
dataflow_agent/toolkits/multimodaltool/sam_tool.py:644
↓ 2 callersFunctionsample_fill_stroke
Sample fill & stroke colors from original image using the mask. Returns (fill_hex, stroke_hex).
dataflow_agent/toolkits/image2drawio/utils.py:90
↓ 2 callersFunctionsanitizeCss
(value: string)
frontend-workflow/src/components/paper2ppt/frontendSlideUtils.ts:29
↓ 2 callersFunctionsanitizeTemplate
(value: string)
frontend-workflow/src/components/paper2ppt/frontendSlideUtils.ts:23
↓ 2 callersFunctionsanitize_cells_xml
Clean mxCell XML output to reduce common rendering failures.
dataflow_agent/toolkits/drawio_tools.py:136
↓ 2 callersFunctionsave_masked_rgba
Save masked region as RGBA PNG with alpha channel.
dataflow_agent/toolkits/image2drawio/utils.py:179
↓ 2 callersMethodsave_messages
保存消息到 checkpointer Args: messages: 要保存的消息列表 thread_id: 线程ID metadata: 额外的元数据
dataflow_agent/graphbuilder/message_history.py:473
↓ 2 callersMethodsearch
Search knowledge base. Args: query: Query string. top_k: Number of results to return. fi
dataflow_agent/toolkits/ragtool/vector_store_tool.py:125
↓ 2 callersMethodsearch_authors
(self, author_name: str, per_page: int = 12)
dataflow_agent/toolkits/citationtool/citation_utils.py:501
↓ 2 callersMethodsearch_authors
(self, author_name: str, per_page: int = 20)
dataflow_agent/toolkits/citationtool/citation_utils.py:659
↓ 2 callersMethodsearch_work_by_bibliographic
(self, query: str)
dataflow_agent/toolkits/citationtool/citation_utils.py:634
↓ 2 callersFunctionsegment_arrows
( image_path: Path, checkpoint: Path, device: str, out_dir: Path, save_debug: bool = True,
tests/_archive/manual/workflows/test_sam3_arrows.py:146
↓ 2 callersFunctionsimpleHash
* Generate a hash from a string using a simple but fast algorithm.
frontend-workflow/src/services/fingerprintService.ts:13
↓ 2 callersFunctionsimplify_author_candidate
(author: Dict[str, Any])
dataflow_agent/toolkits/citationtool/citation_utils.py:141
↓ 2 callersFunctionsplit_tts_text_by_bytes
(content: str, limit_bytes: int)
dataflow_agent/toolkits/multimodaltool/req_tts.py:60
↓ 2 callersMethodstart
(self)
dataflow_agent/agentroles/paper2any_agents/websearch_researcher.py:179
↓ 2 callersFunctionstripHash
(value: string)
frontend-workflow/src/components/paper2ppt/canvasPptxExporter.ts:115
↓ 2 callersFunctionsubmitPaper2PptTask
( formData: FormData, workflowAmount?: number, )
frontend-workflow/src/components/paper2ppt/index.tsx:462
↓ 2 callersFunctionsyncSession
(session: any)
frontend-workflow/src/components/AuthProvider.tsx:28
↓ 2 callersFunctiontask
(ctr_state: ChartTypeRecommenderState)
dataflow_agent/workflow/wf_paper2expfigure.py:582
↓ 2 callersFunctiontoPptBox
(node: FrontendLayoutIRNode)
frontend-workflow/src/components/paper2ppt/canvasPptxExporter.ts:220
↓ 2 callersFunctiontranscribe_with_whisperx
根据ref_audio生成对应的ref_text,从而在后续使用f5模型时,提供对齐文本,更好的提高最后audio的效果。 device_id: 指定 GPU 编号时,在子进程中运行 whisperx(CUDA_VISIBLE_DEVICES 在子进程生效);None 表示当前进程默认 GP
dataflow_agent/toolkits/p2vtool/p2v_tool.py:1552
↓ 2 callersFunctiontriggerDownload
(blob: Blob, filename: string)
frontend-workflow/src/components/MindMapPage.tsx:279
↓ 2 callersFunctiontry_import
(module_path: str)
dataflow_agent/toolkits/pipetool/pipe_tools.py:278
↓ 2 callersMethodunion
(x, y)
dataflow_agent/workflow/wf_paper2drawio_sam3.py:696
↓ 2 callersFunctionunlockPreviewAction
()
frontend-workflow/src/components/paper2graph/PreviewSection.tsx:76
↓ 2 callersFunctionupdatePosition
()
frontend-workflow/src/components/NavTooltip.tsx:14
↓ 2 callersFunctionupdateScale
()
frontend-workflow/src/components/paper2ppt/FrontendSlidePreview.tsx:88
↓ 2 callersFunctionupdateSelectedNode
(patch: Partial<Pick<MindMapTreeNode, 'label' | 'summary'>>)
frontend-workflow/src/components/MindMapPage.tsx:371
↓ 2 callersFunctionupdateShape
(shape: MaskSelectionShape)
frontend-workflow/src/components/paper2ppt/MaskSelectionEditor.tsx:73
↓ 2 callersMethodupdate_state_result
把初始分析结果写回 state.agent_results。
dataflow_agent/agentroles/paper2any_agents/websearch_initial_analyzer.py:529
↓ 2 callersFunctionuploadGeneratedResultBlob
(blob: Blob, fileName: string)
frontend-workflow/src/components/paper2ppt/index.tsx:2780
↓ 2 callersFunctionvalidateDocFile
(file: File)
frontend-workflow/src/components/Pdf2PptPage.tsx:161
↓ 2 callersFunctionvalidateDocFile
(file: File)
frontend-workflow/src/components/Ppt2PolishPage.tsx:538
↓ 2 callersFunctionvalidateDocFile
(file: File)
frontend-workflow/src/components/paper2ppt/index.tsx:2838
↓ 2 callersFunctionvalidateDocument
(file: File)
frontend-workflow/src/components/paper2video/index.tsx:142
↓ 2 callersFunctionvalidateFrontendSlideCode
( slide: FrontendSlide, htmlTemplate: string, cssCode: string, )
frontend-workflow/src/components/paper2ppt/frontendSlideUtils.ts:267
↓ 2 callersFunctionvalidateImageFile
(file: File)
frontend-workflow/src/components/Image2PptPage.tsx:160
↓ 2 callersFunctionvalidateImageFile
(file: File)
frontend-workflow/src/components/Image2DrawioPage.tsx:140
↓ 2 callersFunctionvalidatePdfFile
(file: File)
frontend-workflow/src/components/paper2poster/index.tsx:172
↓ 2 callersFunctionwalk
(node: TreeNode, depth: number, parentId?: string)
frontend-workflow/src/components/knowledge-base/tools/MindMapFlowEditor.tsx:84
↓ 2 callersFunctionwrapText
(value: string, maxChars: number, maxLines: number)
frontend-workflow/src/utils/mindmapTree.ts:349
↓ 1 callersMethod__init__
(self, toolkit: PlaywrightToolKit, llm_config: Optional[Dict] = None, dom_save_dir: Optional[Path] = None)
dataflow_agent/agentroles/paper2any_agents/websearch_researcher.py:534
↓ 1 callersFunction_abs_path
(p: str)
dataflow_agent/workflow/wf_paper2page_content_for_long_paper.py:97
↓ 1 callersFunction_adaptive_fill_text_regions
( img_path: str, text_boxes_norm: List[List[float]], output_path: str, *, skip_boxes_norm:
dataflow_agent/workflow/wf_pdf2ppt_qwenvl.py:106
↓ 1 callersMethod_add_contrast_color
add contrast color for keyword highlighting
dataflow_agent/toolkits/postertool/src/agents/color_agent.py:174
↓ 1 callersFunction_add_edge_waypoints
(root: ET.Element, cell_by_id: Dict[str, ET.Element])
dataflow_agent/toolkits/drawio_tools.py:319
↓ 1 callersMethod_add_enhanced_text
add text with enhanced formatting support
dataflow_agent/toolkits/postertool/src/agents/renderer.py:331
↓ 1 callersMethod_add_formatted_runs
add text with all formatting as separate runs - following pptx best practices
dataflow_agent/toolkits/postertool/src/agents/renderer.py:398
↓ 1 callersFunction_add_smart_textbox
Add a text box with stable wrapping + optional render-fit sizing (LibreOffice).
dataflow_agent/workflow/deprecated/wf_pdf2ppt_optimized.py:441
↓ 1 callersMethod_add_visual_with_aspect_ratio
add visual with proper aspect ratio preservation and optional scaling
dataflow_agent/toolkits/postertool/src/agents/renderer.py:615
↓ 1 callersFunction_allowed_user_output_roots
(user: AuthUser)
fastapi_app/routers/files.py:110
↓ 1 callersFunction_allowed_user_output_roots
(user: AuthUser)
fastapi_app/routers/kb.py:91
↓ 1 callersFunction_allowed_user_roots
(user: AuthUser)
fastapi_app/routers/kb_embedding.py:28
↓ 1 callersMethod_analyze_content_and_generate_tasks
使用 LLM 分析正文内容,生成子任务列表 Args: url: 原始 URL extracted_content: 提取的正文内容 Returns:
dataflow_agent/agentroles/paper2any_agents/websearch_initial_analyzer.py:233
↓ 1 callersMethod_analyze_figure_for_color
analyze figure to extract theme color
dataflow_agent/toolkits/postertool/src/agents/color_agent.py:124
↓ 1 callersMethod_apply_content_styling
apply styling to content elements with keyword highlighting
dataflow_agent/toolkits/postertool/src/agents/font_agent.py:135
↓ 1 callersMethod_apply_keyword_highlighting
apply semantic-based keyword highlighting with three distinct styles
dataflow_agent/toolkits/postertool/src/agents/font_agent.py:181
↓ 1 callersMethod_apply_outline_patch_plan
( self, pagecontent: List[Dict[str, Any]], plan: Dict[str, Any], )
fastapi_app/services/paper2ppt_service.py:1476
← previousnext →1,001–1,100 of 4,061, ranked by callers