Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenDCAI/Paper2Any
/ functions
Functions
4,061 in github.com/OpenDCAI/Paper2Any
⨍
Functions
4,061
◇
Types & classes
547
↳
Endpoints
108
↓ 12 callers
Function
parse_openalex_id
(raw: str, expected_prefix: str)
dataflow_agent/toolkits/citationtool/citation_utils.py:64
↓ 12 callers
Function
renderFooter
(slide: FrontendSlide, context: ReturnType<typeof buildSchemaSlideContext>, theme?: FrontendDeckTheme | null)
frontend-workflow/src/components/paper2ppt/frontendSchemaRenderer.ts:1312
↓ 12 callers
Function
renderHeader
(slide: FrontendSlide, context: ReturnType<typeof buildSchemaSlideContext>)
frontend-workflow/src/components/paper2ppt/frontendSchemaRenderer.ts:1304
↓ 12 callers
Function
withModelOptions
(base: string[], current?: string)
frontend-workflow/src/config/models.ts:102
↓ 11 callers
Function
_bbox_area
(b: List[int])
dataflow_agent/workflow/wf_paper2drawio_sam3.py:995
↓ 11 callers
Method
add_node
添加单个节点,支持链式调用
dataflow_agent/graphbuilder/graph_builder.py:57
↓ 11 callers
Function
create_vlm_agent
创建 VLM 模式 Agent 视觉语言模型模式支持图像理解和生成任务, 适用于需要处理图像内容的场景。 Args: name: 代理角色名称 vlm_mode: VLM模式,可选"understanding"(理
dataflow_agent/agentroles/__init__.py:287
↓ 11 callers
Method
hold
(self)
fastapi_app/interprocess_lock.py:65
↓ 11 callers
Function
is_free_billing_mode
()
fastapi_app/services/managed_api_service.py:136
↓ 11 callers
Function
renderCalloutBlock
(slide: FrontendSlide, block: FrontendSlideBlock, className: string)
frontend-workflow/src/components/paper2ppt/frontendSchemaRenderer.ts:672
↓ 11 callers
Method
start
开始记录 Args: inputs: 初始输入数据 metadata: 额外元数据
dataflow_agent/trajectory/collector.py:74
↓ 11 callers
Function
toFiniteNumber
(value: unknown, fallback: number)
frontend-workflow/src/components/paper2ppt/canvasPptxExporter.ts:347
↓ 11 callers
Function
uploadAndSaveFile
( blob: Blob, fileName: string, workflowType: string )
frontend-workflow/src/services/fileService.ts:56
↓ 10 callers
Function
_first_non_empty
(*values: Optional[str])
fastapi_app/config/settings.py:247
↓ 10 callers
Function
_get_geometry
(cell: ET.Element)
dataflow_agent/toolkits/drawio_tools.py:170
↓ 10 callers
Function
_get_state_attr
兼容 final_state 为 dict 或 State 对象两种情况,安全取值并转为 str。
fastapi_app/workflow_adapters/wa_paper2figure.py:143
↓ 10 callers
Function
_name_match_score
(query: str, candidate_name: str)
dataflow_agent/toolkits/citationtool/citation_utils.py:155
↓ 10 callers
Method
_select_first
(self, table: str, columns: str, **filters: Any)
fastapi_app/services/billing_service.py:149
↓ 10 callers
Function
buildIdleFrontendReview
()
frontend-workflow/src/components/paper2ppt/index.tsx:1042
↓ 10 callers
Function
extractErrorMessage
(res: Response, fallback: string)
frontend-workflow/src/components/paper2ppt/index.tsx:247
↓ 10 callers
Function
extract_doi_from_input
(raw: str)
dataflow_agent/toolkits/citationtool/citation_utils.py:46
↓ 10 callers
Function
find_output_artifacts
(base_dir: Path, patterns: Iterable[str])
script/cli_env.py:74
↓ 10 callers
Function
parseCssPx
(value: unknown, fallback = 0)
frontend-workflow/src/components/paper2ppt/canvasPptxExporter.ts:154
↓ 10 callers
Method
resolve_result_path
(self, result_path: str)
fastapi_app/services/paper2ppt_service.py:571
↓ 10 callers
Method
step
process message and return response
dataflow_agent/toolkits/postertool/utils/langgraph_utils.py:182
↓ 9 callers
Function
_abs_path
(p: str)
dataflow_agent/workflow/wf_paper2ppt_parallel_consistent_style.py:49
↓ 9 callers
Method
_extract_outline_text
(self, value: Any)
fastapi_app/services/paper2ppt_service.py:1095
↓ 9 callers
Method
_get_json
(self, url: str, params: Optional[Dict[str, Any]] = None)
dataflow_agent/toolkits/citationtool/citation_utils.py:490
↓ 9 callers
Function
_parse_int_env
(name: str, default: int)
dataflow_agent/toolkits/p2vtool/p2v_tool.py:246
↓ 9 callers
Function
_read_text
(file_path: str)
dataflow_agent/toolkits/rebuttal/tools.py:39
↓ 9 callers
Function
addPanel
( slide: pptxgen.Slide, theme: ResolvedFrontendDeckTheme, box: { x: number; y: number; w: number; h: num
frontend-workflow/src/components/paper2ppt/exportStructuredSlides.ts:113
↓ 9 callers
Method
build
构建并返回编译后的图
dataflow_agent/graphbuilder/graph_builder.py:131
↓ 9 callers
Function
create_simple_agent
创建简单模式 Agent 简单模式执行单次LLM调用,适用于不需要工具调用或复杂推理的场景。 Args: name: 代理角色名称 tool_manager: 工具管理器实例,默认为全局工具管理器 **kw
dataflow_agent/agentroles/__init__.py:174
↓ 9 callers
Function
escapeHtml
(value: string)
frontend-workflow/src/components/paper2ppt/frontendSlideUtils.ts:10
↓ 9 callers
Function
extract_json
extract json from model response
dataflow_agent/toolkits/postertool/utils/langgraph_utils.py:280
↓ 9 callers
Function
gemini_multi_image_edit_async
专门针对 Gemini 的多图编辑
dataflow_agent/toolkits/multimodaltool/req_img.py:196
↓ 9 callers
Function
getListValue
(slide: FrontendSlide, key?: string)
frontend-workflow/src/components/paper2ppt/structuredSlideModel.ts:115
↓ 9 callers
Function
get_request_image_api_key
(request: Any)
dataflow_agent/utils/request_credentials.py:19
↓ 9 callers
Function
get_request_image_api_url
(request: Any)
dataflow_agent/utils/request_credentials.py:14
↓ 9 callers
Function
load_project_env
()
script/cli_env.py:35
↓ 9 callers
Function
renderBlockChildren
(slide: FrontendSlide, block: FrontendSlideBlock)
frontend-workflow/src/components/paper2ppt/frontendSchemaRenderer.ts:649
↓ 9 callers
Function
renderImageBlock
(slide: FrontendSlide, block: FrontendSlideBlock, className: string)
frontend-workflow/src/components/paper2ppt/frontendSchemaRenderer.ts:537
↓ 9 callers
Function
resolve_image_generation_credentials
( chat_api_url: str | None, api_key: str | None, *, scope: str | None = None, )
fastapi_app/services/managed_api_service.py:219
↓ 9 callers
Function
verifyLlmConnection
( apiUrl: string, apiKey: string, model: string = 'deepseek-v3.2' )
frontend-workflow/src/services/llmService.ts:22
↓ 8 callers
Method
_build_fallback_theme
(self, *, language: str, style: str)
fastapi_app/services/paper2ppt_frontend_service.py:3937
↓ 8 callers
Function
_build_theme
(service: Paper2PPTFrontendService)
tests/test_paper2ppt_frontend_service.py:21
↓ 8 callers
Function
_call_image_api_with_retry
(coro_factory, retries: int = 3, delay: float = 1.0)
dataflow_agent/workflow/wf_paper2ppt_parallel_consistent_style.py:224
↓ 8 callers
Function
_is_truthy
(raw: Any)
fastapi_app/services/paper2ppt_task_service.py:34
↓ 8 callers
Method
_normalize_pagecontent_items
(self, items: List[Dict[str, Any]])
fastapi_app/services/paper2ppt_service.py:1136
↓ 8 callers
Function
_normalize_ref
(raw: Any)
dataflow_agent/utils_paper_visuals.py:24
↓ 8 callers
Function
_project_root
()
fastapi_app/config/settings.py:17
↓ 8 callers
Function
_request_get
(request: Any, key: str)
dataflow_agent/utils/request_credentials.py:8
↓ 8 callers
Method
_update_record
(self, task_id: str, **updates: Any)
fastapi_app/services/paper2ppt_task_service.py:343
↓ 8 callers
Function
appendManagedApiConfig
( formData: FormData, userApiConfigRequired: boolean, apiUrl: string | null | undefined, apiKey: strin
frontend-workflow/src/utils/runtimeBillingForm.ts:1
↓ 8 callers
Function
firstFont
(fontStack: string, fallback: string)
frontend-workflow/src/components/paper2ppt/canvasPptxExporter.ts:140
↓ 8 callers
Function
footerPill
(footerKey?: string)
frontend-workflow/src/components/paper2ppt/StructuredSlideCanvas.tsx:295
↓ 8 callers
Function
get_provider
(api_url: str, model: str)
dataflow_agent/toolkits/multimodaltool/providers.py:1406
↓ 8 callers
Method
on_node_start
节点开始执行 Args: node_name: 节点名称 role: 角色类型 input_context: 输入上下文
dataflow_agent/trajectory/collector.py:111
↓ 8 callers
Function
px_to_emu
(px: float, emu_per_px: float)
dataflow_agent/toolkits/multimodaltool/ppt_tool.py:807
↓ 8 callers
Function
resolveTextRef
( slide: FrontendSlide, ref: unknown, fallback = '', )
frontend-workflow/src/components/paper2ppt/canvasPptxExporter.ts:264
↓ 8 callers
Method
restore_session_from_disk
(self, session_id: str)
fastapi_app/services/rebuttal_service.py:1205
↓ 8 callers
Method
timeout
(self, read_timeout: float | None = None)
tests/_archive/manual/frontend_workflows/test_frontend_workflows.py:90
↓ 8 callers
Function
wrap_xml
将 mxCell 元素包装为完整的 draw.io XML Args: cells_xml: 仅包含 mxCell 元素的 XML 字符串 modified: 修改时间戳 Returns: 完整的 draw.io XML
dataflow_agent/toolkits/drawio_tools.py:30
↓ 7 callers
Method
_append_format_segment
Append a formatting segment while coalescing adjacent identical styles.
dataflow_agent/toolkits/postertool/src/agents/renderer.py:428
↓ 7 callers
Function
_bbox_area
(b: List[int])
dataflow_agent/workflow/deprecated/wf_image2drawio.py:165
↓ 7 callers
Method
_clean_canvas_visual_number
( self, value: Any, *, min_value: float | None = None, max_value: floa
fastapi_app/services/paper2ppt_frontend_service.py:2424
↓ 7 callers
Method
_ensure_browser
(self)
dataflow_agent/agentroles/paper2any_agents/websearch_researcher.py:206
↓ 7 callers
Function
_ensure_result_path
(state: Paper2FigureState)
dataflow_agent/workflow/wf_pdf2ppt_qwenvl.py:415
↓ 7 callers
Function
_ensure_result_path
统一本次 paper2figure_with_sam workflow 的根输出目录: - 如果 state.result_path 已存在(通常由调用方传入),直接使用; - 否则:使用 get_project_root() / "outputs" / "paper2fi
dataflow_agent/workflow/wf_paper2figure_with_sam.py:76
↓ 7 callers
Function
_ensure_result_path
(state: Paper2DrawioState)
dataflow_agent/workflow/wf_paper2drawio_sam3.py:827
↓ 7 callers
Function
_generate_file
通用文件生成函数
dataflow_agent/cli.py:160
↓ 7 callers
Method
_get_balance
(self, user_id: str)
fastapi_app/services/billing_service.py:271
↓ 7 callers
Function
_set_geometry
(geom: ET.Element, x: float, y: float, w: float, h: float)
dataflow_agent/toolkits/drawio_tools.py:198
↓ 7 callers
Function
_unique_strings
(values: Iterable[str])
dataflow_agent/toolkits/citationtool/citation_utils.py:74
↓ 7 callers
Function
_xml_text
(element: Optional[ET.Element])
dataflow_agent/toolkits/citationtool/citation_utils.py:341
↓ 7 callers
Function
asArray
(value: T[] | undefined | null)
frontend-workflow/src/components/paper2citation/index.tsx:42
↓ 7 callers
Function
buildMetaLine
(values: Array<string | number | null | undefined>)
frontend-workflow/src/components/paper2citation/index.tsx:376
↓ 7 callers
Function
build_publication_sample_stats
( *, loaded_publications_count: int, linked_publications_count: int, seed_publications_count:
dataflow_agent/toolkits/citationtool/citation_utils.py:299
↓ 7 callers
Method
execute_pre_tools
执行前置工具 在 LLM 调用之前执行的工具,用于收集上下文信息。 Args: state (MainState): 当前状态对象 Returns:
dataflow_agent/agentroles/cores/base_agent.py:610
↓ 7 callers
Method
export_to_jsonl
批量导出为 JSONL 文件(每行一个 JSON 对象) Args: trajectories: 轨迹列表 filepath: 文件路径 mode: 导出模式
dataflow_agent/trajectory/exporter.py:80
↓ 7 callers
Function
extract_bbox_items
Normalize OCR/VLM parser output into the bbox-item list expected by workflows.
dataflow_agent/toolkits/multimodaltool/ocr_utils.py:23
↓ 7 callers
Function
fetchRuntimeConfig
(force: boolean = false)
frontend-workflow/src/services/runtimeConfigService.ts:86
↓ 7 callers
Function
free_sam_model
显式释放指定 checkpoint 对应的 SAM 模型,并尽量清理 CUDA 显存。 典型用法: from dataflow_agent.toolkits.multimodaltool.sam_tool import free_sam_model
dataflow_agent/toolkits/multimodaltool/sam_tool.py:578
↓ 7 callers
Function
getEffectiveStylePrompt
(mode: PptGenerationMode = pptMode)
frontend-workflow/src/components/paper2ppt/index.tsx:2499
↓ 7 callers
Function
getFieldKeyForBlock
(slide: FrontendSlide, block: FrontendSlideBlock)
frontend-workflow/src/components/paper2ppt/frontendSchemaRenderer.ts:384
↓ 7 callers
Function
get_ocr_api_credentials
Return unified OCR endpoint credentials. Priority: 1) Environment (`PAPER2DRAWIO_OCR_API_URL/_KEY`) 2) `fastapi_app.config.settings`
dataflow_agent/toolkits/multimodaltool/ocr_config.py:7
↓ 7 callers
Function
get_workflow_cost
(workflow_type: str, default: int = 1)
fastapi_app/config/pricing.py:91
↓ 7 callers
Function
is_gemini_3_pro
是否为 Gemini 3 Pro 系列
dataflow_agent/toolkits/multimodaltool/utils.py:100
↓ 7 callers
Function
measureHeight
(node: MindMapTreeNode)
frontend-workflow/src/utils/mindmapTree.ts:184
↓ 7 callers
Function
parseFrontendInsertZoneTarget
(target?: string | null)
frontend-workflow/src/components/paper2ppt/types.ts:100
↓ 7 callers
Function
pxToPt
(value: number)
frontend-workflow/src/components/paper2ppt/canvasPptxExporter.ts:152
↓ 7 callers
Function
run_paper2ppt_wf_api
( req: Paper2PPTRequest, pagecontent: list[dict] | None = None, result_path: str | None = None,
fastapi_app/workflow_adapters/wa_paper2ppt.py:316
↓ 7 callers
Function
run_sam_auto
Run automatic segmentation on a single image using SAM (ultralytics backend). Parameters ---------- image_path : str Path to
dataflow_agent/toolkits/multimodaltool/sam_tool.py:797
↓ 7 callers
Function
to_snake
(s: str)
dataflow_agent/cli.py:11
↓ 7 callers
Method
update_state_result
更新状态结果 - 子类可重写 将执行结果存储到状态对象中。 Args: state (MainState): 状态对象 result (Dict[str, Any])
dataflow_agent/agentroles/cores/base_agent.py:1319
↓ 7 callers
Function
withManualBlockClass
(_block: FrontendSlideBlock, className: string)
frontend-workflow/src/components/paper2ppt/frontendSchemaRenderer.ts:480
↓ 6 callers
Method
_append_ledger
( self, *, user_id: str, points: int, reason: str, event_key:
fastapi_app/services/billing_service.py:234
↓ 6 callers
Function
_bbox_area
(bbox: List[int])
dataflow_agent/toolkits/image2drawio/metric_evaluator.py:43
↓ 6 callers
Function
_build_ppt_generation_request
( *, img_gen_model_name: str, chat_api_url: Optional[str], api_key: Optional[str], credent
fastapi_app/routers/paper2ppt.py:214
↓ 6 callers
Function
_build_publication_pagination
( *, current_page: int, page_size: int, total_items: int, )
dataflow_agent/workflow/wf_paper2citation.py:144
← previous
next →
101–200 of 4,061, ranked by callers