logologo
FlowGram.AI
指引
例子
常用 API
API 文档
English
简体中文
指引
例子
常用 API
API 文档
English
简体中文
logologo
FlowGram.AI
API Overview

Core

FlowDocument
FlowNodeEntity/WorkflowNodeEntity
WorkflowDocument (free)
WorkflowLinesManager (free)
WorkflowLineEntity (free)
Playground

Hooks

useClientContext
useNodeRender
usePlaygroundTools
useRefresh
useService

Components

EditorRenderer
FixedLayoutEditorProvider
FixedLayoutEditor
FreeLayoutEditorProvider
FreeLayoutEditor
WorkflowNodeRenderer(free)

Services

ClipboardService
CommandService
FlowOperationService
history-service
SelectionService

Utils

DisposableCollection
Disposable
Emitter
getNodeForm

#SelectionService

用于控制选择的节点

> API Detail

#Usage

// Listen Selection Change
ctx.selection.onSelectionChanged((nodes) => {
})
// Select All Nodes
ctx.selection.selection = ctx.document.getAllNodes()

Last Updated: 2025/8/27 13:06:32

Previous Pagehistory-service
Next PageDisposableCollection