MCPcopy Create free account

hub / github.com/OpenDCAI/Paper2Any / functions

Functions4,061 in github.com/OpenDCAI/Paper2Any

↓ 1 callersMethodregister
(cls, name: str, factory: Callable)
dataflow_agent/workflow/registry.py:8
↓ 1 callersMethodregister_agent_as_tool
将 agent 注册为后置工具 Args: agent: BaseAgent 实例 state: DFState 实例 role: 要注册到哪个角色的后置工具,None 表示全
dataflow_agent/toolkits/tool_manager.py:83
↓ 1 callersFunctionrel_bbox_to_pixel
(bbox, width, height)
dataflow_agent/utils_common.py:513
↓ 1 callersFunctionreleaseOutlineSubmitGuard
(cooldownMs: number = 1500)
frontend-workflow/src/components/paper2ppt/index.tsx:294
↓ 1 callersFunctionreleaseUploadSubmitGuard
(cooldownMs: number = 1200)
frontend-workflow/src/components/paper2ppt/index.tsx:283
↓ 1 callersFunctionremoveCanvasNodeByAssetKey
( node: FrontendCanvasNode, imageKey: string, )
frontend-workflow/src/components/paper2ppt/index.tsx:1794
↓ 1 callersFunctionremoveCanvasNodeByEditableField
( node: FrontendCanvasNode, fieldKey: string, )
frontend-workflow/src/components/paper2ppt/index.tsx:1722
↓ 1 callersFunctionremoveFile
(index: number)
frontend-workflow/src/components/knowledge-base/UploadView.tsx:67
↓ 1 callersFunctionremoveFrontendImageContent
( slide: FrontendSlide, imageKey: string, )
frontend-workflow/src/components/paper2ppt/index.tsx:1818
↓ 1 callersFunctionremoveNodeById
(root: MindMapTreeNode, nodeId: string)
frontend-workflow/src/utils/mindmapTree.ts:179
↓ 1 callersFunctionremoveNodeRecursive
( node: MindMapTreeNode, nodeId: string, )
frontend-workflow/src/utils/mindmapTree.ts:160
↓ 1 callersFunctionremoveRequiredField
(field: string)
frontend-workflow/src/components/NodeConfigPanel.tsx:73
↓ 1 callersFunctionremoveSchemaField
(key: string)
frontend-workflow/src/components/NodeConfigPanel.tsx:55
↓ 1 callersMethodremove_background
对输入图像进行背景抠图,并保存到 ``output_dir``。 参数 ---- image_path: 输入图片路径(支持 JPG/PNG/WebP 等常见格式)。 返回
dataflow_agent/toolkits/multimodaltool/bg_tool.py:172
↓ 1 callersMethodremove_background_batch
批量背景去除(一次加载模型,逐张处理) 返回输出文件路径列表
dataflow_agent/toolkits/multimodaltool/bg_tool.py:214
↓ 1 callersFunctionremove_env
(name: str, text: str)
dataflow_agent/toolkits/rebuttal/arxiv.py:487
↓ 1 callersFunctionrenderBeautifyStep
()
frontend-workflow/src/components/Ppt2PolishPage.tsx:2048
↓ 1 callersFunctionrenderCanvasComponent
(slide: FrontendSlide, node: FrontendCanvasNode)
frontend-workflow/src/components/paper2ppt/frontendSchemaRenderer.ts:1341
↓ 1 callersFunctionrenderCanvasComponent
( pptSlide: PptxGenJS.Slide, pptx: PptxGenJS, sourceSlide: FrontendSlide, node: FrontendCanvasNode,
frontend-workflow/src/components/paper2ppt/canvasPptxExporter.ts:991
↓ 1 callersFunctionrenderCanvasContainerFrame
( pptSlide: PptxGenJS.Slide, pptx: PptxGenJS, layoutNode: FrontendLayoutIRNode, theme: ResolvedTheme,
frontend-workflow/src/components/paper2ppt/canvasPptxExporter.ts:845
↓ 1 callersFunctionrenderCanvasNode
(slide: FrontendSlide, node: FrontendCanvasNode)
frontend-workflow/src/components/paper2ppt/frontendSchemaRenderer.ts:1433
↓ 1 callersFunctionrenderCanvasSlide
(slide: FrontendSlide)
frontend-workflow/src/components/paper2ppt/frontendSchemaRenderer.ts:1451
↓ 1 callersFunctionrenderCanvasTableMarkup
(slide: FrontendSlide, node: FrontendCanvasNode, attrs: string)
frontend-workflow/src/components/paper2ppt/frontendSchemaRenderer.ts:243
↓ 1 callersFunctionrenderChildItem
(slide: FrontendSlide, child: FrontendBlockChild)
frontend-workflow/src/components/paper2ppt/frontendSchemaRenderer.ts:609
↓ 1 callersFunctionrenderColumnBlock
(slide: FrontendSlide, block: FrontendSlideBlock)
frontend-workflow/src/components/paper2ppt/frontendSchemaRenderer.ts:723
↓ 1 callersFunctionrenderCompleteStep
()
frontend-workflow/src/components/Ppt2PolishPage.tsx:2132
↓ 1 callersFunctionrenderFieldValue
(field: FrontendEditableField)
frontend-workflow/src/components/paper2ppt/frontendSlideUtils.ts:53
↓ 1 callersFunctionrenderFixedPageLabel
( pptSlide: PptxGenJS.Slide, label: string, theme: ResolvedTheme, )
frontend-workflow/src/components/paper2ppt/canvasPptxExporter.ts:877
↓ 1 callersFunctionrenderMarkdownToHtml
(content: string)
frontend-workflow/src/components/knowledge-base/tools/ChatTool.tsx:29
↓ 1 callersFunctionrenderMermaid
()
frontend-workflow/src/components/knowledge-base/tools/MermaidPreview.tsx:42
↓ 1 callersFunctionrenderSlideMarkup
( slide: FrontendSlide, index: number, deckTheme: FrontendDeckTheme | null | undefined, options: HtmlD
frontend-workflow/src/components/paper2ppt/htmlDeckArtifact.ts:66
↓ 1 callersFunctionrenderStepIndicator
()
frontend-workflow/src/components/Ppt2PolishPage.tsx:1516
↓ 1 callersFunctionrenderSummaryContent
(summary: any)
frontend-workflow/src/components/knowledge-base/tools/DeepResearchTool.tsx:62
↓ 1 callersFunctionrenderUploadStep
()
frontend-workflow/src/components/Ppt2PolishPage.tsx:1553
↓ 1 callersFunctionrenderVisualAsset
(asset: FrontendVisualAsset)
frontend-workflow/src/components/paper2ppt/frontendSlideUtils.ts:121
↓ 1 callersFunctionrender_cursor_on_video
( input_video: str, output_video: str, cursor_points: list, # list of (time, x, y) tr
dataflow_agent/toolkits/p2vtool/p2v_tool.py:420
↓ 1 callersFunctionrender_operator_blocks
Render operator initialization lines and forward-run lines without leading indentation. Indentation will be applied by build_pipeline_code wh
dataflow_agent/toolkits/pipetool/pipe_tools.py:443
↓ 1 callersFunctionrender_table_from_text
从表格文本渲染表格图片的完整流程 Args: table_text: 原始表格文本(支持 LaTeX/Markdown/CSV 等格式) output_path: 输出图片路径 state: 状态对象 tit
dataflow_agent/agentroles/paper2any_agents/table_text_renderer.py:115
↓ 1 callersFunctionrender_video_with_cursor_from_json
( video_path, out_video_path, json_path, cursor_img_path, transition_duration=0.1, cur
dataflow_agent/toolkits/p2vtool/p2v_tool.py:532
↓ 1 callersFunctionreplaceAttributePlaceholders
( html: string, editableFields: FrontendEditableField[], )
frontend-workflow/src/components/paper2ppt/frontendSlideUtils.ts:71
↓ 1 callersFunctionreplace_item_with_sub_items
处理每个 sub_item,执行坐标变换并替换原有的 item。
dataflow_agent/utils_common.py:252
↓ 1 callersFunctionresetResults
(nextMode: CitationMode)
frontend-workflow/src/components/paper2citation/index.tsx:612
↓ 1 callersFunctionresize_latex_image
(code: Union[str, List[str]])
dataflow_agent/toolkits/p2vtool/p2v_tool.py:1816
↓ 1 callersFunctionresolveAccessUrls
()
frontend-workflow/src/components/knowledge-base/OutputView.tsx:19
↓ 1 callersFunctionresolveAliyunSmsSignName
()
supabase/functions/send-sms/index.ts:34
↓ 1 callersFunctionresolveCanvasVisualTheme
( theme?: FrontendDeckTheme | null, visualSpec?: FrontendCanvasVisualSpec | null, )
frontend-workflow/src/components/paper2ppt/frontendSchemaRenderer.ts:289
↓ 1 callersFunctionresolveImageData
(asset: FrontendVisualAsset | undefined)
frontend-workflow/src/components/paper2ppt/canvasPptxExporter.ts:788
↓ 1 callersFunctionresolveListRef
(slide: FrontendSlide, rawRef: unknown, fallback: string[] = [])
frontend-workflow/src/components/paper2ppt/frontendSchemaRenderer.ts:123
↓ 1 callersFunctionresolvePreviewAccess
()
frontend-workflow/src/components/knowledge-base/index.tsx:119
↓ 1 callersFunctionresolveSecureUrls
()
frontend-workflow/src/components/knowledge-base/tools/SearchTool.tsx:59
↓ 1 callersFunctionresolveTheme
(theme?: FrontendDeckTheme | null)
frontend-workflow/src/components/paper2ppt/canvasPptxExporter.ts:68
↓ 1 callersMethodrestore_sessions_from_disk
(self)
fastapi_app/services/rebuttal_service.py:1220
↓ 1 callersMethodrevert_to_version
将当前图片恢复到特定版本
dataflow_agent/utils/version_manager.py:153
↓ 1 callersMethodreview_slide
( self, req: FrontendPPTReviewRequest, screenshot: UploadFile, )
fastapi_app/services/paper2ppt_frontend_service.py:400
↓ 1 callersMethodrevise_with_feedback
( self, session_id: str, question_idx: int, human_feedback: str, pr
fastapi_app/services/rebuttal_service.py:1751
↓ 1 callersMethodrsample
Reservoir-sample the current dataset. Returns (sample_records, k)
dataflow_agent/storage/storage_service.py:106
↓ 1 callersMethodrun
(self)
fastapi_app/services/rebuttal_service.py:294
↓ 1 callersMethodrun
(self)
fastapi_app/services/rebuttal_service.py:336
↓ 1 callersMethodrun
(self)
fastapi_app/services/rebuttal_service.py:381
↓ 1 callersMethodrun
(self)
fastapi_app/services/rebuttal_service.py:423
↓ 1 callersMethodrun
(self)
fastapi_app/services/rebuttal_service.py:491
↓ 1 callersMethodrun
(self)
fastapi_app/services/rebuttal_service.py:537
↓ 1 callersMethodrun
(self)
fastapi_app/services/rebuttal_service.py:582
↓ 1 callersMethodrun
(self)
fastapi_app/services/rebuttal_service.py:629
↓ 1 callersMethodrun
(self)
fastapi_app/services/rebuttal_service.py:679
↓ 1 callersMethodrun
(self)
fastapi_app/services/rebuttal_service.py:730
↓ 1 callersMethodrun
(self)
fastapi_app/services/rebuttal_service.py:781
↓ 1 callersFunctionrunInitialFrontendReviewPass
( slides: FrontendSlide[], resultPathValue: string, )
frontend-workflow/src/components/paper2ppt/index.tsx:2726
↓ 1 callersFunctionrunWithConcurrency
( items: T[], limit: number, worker: (item: T, index: number) => Promise<void>, )
frontend-workflow/src/components/paper2ppt/index.tsx:2606
↓ 1 callersFunctionrun_echomimic_inference
(args)
dataflow_agent/toolkits/p2vtool/p2v_tool.py:559
↓ 1 callersFunctionrun_felzenszwalb
Perform Felzenszwalb's efficient graph-based segmentation. Parameters ---------- image_path: str Path to the input image.
dataflow_agent/toolkits/multimodaltool/sam_tool.py:1593
↓ 1 callersFunctionrun_file_in_minidocker
将 Python 文件复制进容器,联网安装依赖(可选),运行并在成功后提交镜像并保存为 tar。 仅保存容器镜像 tar,不额外保存脚本输出文件。
dataflow_agent/toolkits/dockertool/mini_docker.py:107
↓ 1 callersFunctionrun_frontend_workflow
(args, input_content: str, input_type: str, output_dir: Path)
script/run_paper2ppt_frontend_cli.py:107
↓ 1 callersMethodrun_generate_subtitle
第一步:落盘 PDF(必填)、可选头像/语音,调用工作流生成字幕/脚本。 头像可为上传文件(avatar)或系统预设(avatar_preset),预设从 frontend-workflow/public/paper2video/avatar/{id}.png 复制
fastapi_app/services/paper2video_service.py:114
↓ 1 callersMethodrun_generate_video
第二步:根据 result_path 与用户编辑后的 script_pages(JSON 字符串),可选传入第一步返回的 state_snapshot(JSON),调用工作流生成最终视频。 返回 dict:success, video_url(优先), video_
fastapi_app/services/paper2video_service.py:325
↓ 1 callersFunctionrun_hf_semantic_seg
Run semantic segmentation via Hugging Face pipeline. Parameters ---------- image_path : str Path to the input image. mod
dataflow_agent/toolkits/multimodaltool/sam_tool.py:1519
↓ 1 callersFunctionrun_image2ppt_workflow
Execute Image2PPT workflow via the same adapter used by the backend service.
script/run_image2ppt_cli.py:170
↓ 1 callersMethodrun_initial_analysis
( self, session_id: str, progress_callback: Optional[Callable[[str], None]] = None
fastapi_app/services/rebuttal_service.py:1437
↓ 1 callersFunctionrun_kb_deepresearch_wf_api
(req: DeepResearchRequest)
fastapi_app/workflow_adapters/wa_kb_deepresearch.py:25
↓ 1 callersFunctionrun_kb_report_wf_api
(req: KBReportRequestModel)
fastapi_app/workflow_adapters/wa_kb_report.py:23
↓ 1 callersFunctionrun_local_cursor_batch
(task_list: List[Tuple[int, int, str, str, str]], backend_config: Dict[str, Any])
dataflow_agent/toolkits/p2vtool/p2v_tool.py:1242
↓ 1 callersFunctionrun_mineru
调用 mineru 并返回是否成功
dataflow_agent/utils_common.py:229
↓ 1 callersFunctionrun_mineru_pdf_extract
使用 MinerU 命令行方式提取 PDF 中的结构化内容, 参数: pdf_path: PDF 文件路径 output_dir: 输出目录路径,不存在会自动创建 source: 下载模型的源,可选 modelscope、huggi
dataflow_agent/toolkits/multimodaltool/mineru_tool.py:373
↓ 1 callersFunctionrun_paper2citation_author_detail_wf_api
( req: Paper2CitationAuthorDetailRequest, )
fastapi_app/workflow_adapters/wa_paper2citation.py:44
↓ 1 callersFunctionrun_paper2citation_author_publications_wf_api
( req: Paper2CitationAuthorPublicationsRequest, )
fastapi_app/workflow_adapters/wa_paper2citation.py:80
↓ 1 callersFunctionrun_paper2citation_author_search_wf_api
( req: Paper2CitationAuthorSearchRequest, )
fastapi_app/workflow_adapters/wa_paper2citation.py:25
↓ 1 callersFunctionrun_paper2citation_paper_context_wf_api
( req: Paper2CitationPaperContextRequest, )
fastapi_app/workflow_adapters/wa_paper2citation.py:134
↓ 1 callersFunctionrun_paper2citation_paper_detail_wf_api
( req: Paper2CitationPaperDetailRequest, )
fastapi_app/workflow_adapters/wa_paper2citation.py:108
↓ 1 callersFunctionrun_paper2figure_workflow
Execute Paper2Figure workflow
script/run_paper2figure_cli.py:222
↓ 1 callersFunctionrun_paper2poster_generate_wf_api
通过独立子进程执行 paper2poster 工作流,隔离 cwd/env/sys.path 变更。
fastapi_app/workflow_adapters/wa_paper2poster.py:17
↓ 1 callersFunctionrun_paper2poster_workflow
Execute Paper2Poster workflow
script/run_paper2poster_cli.py:174
↓ 1 callersFunctionrun_paper2ppt_full_pipeline
full pipeline: - 先跑 paper2page_content:根据 PDF/PPT/TEXT 解析 pagecontent - 再跑 paper2ppt:基于 pagecontent 生成 PPT 资源(PDF + PPTX) 入参: -
fastapi_app/workflow_adapters/wa_paper2ppt.py:476
↓ 1 callersFunctionrun_paper2ppt_workflow
Execute Paper2PPT workflow via the same adapters used by the backend API.
script/run_paper2ppt_cli.py:211
↓ 1 callersFunctionrun_paper2video_generate_subtitle_wf_api
执行“生成字幕/脚本”工作流:从 PDF(及可选头像/语音)解析出每页图片与语音脚本。 返回 script_pages 与 state_snapshot,供第二步 generate_video 复用除 script_pages 外的 state。 参数: - re
fastapi_app/workflow_adapters/wa_paper2video.py:112
↓ 1 callersFunctionrun_paper2video_generate_video_wf_api
执行“生成视频”工作流:根据 result_path 与用户编辑后的 script_pages 合成最终视频。 若传入第一步返回的 state_snapshot,则复用第一步的 state(仅 script_pages 以用户输入为准)。 参数: - result
fastapi_app/workflow_adapters/wa_paper2video.py:207
↓ 1 callersFunctionrun_paper2video_subtitle
(cfg: SmokeConfig, session: requests.Session)
tests/_archive/manual/frontend_workflows/test_frontend_workflows.py:284
↓ 1 callersFunctionrun_paper2video_via_subprocess
在 p2v 子进程中执行 paper2video 工作流,子进程的 stdout/stderr 统一转发到主应用日志。 环境变量:PAPER2VIDEO_PYTHON 可指定 worker 的 Python;未配置时优先复用当前解释器。
dataflow_agent/workflow/paper2video_subprocess.py:73
↓ 1 callersFunctionrun_paper2video_workflow
Execute Paper2Video workflow (2-step: generate subtitle, then generate video).
script/run_paper2video_cli.py:205
↓ 1 callersFunctionrun_paper_to_video_api
旧版:单次请求跑完整 paper2video 工作流(与 gradio 行为对齐)。 新前端请使用 generate-subtitle + generate-video 两步接口。
fastapi_app/workflow_adapters/wa_paper2video.py:278
↓ 1 callersFunctionrun_pdf2ppt_workflow
Execute PDF2PPT workflow via the backend workflow adapter.
script/run_pdf2ppt_cli.py:173
← previousnext →2,301–2,400 of 4,061, ranked by callers