# FlowGram.AI
> FlowGram.AI
## 指引
- [简介](/guide/getting-started/introduction.md): FlowGram 是一个工作流开发框架与工具集。帮助开发者以更快、更简单的方式搭建 AI 工作流平台。
FlowGram 内置开箱开箱即用的工作流开发能力:可视化流程画布、节点配置表单、变量作用域链,以及开箱即用的物料。
使用 FlowGram 构建你自己的 AI 工作流平台吧。
- [快速上手](/guide/getting-started/quick-start.md): import {
PackageManagerTabs
// @ts-ignore
} from '@theme'; :::info
快速体验 FlowGram.AI,你可以直接 在 CodeSandbox 中打开 或者 在 StackBlitz 中打开
::: 选择开始方式: 方式一:使用官方模板脚手架搭建新项目(⭐️ 推荐用于快速入门)。方式二:通过安装编辑器包集成到现有项目中。
- [自由布局](/guide/getting-started/free-layout.md): import {
PackageManagerTabs
// @ts-ignore
} from '@theme';
- [固定布局](/guide/getting-started/fixed-layout.md): import {
PackageManagerTabs
// @ts-ignore
} from '@theme';
- [加载与保存](/guide/free-layout/load.md): 画布的数据通过 WorkflowDocument 来存储
- [节点](/guide/free-layout/node.md): 节点通过 FlowNodeEntity 定义
- [线条](/guide/free-layout/line.md): WorkflowLinesManager 管理所有的线条WorkflowNodeLinesData 节点上连接的线条管理WorkflowLineEntity 线条实体
- [端口](/guide/free-layout/port.md): WorkflowNodePortsData 管理节点的所有端口信息WorkflowPortEntity 端口实例WorkflowPortRender 端口渲染组件
- [子画布](/guide/free-layout/sub-canvas.md): 详细代码见 自由布局最佳实践
- [加载与保存](/guide/fixed-layout/load.md): 画布的数据通过 FlowDocument 来存储
- [节点](/guide/fixed-layout/node.md): 节点通过 FlowNodeEntity 定义
- [复合节点](/guide/fixed-layout/composite-nodes.md): 复合节点由多个节点组合,并支持自定义线条,如 分支节点、Loop 节点、TryCatch 节点:
- [节点表单](/guide/form/form.md)
- [不使用表单](/guide/form/without-form.md): 当节点引擎不开启,节点的 data 数据会存在 node.getExtInfo 中, 如下
- [官方表单物料](/guide/form/form-materials.md): 文档已迁移到:物料
- [介绍](/guide/variable/basic.md): 介绍什么是变量,以及变量引擎的作用
- [输出变量](/guide/variable/variable-output.md): 介绍如何在 FlowGram 中使用变量引擎输出变量
- [消费变量](/guide/variable/variable-consume.md): 介绍如何在 FlowGram 中消费变量引擎输出的变量
- [概念](/guide/variable/concept.md): 介绍变量引擎的核心概念
- [作用域链](/guide/variable/custom-scope-chain.md): 介绍如何定制作用域链
- [@flowgram.ai/background-plugin](/guide/plugin/background-plugin.md): 背景插件用于自定义画布的背景效果,支持点阵背景、Logo显示和新拟态(Neumorphism)视觉效果。
- [@flowgram.ai/minimap-plugin](/guide/plugin/minimap-plugin.md):
- [@flowgram.ai/export-plugin](/guide/plugin/export-plugin.md): 导出插件提供了将工作流导出为图片(PNG、JPEG、SVG)或数据文件(JSON、YAML)的功能。
- [@flowgram.ai/panel-manager-plugin](/guide/plugin/panel-manager-plugin.md): 管理各类面板的插件。
- [@flowgram.ai/free-auto-layout-plugin](/guide/plugin/free-auto-layout-plugin.md): 基于 Dagre 算法的自动布局插件,为自由布局画布提供智能的节点排列功能。
- [@flowgram.ai/free-stack-plugin](/guide/plugin/free-stack-plugin.md): 层级管理插件,为自由布局画布提供节点和连线的 z-index 层级控制功能。
- [画布滚动和缩放](/guide/advanced/zoom-scroll.md): > 详细用法参考 Playground
- [历史记录](/guide/advanced/history.md): Undo/Redo 是 FlowGram.AI 的一个插件,在 @flowgram.ai/fixed-layout-editor 和 @flowgram.ai/free-layout-editor 两种模式的编辑器中均有提供该功能。
- [快捷键](/guide/advanced/shortcuts.md)
- [自定义 Service](/guide/advanced/custom-service.md): 业务中需要抽象出单例服务便于插件化管理
- [自定义 Layer](/guide/advanced/custom-layer.md): 我们将画布拆分成多个 Layer,实现交互分层的思想,便于插件化管理,详细见 画布引擎 通过 observeEntityDatas observeEntities observeEntity 监听画布节点任意数据模块的更新通过 onZoom onScroll onViewportChange 等监听画布的缩放或者滚动通过 render 往画布中插入 react 元素, 如绘制 svg 线条
- [自定义插件](/guide/advanced/custom-plugin.md)
- [概念](/guide/concepts/index.md): CanvasEngine:画布引擎负责绘制“点-线”构成的图, 保障大规模节点时的流畅性NodeEngine: 节点引擎提供 渲染、校验、数据修改等表单能力VariableEngine: 变量引擎引入作用域模型, 抽象各业务场景的变量Material: 物料库包含默认 ICON 等 UI, 业务接入后可覆盖扩展
- [画布引擎](/guide/concepts/canvas-engine.md)
- [节点引擎](/guide/concepts/node-engine.md): 节点引擎 NodeEngine 是一个流程节点逻辑的书写框架,让业务专注于业务自身的渲染与数据逻辑,无需关注画布以及节点间联动的底层api。与此同时,节点引擎沉淀了最佳的节点书写范式,帮助业务解决流程业务中可能遇到的各种问题, 如数据逻辑与渲染耦合等。
节点引擎是可选启用的。如果你不存在以下这些复杂的节点逻辑,可以选择不启用节点引擎,自己维护节点数据与渲染。复杂节点逻辑如:1)节点不渲染也能校验或触发数据副作用;2)节点间联动丰富;3)redo/undo; 等等。
- [ECS](/guide/concepts/ecs.md)
- [IOC](/guide/concepts/ioc.md)
- [对比 ReactFlow](/guide/concepts/reactflow.md): Reactflow 是很优秀的开源项目,架构及代码清晰,但偏流程渲染引擎的底层架构 (Node、Edge、Handle),需要在上层开发大量功能才能适配复杂场景(如 固定布局,需要对数据建模写布局算法), 高级功能收费。 相比 Reactflow,FlowGram 的目标是提供流程编辑一整套开箱即用的解决方案。 下边是 Reactflow 官方提供的 pro 收费能力 Reactflow 事件都是绑定在原子化的 dom 节点上,且内置,交互定制成本高,需要理解它的源码才能深度开发,如下,在画布缩放很小时候无法选到点位
- [介绍](/guide/runtime/introduction.md): FlowGram Runtime 的基本概念和设计理念
- [快速开始](/guide/runtime/quick-start.md): 快速上手使用 FlowGram Runtime
- [认识 Schema](/guide/runtime/schema.md): FlowGram Schema 结构和配置的详细介绍
- [内置节点](/guide/runtime/node.md): 本文档详细介绍FlowGram Runtime中的节点系统,包括节点的基本概念、现有节点类型及其用法,以及如何创建自定义节点。 现有节点: 开始节点结束节点LLM节点条件节点循环节点 后续会支持代码节点、意图识别节点、批处理节点、终止循环节点、继续循环节点、HTTP节点
- [运行时 API](/guide/runtime/api.md): FlowGram Runtime API
- [源码导读](/guide/runtime/source-code-guide.md): FlowGram Runtime 源码结构和实现细节解析
- [贡献指南](/guide/contributing.md): 本文帮助你快速在本仓库完成开发、测试与提 PR。仓库采用 Rush + pnpm 的 Monorepo 管理方式,文档站基于 Rspress 构建。
- [联系我们](/guide/contact-us.md): Issues: IssuesDiscord: https://discord.gg/SwDWdrgA9fLark: 通过 注册飞书 并扫描下边的二维码加入飞书群
- [注意事项及常见问题](/guide/question.md): 画布的 editor 版本及导入的插件版本必须一致,如果出现以下错误都是这个问题造成画布的事件监听,在 react 中使用都要配套写销毁逻辑,防止无限注册导致内存泄漏
- [批处理变量实现思路 (WIP)](/guide/variable/cases/case-batch-variable.md): 介绍如何实现批处理节点中的变量逻辑
- [底层 API (WIP)](/guide/variable/core-api.md): 介绍变量引擎的底层 API 的设计与使用
- [内置 AST(WIP)](/guide/variable/core-ast.md): 介绍变量引擎的内置 AST 节点
## 物料
- [快速上手](/materials/introduction.md)
- [物料管理 CLI](/materials/cli.md): Flowgram 提供了专门的 CLI 命令行工具,帮助你管理项目中的官方物料。
- [TypeSelector](/materials/components/type-selector.md): TypeSelector 是一个类型选择器组件,用于在表单中选择 JSON Schema 类型。它支持基本类型和复合类型(如数组类型)的选择。 :::tip
If you want to add new variable types, please read Type Management
:::
- [JsonSchemaEditor](/materials/components/json-schema-editor.md): JsonSchemaEditor 是一个可视化的 JSON Schema 编辑器,支持创建和编辑复杂的 JSON Schema 结构。它提供了树形结构的界面,可以直观地定义对象、数组、字符串、数字等各种类型的属性,支持嵌套结构和必填字段标记。 JsonSchema 协议可以通过以下文档学习: Json Schema 官网Json Schema 规范(中文版)
- [JsonSchemaCreator](/materials/components/json-schema-creator.md): JsonSchemaCreator 是一个用于从 JSON 字符串自动生成 JSON Schema 的组件。它提供了一个按钮来触发弹窗,用户可以在弹窗中粘贴 JSON 数据,组件会自动分析数据结构并生成对应的 JSON Schema。
- [VariableSelector](/materials/components/variable-selector.md): VariableSelector 是一个用于选择当前作用域变量的组件,它可以根据变量的类型进行过滤。 :::warning VariableSelector 的变量树中,每一个叶子节点和非叶子节点,都是一个变量。 在官方物料库的设计中,每个节点都会输出 一个 ObjectType 变量声明,这个变量声明中: 变量的元信息包含节点的标题和节点的 Icon,被 VariableSelector 解析展示变量的下钻字段会被 VariableSelector 递归展示在节点变量内 :::
- [DynamicValueInput](/materials/components/dynamic-value-input.md): DynamicValueInput 是一个动态值输入组件,支持常量和变量两种输入模式。它可以根据提供的 schema 自动选择合适的输入类型,并提供变量选择功能。组件能够智能地在常量输入和变量选择之间切换。
- [ConditionRow](/materials/components/condition-row.md): ConditionRow 是一个条件表达式组件,用于构建变量比较逻辑。它支持选择变量、选择比较操作符、输入比较值,能够根据变量类型自动适配可用的操作符和值类型。
- [DBConditionRow](/materials/components/db-condition-row.md): DBConditionRow 是一个数据库条件行组件,用于构建数据库查询条件。它提供了字段选择、操作符选择和值输入功能,可以根据字段类型自动显示合适的操作符和输入控件。
- [ConditionContext](/materials/components/condition-context.md): ConditionContext 是一个条件配置的上下文管理系统,用于统一管理条件规则和操作符配置,为条件组件提供一致的配置环境。 :::tip ConditionContext 的条件配置上下文可以影响到以下物料: ConditionRowDBConditionRow :::
- [InputsValues](/materials/components/inputs-values.md): InputsValues 是一个键值对输入列表组件,用于收集和管理一组输入参数。每个键值对都支持常量和变量两种输入模式,通过 DynamicValueInput 组件实现灵活的输入方式。
- [InputsValuesTree](/materials/components/inputs-values-tree.md): InputsValuesTree 是一个用于展示和编辑树状结构输入值的组件,每个叶子节点为一个键值对,值支持常量和变量两种输入模式,通过 DynamicValueInput 组件实现灵活的输入方式。组件采用树形层级展示,支持节点的展开和折叠,适用于构建复杂的嵌套数据结构。 :::tip{title="和 InputsValues 的区别"} 结构差异:InputsValues 仅支持一级键值对列表,而 InputsValuesTree 支持树形嵌套结构展示方式:InputsValues 使用简单的行列表展示,InputsValuesTree 使用树形结构展示,带有缩进和展开/折叠功能适用场景:InputsValues 适用于简单的键值对配置,InputsValuesTree 适用于复杂的多层级数据结构配置 :::
- [PromptEditor](/materials/components/prompt-editor.md): PromptEditor 是一个专业的提示词编辑器组件,基于 Coze Editor 构建,支持 Markdown 语法高亮、Jinja 模板语法高亮等功能,适用于创建和编辑 AI 提示词模板。
- [PromptEditorWithVariables](/materials/components/prompt-editor-with-variables.md): PromptEditorWithVariables 是一个增强版的提示编辑器,集成了变量引用功能。 它基于 PromptEditor 构建,通过 @, { 弹出变量树选择器,并将输入变量回显为标签,使用户能够在提示模板中方便地引用和管理变量。
- [PromptEditorWithInputs](/materials/components/prompt-editor-with-inputs.md): PromptEditorWithInputs 是一个增强版的提示编辑器,集成了节点输入提示功能。 它基于 PromptEditor 构建,通过 @, { 字符弹出节点输入选择器,使用户能够在提示模板中方便地引用节点的输入。
- [CodeEditor](/materials/components/code-editor.md): CodeEditor 是一个功能强大的代码编辑器组件,基于 CodeMirror 6 构建,支持多种编程语言的语法高亮和智能提示。它提供了 TypeScript、Python、SQL、Shell、JSON 等语言的专用编辑器版本。
- [JsonEditorWithVariables](/materials/components/json-editor-with-variables.md): JsonEditorWithVariables 是一个增强版的 JSON 编辑器,支持在 JSON 中插入变量引用。它基于 JsonCodeEditor 构建,集成了变量选择器和变量标签注入功能,使用户能够在 JSON 字符串中使用 {{variable}} 语法引用变量。
- [SQLEditorWithVariables](/materials/components/sql-editor-with-variables.md): SQLEditorWithVariables 是一个增强版的 SQL 编辑器,支持在 SQL 中插入变量引用。它基于 SQLCodeEditor 构建,集成了变量选择器和变量标签注入功能,使用户能够在 SQL 字符串中使用 {{variable}} 语法引用变量。
- [CozeEditorExtensions](/materials/components/coze-editor-extensions.md): CozeEditorExtensions 是一组基于 coze-editor 的功能扩展,提供变量、Inputs 选择器与变量标签回显能力。 EditorVariableTree:监听 @/{ 等触发字符,弹出可用变量树并将选中项写入编辑器。EditorVariableTagInject:对 {{variable.path}} 文本进行标记渲染,展示变量图标、标题与回显提示。EditorInputsTree:基于节点 inputsValues 构造层级树,支持在提示词中插入 {{inputs.xxx}} 引用。
- [ConstantInput](/materials/components/constant-input.md): ConstantInput 是一个常量输入组件,它根据提供的 JSON Schema 自动选择合适的输入类型渲染器。 组件支持自定义渲染策略和兜底渲染器,能够处理各种数据类型的常量输入。
- [DisplaySchemaTag](/materials/components/display-schema-tag.md): DisplaySchemaTag 是一个用于展示 JSON Schema 的标签组件,当用户点击标签时,会弹出详细的 schema 树形结构,方便查看复杂的数据结构。
- [DisplaySchemaTree](/materials/components/display-schema-tree.md): DisplaySchemaTree 是一个用于可视化展示 JSON Schema 结构的树形组件,可以递归地展示对象、数组等复杂数据结构的层级关系。
- [DisplayFlowValue](/materials/components/display-flow-value.md): DisplayFlowValue 是一个用于可视化展示 Flow Value 数据类型的组件,它能够根据 Flow Value 的类型推断出相应的 JSON Schema,并通过友好的界面展示给用户。
- [DisplayInputsValues](/materials/components/display-inputs-values.md): DisplayInputsValues 是一个用于可视化展示树状结构输入值的组件。 它能够递归地遍历输入值对象,对于解析其中 Flow Value 的类型,并推导出每一个字段的 Json Schema 结构。 :::tip DisplayInputsValues 支持展示 InputsValues 和 InputsValuesTree 两个组件配置的值。 :::
- [DisplayOutputs](/materials/components/display-outputs.md): DisplayOutputs 是一个用于可视化展示节点输出变量的组件,支持从作用域自动获取输出变量或通过字段值手动指定输出模式。
- [AssignRow](/materials/components/assign-row.md): AssignRow 是一个赋值行组件,支持两种操作模式:赋值模式 (assign) 和 声明模式 (declare)。 在赋值模式下:左侧是变量选择器,右侧是动态值输入;在声明模式下:左侧是文本输入框,右侧是动态值输入。
- [AssignRows](/materials/components/assign-rows.md): AssignRows 是一个赋值行列表组件,基于 FieldArray 实现,支持动态添加和删除赋值行。 组件提供了两个操作按钮:赋值 和 声明,可以分别添加赋值模式和声明模式的赋值行。每个赋值行都可以独立配置和删除。 :::tip AssignRows 通常和 infer-assign-plugin 表单插件一起使用,用于将定义的声明转换为节点的输出变量,并实现类型的自动联动。 :::
- [BatchOutputs](/materials/components/batch-outputs.md): BatchOutputs 是一个用于配置循环输出的键值对编辑器组件。在循环节点场景中,它允许用户定义每次迭代需要收集的输出值,这些值最终会被聚合成数组。 核心特性: ➕ 动态添加/删除:用户可以自由添加或删除输出键值对✏️ 键名编辑:为每个输出定义一个唯一的键名🔗 变量引用:通过变量选择器引用循环体内可用的变量👁️ 只读模式:支持只读展示,适用于查看场景 :::warning BatchOutputs 必须搭配 batchOutputsPlugin 使用才能正常工作。这是因为: 组件负责 UI 交互,收集用户配置的输出键值对插件负责将配置转换为变量声明,并调整作用域链 ::: :::info{title="完整方案概览"} 实现一个完整的循环节点需要以下三个物料配合使用: :::
- [BatchVariableSelector](/materials/components/batch-variable-selector.md): BatchVariableSelector 是一个用于选择数组类型变量的组件,它是 VariableSelector 的封装版本。 该组件自动过滤变量树,只显示数组类型的变量,并自动设定私有作用域,常用于批处理场景(如 Loop 节点的循环数据源选择)。 核心特性: 🔍 自动过滤:只显示数组类型(type: 'array')的变量。🔐 私有作用域:通过 PrivateScopeProvider 提供独立的变量作用域。🎯 专用场景:专为批处理、循环等需要数组数据源的场景设计。
- [BlurInput](/materials/components/blur-input.md): BlurInput 是一个特殊的输入框组件,它只在输入框失焦时才会触发值的更新,适用于需要避免频繁触发更新操作的场景。
- [autoRenameRef](/materials/effects/auto-rename-ref.md): autoRenameRef 是一个自动重命名引用效果,当表单字段的键名发生变化时,自动更新所有引用该字段的引用值和模板值。
- [listenRefValueChange](/materials/effects/listen-ref-value-change.md): 监听引用变量定义的变化,并在变化时触发回调函数。
- [listenRefSchemaChange](/materials/effects/listen-ref-schema-change.md): 监听引用变量类型的 json schema 变化,并在变化时触发回调函数。
- [provideBatchInputEffect](/materials/effects/provide-batch-input.md): provideBatchInputEffect 是一个表单副作用,专门用于循环节点场景。它能够将循环输入的数组变量解析为两个局部变量: item:当前迭代的数组元素,类型会根据输入数组的元素类型自动推导index:当前迭代的索引,类型为 number 核心特性: 🔄 自动类型推导:从数组类型自动推导出 item 的元素类型🔒 私有作用域:生成的变量存储在节点私有作用域,仅当前节点及子节点可访问🎯 循环专用:专为批处理/循环场景设计 这使得循环体内的子节点可以引用 item 和 index 变量,实现对数组元素的逐个处理。 :::info{title="完整方案概览"} 实现一个完整的循环节点需要以下三个物料配合使用: :::
- [provideJsonSchemaOutputs](/materials/effects/provide-json-schema-outputs.md): provideJsonSchemaOutputs 是一个表单副作用,用于将 JSON Schema 定义转换为 FlowGram 变量引擎中的输出变量。 它能够自动将表单中定义的 JSON Schema 结构解析为变量声明,使工作流中的其他节点可以引用这些输出。
- [syncVariableTitle](/materials/effects/sync-variable-title.md): syncVariableTitle 是一个表单副作用(Effect),用于同步节点的标题到该节点输出变量的元数据中。 当节点标题发生变化时,会自动更新所有输出变量的 title 和 icon 元数据。
- [validateWhenVariableSync](/materials/effects/validate-when-variable-sync.md): 当字段可访问的变量发生了变化时,则重新触发指定错误字段的校验。 :::note{title="为什么是错误字段?"} 错误字段的错误信息可能源于变量引用的有效性。 如果字段的可访问变量发生了变化,使得字段的变量引用从无效变为有效,就需要需要重新校验当前字段,清空之前的错误信息。 :::
- [batchOutputsPlugin](/materials/form-plugins/batch-outputs-plugin.md): batchOutputsPlugin 是一个用于循环节点的表单插件,它实现了两个核心功能: 输出变量生成:将循环体内收集的变量引用转换为数组类型的输出变量作用域链转换:调整变量作用域链,使循环节点的输出能正确依赖子节点的输出 核心特性: 🔄 数组包装:自动将循环体内引用的变量包装为数组类型输出🔗 作用域链调整:让循环节点的输出变量能正确依赖子节点的输出📊 Schema 推导:可选配置,自动推导输出变量的 JSON Schema :::tip{title="适用场景"} 循环节点:需要在每次迭代中收集数据并聚合成数组批处理节点:需要将多个子任务的结果汇总输出任何包含子节点的容器节点:需要从子节点收集输出变量 ::: :::warning BatchOutputs 组件必须搭配 batchOutputsPlugin 使用才能正常工作。这是因为: 组件负责 UI 交互,收集用户配置的输出键值对插件负责将配置转换为变量声明,并调整作用域链 ::: :::info{title="完整方案概览"} 实现一个完整的循环节点需要以下三个物料配合使用: :::
- [inferInputsPlugin](/materials/form-plugins/infer-inputs-plugin.md): inferInputsPlugin是一个用于自动推断输入参数 JSON Schema 的表单插件,它能在数据传送到后端运行时前,根据 IFlowValue 类型 (常量或变量引用) 自动生成对应的 JSON Schema 结构,为后端的运行时类型验证和后端接口提供类型信息。 :::tip{title="适用场景"} HTTP 节点:推断请求头 (headers)、查询参数 (params) 的 Schema代码节点:推断代码输入参数的类型结构函数调用节点:推断函数参数的 Schema任何接受动态输入的节点:需要为后端提供输入类型信息 :::
- [inferAssignPlugin](/materials/form-plugins/infer-assign-plugin.md): inferAssignPlugin 是用于变量赋值节点,进行输出变量自动推导的表单插件,通常和 AssignRows 物料配合使用。 插件针对 AssignRows 的 declare (声明新变量) 实现了以下能力: 自动生成节点输出变量,变量名即 declare 操作符中的左值,变量类型会自动根据 right 进行联动推导。当提交数据到后端时,自动根据输出变量的变量类型,联动生成对应的 JSON Schema。
- [validateFlowValue](/materials/validate/validate-flow-value.md): validateFlowValue 是一个用于验证 FlowValue 必填性和变量引用有效性 的验证函数。
- [FlowValue](/materials/common/flow-value.md): FlowValue 是指在 Flowgram 官方物料库 中用于表示数据的一种特殊类型。它可以是常量、引用、表达式或模板,为流程中的数据传递和处理提供了灵活的方式。
- [类型管理](/materials/common/json-schema-preset.md): 物料库类型管理分为两部分实现: 物料层(物料库预设类型定义):扩展类型引擎,使其可以定义类型的默认渲染器、Condition 规则配置等提供了默认类型在物料库中的预设定义(常量输入器渲染、Condition 规则配置等)提供 Editor Plugin 方便扩展自定义类型引擎层(核心类型引擎,由 @flowgram.ai/json-schema 提供)提供了 Json 类型的基本定义,包括 icon,名称展示等提供 BaseTypeManager,可以扩展 JsonSchema 官方定义之外的类型定义提供 JsonSchemaUtils 实现 JsonSchema 和 AST 的互相转换
- [物料组件依赖注入](/materials/common/inject-material.md): :::tip{title="目前物料库中支持依赖注入的组件物料"} InjectDynamicValueInputInjectTypeSelectorInjectVariableSelector :::
- [DisableDeclarationPlugin](/materials/common/disable-declaration-plugin.md): :::note{title=""} 在物料库的设计中,“节点本身”作为一种变量声明,是可选的。 物料库中 VariableSelector, PromptEditorWithVariables, SQLEditorWithVariables 等组件,都默认支持选择 “节点变量”。 ::: DisableDeclarationPlugin 可以禁用变量声明的可选性(只能选下钻),从而使“节点变量”不可选。
## 例子
- [预览](/examples/index.md)
- [无限画布](/examples/playground.md): PlaygroundReact 是固定布局和自由布局的底层模块,可以单独使用, 功能: 无限拖动画布鼠标/触摸板手势缩放内置背景插件内置快捷键插件
- [基础用法](/examples/fixed-layout/fixed-layout-simple.md)
- [复合节点](/examples/fixed-layout/fixed-composite-nodes.md)
- [最佳实践](/examples/fixed-layout/fixed-feature-overview.md)
- [基础用法](/examples/free-layout/free-layout-simple.md)
- [最佳实践](/examples/free-layout/free-feature-overview.md)
- [基础用法](/examples/node-form/basic.md)
- [副作用](/examples/node-form/effect.md): 以下例子展示了表单副作用的配置方式。举了两个个例子,行为描述如下 Basic effect(基础例子):当表单项值变更时,控制台会打印表单当前值。Control other fields (控制其他表单项的值):当前表单项数据变更时要同时改变另一个表单项的值。
- [数组](/examples/node-form/array.md): 以下例子展示了数组的基本用法,包含: 基本写法(渲染、增删)。如何对数组每项配置校验逻辑。 此处的校验规则为每项最大长度不超过8个英文字符。如何对数组每项配置副作用。 此处的副作用为每项在初始化时控制台输出 ${name} value init to ${value}, 值变更时输出 ${name} value changed to ${value}数组项如何做交换。
- [联动](/examples/node-form/dynamic.md): 当前例子展示了如何通过 deps 字段来声明表单项之间的联动更新关系。 例子说明:当 Country 有值时才会显示 City 字段。 你也可以将form.getValueIn('country') 作为 city Field 下组件的入参,来控制组件内的行为, 如筛选当前country下的cities。
## API
- [API 预览](/api/index.md)
- [FlowDocument](/api/core/flow-document.md): 流程数据文档 (固定布局), 存储流程的所有节点数据 > API Detail :::danger
对节点的操作最好通过 ctx.operation 进行操作, 这样才能绑定到 redo/undo
:::
- [FlowNodeEntity/WorkflowNodeEntity](/api/core/flow-node-entity.md): 节点实体,WorkflowNodeEntity 为节点别名用于自由布局节点, 节点实体采用 ECS 架构, 为 Entity > API Detail
- [WorkflowDocument (free)](/api/core/workflow-document.md): 自由布局文档数据,继承自 FlowDocument > API Detail :::tip
由于历史原因, 带 Workflow 前缀的都代表自由布局
:::
- [WorkflowLinesManager (free)](/api/core/workflow-lines-manager.md): 自由布局线条管理, 目前挂在自由布局 document 下边 > API Detail
- [WorkflowLineEntity (free)](/api/core/workflow-line-entity.md): 自由布局线条实体 > API Detail
- [Playground](/api/core/playground.md): 画布实例 > API Detail
- [useClientContext](/api/hooks/use-client-context.md): 提供在 react 内部访问画布的上下文, 目前固定布局和 自由布局有一定区别
- [useNodeRender](/api/hooks/use-node-render.md): 提供节点渲染相关的方法, 返回结果的 form 等价于 getNodeForm
- [usePlaygroundTools](/api/hooks/use-playground-tools.md): 画布工具方法
- [useRefresh](/api/hooks/use-refresh.md)
- [useService](/api/hooks/use-service.md): 获取底层 IOC 的所有单例模块
- [EditorRenderer](/api/components/editor-renderer.md): 画布渲染组件,需要 配合 FixedLayoutEditorProvider 或 FreeLayoutEditorProvider 使用
- [FixedLayoutEditorProvider](/api/components/fixed-layout-editor-provider.md): 固定布局画布配置器,支持 ref
- [FixedLayoutEditor](/api/components/fixed-layout-editor.md): 固定布局画布, 等价于 FixedLayoutEditorProvider 和 EditorRenderer 的组合
- [FreeLayoutEditorProvider](/api/components/free-layout-editor-provider.md): 自由布局画布配置器,支持 ref
- [FreeLayoutEditor](/api/components/free-layout-editor.md): 自由布局画布, 等价于 FreeLayoutEditorProvider 和 EditorRenderer 的组合
- [WorkflowNodeRenderer(free)](/api/components/workflow-node-renderer.md): 自由布局节点容器
- [ClipboardService](/api/services/clipboard-service.md): 剪贴板服务 > API Detail
- [CommandService](/api/services/command-service.md): 指令服务,需要和 Shortcuts 一起使用 > API Detail
- [FlowOperationService](/api/services/flow-operation-service.md): 节点操作服务, 目前用于固定布局,自由布局现阶段可通过 WorkflowDocument 直接操作, 后续也会抽象出 operation > API Detail
- [](/api/services/history-service.md)
- [SelectionService](/api/services/selection-service.md): 用于控制选择的节点 > API Detail
- [DisposableCollection](/api/utils/disposable-collection.md)
- [Disposable](/api/utils/disposable.md)
- [Emitter](/api/utils/emitter.md): 事件模块
- [getNodeForm](/api/utils/get-node-form.md): 获取节点的表单能力,需要开启 节点引擎才能使用 > API Detail
- [常用 API](/api/common-apis.md)
- [](/api/plugins.md)
## TypeDocs
- [](/auto-docs/index.md)
- [Class: CommandRegistry](/auto-docs/core/classes/CommandRegistry.md)
- [Class: ConfigEntity
](/auto-docs/core/classes/ConfigEntity.md): 用于专门的数据配置,且是单例
- [Class: ContextMenuService](/auto-docs/core/classes/ContextMenuService.md): 圈选右键菜单相关 service
- [Class: DefaultClipboardService](/auto-docs/core/classes/DefaultClipboardService.md): 剪贴板服务,一般用于管理临时的复制黏贴数据
TODO: 后续可以支持调用浏览器
- [Class: EditorStateConfigEntity](/auto-docs/core/classes/EditorStateConfigEntity.md): 编辑状态管理
- [Class: Entity](/auto-docs/core/classes/Entity-1.md)
- [Class: EntityData](/auto-docs/core/classes/EntityData.md): 实体的数据块
- [Class: EntityManager](/auto-docs/core/classes/EntityManager.md): TODO registry 改成 decorator
Entity 管理器,全局唯一
- [Class: FlushLayerMessage](/auto-docs/core/classes/FlushLayerMessage.md)
- [Class: Layer](/auto-docs/core/classes/Layer.md): 基础 layer
- [Class: LocalStorageService](/auto-docs/core/classes/LocalStorageService.md)
- [Class: LoggerService](/auto-docs/core/classes/LoggerService.md): 画布全局的选择器,可以放任何东西
- [Class: OpacityData](/auto-docs/core/classes/OpacityData.md): 实体的数据块
- [Class: OriginData](/auto-docs/core/classes/OriginData.md): 实体的数据块
- [Class: PipelineEntitiesImpl](/auto-docs/core/classes/PipelineEntitiesImpl.md): 注入到 Layer 中的实体选择器
- [Class: PipelineEntitiesSelector](/auto-docs/core/classes/PipelineEntitiesSelector.md): 选择器用来在 pipeline 绘制之前,筛选并注入 entities
- [Class: PipelineRegistry](/auto-docs/core/classes/PipelineRegistry.md): pipeline 注册器,用于注册一些事件
- [Class: PipelineRenderer](/auto-docs/core/classes/PipelineRenderer.md): pipeline 渲染器
- [Class: Playground](/auto-docs/core/classes/Playground.md)
- [Class: PlaygroundConfigEntity](/auto-docs/core/classes/PlaygroundConfigEntity.md): 全局画布的配置信息
- [Class: PlaygroundDrag](/auto-docs/core/classes/PlaygroundDrag-1.md)
- [Class: PlaygroundGesture](/auto-docs/core/classes/PlaygroundGesture.md)
- [Class: PlaygroundLayer](/auto-docs/core/classes/PlaygroundLayer.md): 基础层,控制画布缩放/滚动等操作
- [Class: LayerTestState](/auto-docs/core/classes/PlaygroundMockTools.LayerTestState.md): PlaygroundMockTools.LayerTestState
- [Class: PlaygroundRegistry](/auto-docs/core/classes/PlaygroundRegistry.md)
- [Class: PlaygroundSchedule](/auto-docs/core/classes/PlaygroundSchedule.md)
- [Class: PositionData](/auto-docs/core/classes/PositionData.md): Copyright (c) 2025 Bytedance Ltd. and/or its affiliates
SPDX-License-Identifier: MIT
- [Class: RotationData](/auto-docs/core/classes/RotationData.md): 实体的数据块
- [Class: ScaleData](/auto-docs/core/classes/ScaleData.md): 实体的数据块
- [Class: SelectionService](/auto-docs/core/classes/SelectionService.md): 画布全局的选择器,可以放任何东西
- [Class: SizeData](/auto-docs/core/classes/SizeData.md): 实体的数据块
- [Class: SkewData](/auto-docs/core/classes/SkewData.md): 实体的数据块
- [Class: TransformData](/auto-docs/core/classes/TransformData-1.md): 实体的数据块
- [Enumeration: Default](/auto-docs/core/enums/Command.Default.md): Command.Default
- [Enumeration: LoggerEvent](/auto-docs/core/enums/LoggerEvent.md)
- [Enumeration: PipelineLayerPriority](/auto-docs/core/enums/PipelineLayerPriority.md)
- [Enumeration: PipelineMessage](/auto-docs/core/enums/PipelineMessage.md)
- [Function: applyMatrix](/auto-docs/core/functions/Bounds.applyMatrix.md): Bounds.applyMatrix applyMatrix(bounds, matrix): Rectangle Parameters Returns Rectangle
- [Function: getBottomCenter](/auto-docs/core/functions/Bounds.getBottomCenter.md): Bounds.getBottomCenter getBottomCenter(target, matrix?): PositionSchema Parameters Returns PositionSchema
- [Function: getBottomLeft](/auto-docs/core/functions/Bounds.getBottomLeft.md): Bounds.getBottomLeft getBottomLeft(target, matrix?): PositionSchema Parameters Returns PositionSchema
- [Function: getBottomRight](/auto-docs/core/functions/Bounds.getBottomRight.md): Bounds.getBottomRight getBottomRight(target, matrix?): PositionSchema Parameters Returns PositionSchema
- [Function: getBounds](/auto-docs/core/functions/Bounds.getBounds.md): Bounds.getBounds getBounds(target, matrix?): Rectangle 获取外围边界矩形 Parameters Returns Rectangle
- [Function: getCenter](/auto-docs/core/functions/Bounds.getCenter.md): Bounds.getCenter getCenter(target, matrix?): PositionSchema Parameters Returns PositionSchema
- [Function: getLeftCenter](/auto-docs/core/functions/Bounds.getLeftCenter.md): Bounds.getLeftCenter getLeftCenter(target, matrix?): PositionSchema Parameters Returns PositionSchema
- [Function: getLeftPointFromBounds](/auto-docs/core/functions/Bounds.getLeftPointFromBounds.md): Bounds.getLeftPointFromBounds getLeftPointFromBounds(target, matrix?): PositionSchema 找到边框中最左边的点 Parameters Returns PositionSchema
- [Function: getPointWithMatrix](/auto-docs/core/functions/Bounds.getPointWithMatrix.md): Bounds.getPointWithMatrix getPointWithMatrix(output, matrix?): PositionSchema 位置做矩阵偏移 Parameters Returns PositionSchema
- [Function: getRightCenter](/auto-docs/core/functions/Bounds.getRightCenter.md): Bounds.getRightCenter getRightCenter(target, matrix?): PositionSchema Parameters Returns PositionSchema
- [Function: getTopCenter](/auto-docs/core/functions/Bounds.getTopCenter.md): Bounds.getTopCenter getTopCenter(target, matrix?): PositionSchema Parameters Returns PositionSchema
- [Function: getTopLeft](/auto-docs/core/functions/Bounds.getTopLeft.md): Bounds.getTopLeft getTopLeft(target, matrix?): PositionSchema Parameters Returns PositionSchema
- [Function: getTopPointFromBounds](/auto-docs/core/functions/Bounds.getTopPointFromBounds.md): Bounds.getTopPointFromBounds getTopPointFromBounds(target, matrix?): PositionSchema 找到边框中最上边的点 Parameters Returns PositionSchema
- [Function: getTopRight](/auto-docs/core/functions/Bounds.getTopRight.md): Bounds.getTopRight getTopRight(target, matrix?): PositionSchema Parameters Returns PositionSchema
- [Function: is](/auto-docs/core/functions/Command.is.md): Command.is is(arg): arg is Command 判断是否是 command Parameters Returns arg is Command
- [Function: checkDataChanged](/auto-docs/core/functions/Entity.checkDataChanged.md): Entity.checkDataChanged checkDataChanged(oldProps, newProps): boolean 默认数据比较,采用浅比较 Parameters Returns boolean
- [Function: getType](/auto-docs/core/functions/Entity.getType.md): Entity.getType getType(registry): string Parameters Returns string
- [Function: isRegistryOf](/auto-docs/core/functions/Entity.isRegistryOf.md): Entity.isRegistryOf isRegistryOf(target, Registry): boolean Parameters Returns boolean
- [Function: MOUSE_SCROLL_DELTA](/auto-docs/core/functions/MOUSE_SCROLL_DELTA.md): MOUSE_SCROLL_DELTA(zoom): number 鼠标缩放 delta Parameters Returns number
- [Function: getEventCoord](/auto-docs/core/functions/MouseTouchEvent.getEventCoord.md): MouseTouchEvent.getEventCoord getEventCoord(e): Object Parameters Returns Object
- [Function: isTouchEvent](/auto-docs/core/functions/MouseTouchEvent.isTouchEvent.md): MouseTouchEvent.isTouchEvent isTouchEvent(event): event is TouchEvent Parameters Returns event is TouchEvent
- [Function: onTouched](/auto-docs/core/functions/MouseTouchEvent.onTouched.md): MouseTouchEvent.onTouched onTouched(touchStartEvent, callback): void Parameters Returns void
- [Function: preventDefault](/auto-docs/core/functions/MouseTouchEvent.preventDefault.md): MouseTouchEvent.preventDefault preventDefault(e): void Parameters Returns void
- [Function: touchToMouseEvent](/auto-docs/core/functions/MouseTouchEvent.touchToMouseEvent.md): MouseTouchEvent.touchToMouseEvent touchToMouseEvent(event): MouseEvent | Event Parameters Returns MouseEvent | Event
- [Function: startDrag](/auto-docs/core/functions/PlaygroundDrag.startDrag.md): PlaygroundDrag.startDrag startDrag(clientX, clientY, opts?): Disposable 拖拽实体 Type parameters Parameters Returns Disposable
- [Function: createContainer](/auto-docs/core/functions/PlaygroundMockTools.createContainer.md): PlaygroundMockTools.createContainer createContainer(modules?): interfaces.Container Parameters Returns interfaces.Container
- [Function: createLayerTestState](/auto-docs/core/functions/PlaygroundMockTools.createLayerTestState.md): PlaygroundMockTools.createLayerTestState createLayerTestState(layerRegistry, opts?, modules?): LayerTestState 创建layer, 并记录layer的回调数据 Type parameters Parameters Returns LayerTestState
- [Function: createPlayground](/auto-docs/core/functions/PlaygroundMockTools.createPlayground.md): PlaygroundMockTools.createPlayground createPlayground(modules?): Playground Parameters Returns Playground
- [Function: getLayerTestState](/auto-docs/core/functions/PlaygroundMockTools.getLayerTestState.md): PlaygroundMockTools.getLayerTestState getLayerTestState(container, layerRegistry): LayerTestState Type parameters Parameters Returns LayerTestState
- [Function: PlaygroundReactProvider](/auto-docs/core/functions/PlaygroundReactProvider.md): PlaygroundReactProvider(props): null | ReactElement> Playground react 组件 Parameters Returns null | ReactElement>
- [Function: PlaygroundReactRenderer](/auto-docs/core/functions/PlaygroundReactRenderer.md): PlaygroundReactRenderer(props, deprecatedLegacyContext?): null | ReactElement Parameters Returns null | ReactElement
- [Function: coverSize](/auto-docs/core/functions/SizeSchema.coverSize.md): SizeSchema.coverSize coverSize(currentSize, parentSize): number 填充父节点的宽高 Parameters Returns number 返回放大的比例
- [Function: empty](/auto-docs/core/functions/SizeSchema.empty.md): SizeSchema.empty empty(): SizeSchema Returns SizeSchema
- [Function: fixSize](/auto-docs/core/functions/SizeSchema.fixSize.md): SizeSchema.fixSize fixSize(currentSize, parentSize): number 适配父节点宽高 Parameters Returns number 返回需要缩放的比例,为 1 则不缩放
- [Function: isParentOrChildrenTransform](/auto-docs/core/functions/TransformData.isParentOrChildrenTransform.md): TransformData.isParentOrChildrenTransform isParentOrChildrenTransform(dragableEntities, target): boolean Parameters Returns boolean
- [Function: createDefault](/auto-docs/core/functions/TransformSchema.createDefault.md): TransformSchema.createDefault createDefault(): TransformSchema Returns TransformSchema
- [Function: getDelta](/auto-docs/core/functions/TransformSchema.getDelta.md): TransformSchema.getDelta getDelta(oldTransform, newTransform): TransformSchema Parameters Returns TransformSchema
- [Function: is](/auto-docs/core/functions/TransformSchema.is.md): TransformSchema.is is(obj): obj is TransformSchema Parameters Returns obj is TransformSchema
- [Function: mergeDelta](/auto-docs/core/functions/TransformSchema.mergeDelta.md): TransformSchema.mergeDelta mergeDelta(oldTransform, newTransformDelta, toFixedNum?): TransformSchema Parameters Returns TransformSchema
- [Function: toJSON](/auto-docs/core/functions/TransformSchema.toJSON.md): TransformSchema.toJSON toJSON(obj): TransformSchema Parameters Returns TransformSchema
- [Function: bindConfigEntity](/auto-docs/core/functions/bindConfigEntity.md): bindConfigEntity(bind, entityRegistry): void 让 entity 可以注入到类中 Parameters Returns void Example
- [Function: bindContributionProvider](/auto-docs/core/functions/bindContributionProvider.md): bindContributionProvider(bind, id): void Parameters Returns void
- [Function: bindContributions](/auto-docs/core/functions/bindContributions.md): bindContributions(bind, target, contribs): void Copyright (c) 2025 Bytedance Ltd. and/or its affiliates
SPDX-License-Identifier: MIT Parameters Returns void
- [Function: bindPlaygroundContextProvider](/auto-docs/core/functions/bindPlaygroundContextProvider.md): bindPlaygroundContextProvider(bind): void Parameters Returns void
- [Function: createConfigDataRegistry](/auto-docs/core/functions/createConfigDataRegistry.md): createConfigDataRegistry(entity): EntityDataRegistry Type parameters Parameters Returns EntityDataRegistry
- [Function: createDefaultPlaygroundConfig](/auto-docs/core/functions/createDefaultPlaygroundConfig.md): createDefaultPlaygroundConfig(): PlaygroundConfig 默认配置 Returns PlaygroundConfig
- [Function: createPlaygroundContainer](/auto-docs/core/functions/createPlaygroundContainer.md): createPlaygroundContainer(config?, parent?, container?): interfaces.Container Parameters Returns interfaces.Container
- [Function: createPlaygroundLayerDefault](/auto-docs/core/functions/createPlaygroundLayerDefault.md): createPlaygroundLayerDefault(container, layerRegistry, options?): Layer Parameters Returns Layer
- [Function: createPlaygroundPlugin](/auto-docs/core/functions/createPlaygroundPlugin.md): createPlaygroundPlugin(options): Plugin Type parameters Parameters Returns Plugin Example
- [Function: createPluginContextDefault](/auto-docs/core/functions/createPluginContextDefault.md): createPluginContextDefault(container): PluginContext Parameters Returns PluginContext
- [Function: createRegistryDecorator](/auto-docs/core/functions/createRegistryDecorator.md): createRegistryDecorator(key, data, getValue?, init?): any Parameters Returns any
- [Function: definePluginCreator](/auto-docs/core/functions/definePluginCreator.md): definePluginCreator(config): PluginCreator Type parameters Parameters Returns PluginCreator
- [Function: getEntityDatasMetadata](/auto-docs/core/functions/getEntityDatasMetadata.md): getEntityDatasMetadata(layer): { data: EntityDataRegistry ; entity: EntityRegistry }[] Parameters Returns { data: EntityDataRegistry ; entity: EntityRegistry }[]
- [Function: getEntityMetadata](/auto-docs/core/functions/getEntityMetadata.md): getEntityMetadata(layer): EntityRegistry[] Parameters Returns EntityRegistry[]
- [Function: getRegistryMetadata](/auto-docs/core/functions/getRegistryMetadata.md): getRegistryMetadata(target, key): any[] Parameters Returns any[]
- [Function: injectByProvider](/auto-docs/core/functions/injectByProvider.md): injectByProvider(provider): (target: any, propertyKey: string) => any Parameters Returns fn (target, propertyKey): any Parameters Returns any
- [Function: injectPlaygroundContext](/auto-docs/core/functions/injectPlaygroundContext.md): injectPlaygroundContext(): (target: any, propertyKey: string) => any Returns fn (target, propertyKey): any Parameters Returns any
- [Function: lazyInject](/auto-docs/core/functions/lazyInject.md): lazyInject(serviceIdentifier): (target: any, propertyKey: string) => any Parameters Returns fn (target, propertyKey): any Parameters Returns any
- [Function: loadPlugins](/auto-docs/core/functions/loadPlugins.md): loadPlugins(plugins, container): void Parameters Returns void
- [Function: observeEntities](/auto-docs/core/functions/observeEntities.md): observeEntities(registry): any 监听 entity 变化 Parameters Returns any
- [Function: observeEntity](/auto-docs/core/functions/observeEntity.md): observeEntity(registry): any Parameters Returns any
- [Function: observeEntityDatas](/auto-docs/core/functions/observeEntityDatas.md): observeEntityDatas(entityRegistry, dataRegistry): any 监听 entity 对应的 data 数据变化 Parameters Returns any
- [Function: removeInjectedProperties](/auto-docs/core/functions/removeInjectedProperties.md): removeInjectedProperties(instance): void 在 rspack 场景编译ts文件时候
decorator 注入的 property 会被当成 this 的属性, 导致 Reflect.metadata 失效 Parameters Returns void
- [Function: scrollIntoViewWithTween](/auto-docs/core/functions/scrollIntoViewWithTween.md): scrollIntoViewWithTween(opts): Disposable 滚动到可视区域 Parameters Returns Disposable
- [Function: startTween](/auto-docs/core/functions/startTween.md): startTween(opts): Disposable Type parameters Parameters Returns Disposable
- [Function: useConfigEntity](/auto-docs/core/functions/useConfigEntity.md): useConfigEntity(entityRegistry, listenChange?): T 获取 config entity Type parameters Parameters Returns T
- [Function: useEntities](/auto-docs/core/functions/useEntities.md): useEntities(entityRegistry): T[] 获取 entities 并监听变化 Type parameters Parameters Returns T[] Deprecated
- [Function: useEntityDataFromContext](/auto-docs/core/functions/useEntityDataFromContext.md): useEntityDataFromContext(dataRegistry, listenChange?): T 从上下 PlaygroundEntityContext 获取 entity data 并监听变化 (默认不监听) Type parameters Parameters Returns T
- [Function: useEntityFromContext](/auto-docs/core/functions/useEntityFromContext.md): useEntityFromContext(listenChange?): T 从上下 PlaygroundEntityContext 获取 entity 并监听变化(默认不监听) Type parameters Parameters Returns T
- [Function: useListenEvents](/auto-docs/core/functions/useListenEvents.md): useListenEvents(...events): void 监听 event 事件变化 Parameters Returns void
- [Function: usePlayground](/auto-docs/core/functions/usePlayground.md): usePlayground(): Playground 获取 playground Returns Playground
- [Function: usePlaygroundContainer](/auto-docs/core/functions/usePlaygroundContainer.md): usePlaygroundContainer(): interfaces.Container 获取 playground inversify container Returns interfaces.Container
- [Function: usePlaygroundContext](/auto-docs/core/functions/usePlaygroundContext.md): usePlaygroundContext(): T 获取 playground context 数据 Type parameters Returns T
- [Function: usePlaygroundDrag](/auto-docs/core/functions/usePlaygroundDrag.md): usePlaygroundDrag(): UsePlaygroundDragReturn Returns UsePlaygroundDragReturn
- [Function: useRefresh](/auto-docs/core/functions/useRefresh.md): useRefresh(defaultValue?): (v?: any) => void Copyright (c) 2025 Bytedance Ltd. and/or its affiliates
SPDX-License-Identifier: MIT Parameters Returns fn (v?): void Parameters Returns void
- [Function: useService](/auto-docs/core/functions/useService.md): useService(identifier): T 获取画布的 IOC 模块 Type parameters Parameters Returns T
- [Interface: ClipboardService](/auto-docs/core/interfaces/ClipboardService.md)
- [Interface: Command](/auto-docs/core/interfaces/Command-1.md)
- [Interface: CommandService](/auto-docs/core/interfaces/CommandService.md): command service 执行接口
- [Interface: ConfigEntityProps](/auto-docs/core/interfaces/ConfigEntityProps.md)
- [Interface: ContributionProvider](/auto-docs/core/interfaces/ContributionProvider.md)
- [Interface: EditorState](/auto-docs/core/interfaces/EditorState-1.md): 编辑态
- [Interface: EditorStateChangeEvent](/auto-docs/core/interfaces/EditorStateChangeEvent.md)
- [Interface: EntityDataChangedEvent](/auto-docs/core/interfaces/EntityDataChangedEvent.md)
- [Interface: EntityDataRegistry](/auto-docs/core/interfaces/EntityDataRegistry.md)
- [Interface: EntityJSON](/auto-docs/core/interfaces/EntityJSON.md): 持久化数据
- [Interface: EntityManagerContribution](/auto-docs/core/interfaces/EntityManagerContribution.md)
- [Interface: EntityOpts](/auto-docs/core/interfaces/EntityOpts.md)
- [Interface: EntityRegistry](/auto-docs/core/interfaces/EntityRegistry.md): 注册类
- [Interface: LayerEntitiesSelector](/auto-docs/core/interfaces/LayerEntitiesSelector.md)
- [Interface: LayerOptions](/auto-docs/core/interfaces/LayerOptions.md)
- [Interface: LayerRegistry](/auto-docs/core/interfaces/LayerRegistry.md)
- [Interface: LoggerProps](/auto-docs/core/interfaces/LoggerProps.md)
- [Interface: NodeSchema](/auto-docs/core/interfaces/NodeSchema.md)
- [Interface: OriginSchema](/auto-docs/core/interfaces/OriginSchema.md)
- [Interface: PipelineDimension](/auto-docs/core/interfaces/PipelineDimension.md)
- [Interface: PipelineEntities](/auto-docs/core/interfaces/PipelineEntities.md): 注入到 Layer 中的实体选择器
- [Interface: PipelineEventRegsiter](/auto-docs/core/interfaces/PipelineEventRegsiter.md)
- [Interface: PlaygroundConfig](/auto-docs/core/interfaces/PlaygroundConfig.md): 画布配置
- [Interface: PlaygroundConfigEntityData](/auto-docs/core/interfaces/PlaygroundConfigEntityData.md)
- [Interface: PlaygroundConfigRevealOpts](/auto-docs/core/interfaces/PlaygroundConfigRevealOpts.md)
- [Interface: PlaygroundContainerFactory](/auto-docs/core/interfaces/PlaygroundContainerFactory.md)
- [Interface: PlaygroundContribution](/auto-docs/core/interfaces/PlaygroundContribution.md)
- [Interface: PlaygroundDragEntitiesOpts](/auto-docs/core/interfaces/PlaygroundDragEntitiesOpts.md)
- [Interface: PlaygroundDragEvent](/auto-docs/core/interfaces/PlaygroundDragEvent.md)
- [Interface: PlaygroundDragOptions](/auto-docs/core/interfaces/PlaygroundDragOptions.md)
- [Interface: PlaygroundLayerOptions](/auto-docs/core/interfaces/PlaygroundLayerOptions.md)
- [Interface: PlaygroundReactProviderProps](/auto-docs/core/interfaces/PlaygroundReactProviderProps.md)
- [Interface: PlaygroundReactRendererProps](/auto-docs/core/interfaces/PlaygroundReactRendererProps.md)
- [Interface: PluginBindConfig](/auto-docs/core/interfaces/PluginBindConfig.md)
- [Interface: PluginConfig](/auto-docs/core/interfaces/PluginConfig.md)
- [Interface: PluginContext](/auto-docs/core/interfaces/PluginContext.md)
- [Interface: PluginsProvider](/auto-docs/core/interfaces/PluginsProvider.md)
- [Interface: PositionSchema](/auto-docs/core/interfaces/PositionSchema.md): Copyright (c) 2025 Bytedance Ltd. and/or its affiliates
SPDX-License-Identifier: MIT
- [Interface: RegistryInit](/auto-docs/core/interfaces/RegistryInit.md)
- [Interface: RegistryValueGetter](/auto-docs/core/interfaces/RegistryValueGetter.md)
- [Interface: ScaleSchema](/auto-docs/core/interfaces/ScaleSchema.md)
- [Interface: ScrollIntoViewOpts](/auto-docs/core/interfaces/ScrollIntoViewOpts.md)
- [Interface: SizeSchema](/auto-docs/core/interfaces/SizeSchema-1.md)
- [Interface: SkewSchema](/auto-docs/core/interfaces/SkewSchema.md)
- [Interface: StorageService](/auto-docs/core/interfaces/StorageService.md): 存储数据到缓存
- [Interface: TransformNodeSchema](/auto-docs/core/interfaces/TransformNodeSchema.md)
- [Interface: TransformSchema](/auto-docs/core/interfaces/TransformSchema-1.md)
- [Interface: TweenOpts](/auto-docs/core/interfaces/TweenOpts.md)
- [Namespace: Bounds](/auto-docs/core/modules/Bounds.md)
- [Namespace: Command](/auto-docs/core/modules/Command.md)
- [Namespace: EditorState](/auto-docs/core/modules/EditorState.md)
- [Namespace: Entity](/auto-docs/core/modules/Entity.md)
- [Namespace: MouseTouchEvent](/auto-docs/core/modules/MouseTouchEvent.md): Copyright (c) 2025 Bytedance Ltd. and/or its affiliates
SPDX-License-Identifier: MIT
- [Namespace: PlaygroundDrag](/auto-docs/core/modules/PlaygroundDrag.md)
- [Namespace: PlaygroundMockTools](/auto-docs/core/modules/PlaygroundMockTools.md): 画布测试工具 Example
- [Namespace: SizeSchema](/auto-docs/core/modules/SizeSchema.md)
- [Namespace: TransformData](/auto-docs/core/modules/TransformData.md)
- [Namespace: TransformSchema](/auto-docs/core/modules/TransformSchema.md)
- [Type alias: Cursors](/auto-docs/core/types/Cursors.md): Cursors: Record
- [Type alias: EntityDataInjector](/auto-docs/core/types/EntityDataInjector.md): EntityDataInjector: () => OPTS Type declaration (): OPTS Type parameters Returns OPTS
- [Type alias: EntityDataProps](/auto-docs/core/types/EntityDataProps.md): EntityDataProps: E["data"] Type parameters
- [Type alias: OpacitySchema](/auto-docs/core/types/OpacitySchema.md): OpacitySchema: number Copyright (c) 2025 Bytedance Ltd. and/or its affiliates
SPDX-License-Identifier: MIT
- [Type alias: PipeEventName](/auto-docs/core/types/PipeEventName.md): PipeEventName: string
- [Type alias: PipeSupportEvent](/auto-docs/core/types/PipeSupportEvent.md): PipeSupportEvent: MouseEvent | DragEvent | KeyboardEvent | UIEvent | TouchEvent | any
- [Type alias: PipelineEventHandler](/auto-docs/core/types/PipelineEventHandler.md): PipelineEventHandler: (event: PipeSupportEvent) => boolean | undefined Type declaration (event): boolean | undefined Parameters Returns boolean | undefined
- [Type alias: PipelineLayerFactory](/auto-docs/core/types/PipelineLayerFactory.md): PipelineLayerFactory: (layerRegistry: LayerRegistry, layerOptions?: any) => Layer Type declaration (layerRegistry, layerOptions?): Layer Parameters Returns Layer
- [Type alias: PlaygroundContext](/auto-docs/core/types/PlaygroundContext.md): PlaygroundContext: any
- [Type alias: PlaygroundContextProvider](/auto-docs/core/types/PlaygroundContextProvider.md): PlaygroundContextProvider: () => any Type declaration (): any Returns any
- [Type alias: PlaygroundInteractiveType](/auto-docs/core/types/PlaygroundInteractiveType.md): PlaygroundInteractiveType: "MOUSE" | "PAD" MOUSE: 鼠标友好模式,鼠标左键拖动画布,滚动缩放 (适合 windows )
PAD: 双指同向移动拖动,双指张开捏合缩放 (适合 mac)
- [Type alias: PlaygroundScrollLimitFn](/auto-docs/core/types/PlaygroundScrollLimitFn.md): PlaygroundScrollLimitFn: (scroll: { scrollX: number ; scrollY: number }) => { scrollX: number ; scrollY: number } Type declaration (scroll): Object Parameters Returns Object
- [Type alias: Plugin](/auto-docs/core/types/Plugin.md): Plugin: Object Type parameters Type declaration
- [Type alias: PluginCreator](/auto-docs/core/types/PluginCreator.md): PluginCreator: (opts: Options) => Plugin Type parameters Type declaration (opts): Plugin Parameters Returns Plugin
- [Type alias: ProtectWheelArea](/auto-docs/core/types/ProtectWheelArea.md): ProtectWheelArea: (dom: Element) => boolean Type declaration (dom): boolean Parameters Returns boolean
- [Type alias: RotationSchema](/auto-docs/core/types/RotationSchema.md): RotationSchema: number
- [Variable: ClipboardService](/auto-docs/core/variables/ClipboardService-1.md): Const ClipboardService: typeof ClipboardService
- [Variable: CommandService](/auto-docs/core/variables/CommandService-1.md): Const CommandService: unique symbol Copyright (c) 2025 Bytedance Ltd. and/or its affiliates
SPDX-License-Identifier: MIT
- [Variable: ContributionProvider](/auto-docs/core/variables/ContributionProvider-1.md): Const ContributionProvider: unique symbol Copyright (c) 2025 Bytedance Ltd. and/or its affiliates
SPDX-License-Identifier: MIT
- [Variable: EDITOR_STATE_DEFAULTS](/auto-docs/core/variables/EDITOR_STATE_DEFAULTS.md): Const EDITOR_STATE_DEFAULTS: EditorState[]
- [Variable: ENTITIES_BY_DATA_DECO_KEY](/auto-docs/core/variables/ENTITIES_BY_DATA_DECO_KEY.md): Const ENTITIES_BY_DATA_DECO_KEY: typeof ENTITIES_BY_DATA_DECO_KEY
- [Variable: ENTITIES_DECO_KEY](/auto-docs/core/variables/ENTITIES_DECO_KEY.md): Const ENTITIES_DECO_KEY: typeof ENTITIES_DECO_KEY
- [Variable: STATE_GRAB](/auto-docs/core/variables/EditorState.STATE_GRAB.md): EditorState.STATE_GRAB Const STATE_GRAB: EditorState
- [Variable: STATE_MOUSE_FRIENDLY_SELECT](/auto-docs/core/variables/EditorState.STATE_MOUSE_FRIENDLY_SELECT.md): EditorState.STATE_MOUSE_FRIENDLY_SELECT Const STATE_MOUSE_FRIENDLY_SELECT: EditorState 鼠标友好模式状态
- [Variable: STATE_SELECT](/auto-docs/core/variables/EditorState.STATE_SELECT.md): EditorState.STATE_SELECT Const STATE_SELECT: EditorState
- [Variable: EntityManagerContribution](/auto-docs/core/variables/EntityManagerContribution-1.md): Const EntityManagerContribution: typeof EntityManagerContribution
- [Variable: FLUSH_LAYER_REQUEST](/auto-docs/core/variables/FLUSH_LAYER_REQUEST.md): Const FLUSH_LAYER_REQUEST: "flush-layer-request"
- [Variable: LayerOptions](/auto-docs/core/variables/LayerOptions-1.md): LayerOptions: typeof LayerOptions
- [Variable: LazyInjectContext](/auto-docs/core/variables/LazyInjectContext.md): Const LazyInjectContext: typeof LazyInjectContext
- [Variable: OpacitySchemaDecoration](/auto-docs/core/variables/OpacitySchemaDecoration.md): Const OpacitySchemaDecoration: SchemaDecoration
- [Variable: OriginSchemaDecoration](/auto-docs/core/variables/OriginSchemaDecoration.md): Const OriginSchemaDecoration: SchemaDecoration
- [Variable: PipelineLayerFactory](/auto-docs/core/variables/PipelineLayerFactory-1.md): Const PipelineLayerFactory: typeof PipelineLayerFactory
- [Variable: PlaygroundConfig](/auto-docs/core/variables/PlaygroundConfig-1.md): Const PlaygroundConfig: typeof PlaygroundConfig
- [Variable: PlaygroundContainerFactory](/auto-docs/core/variables/PlaygroundContainerFactory-1.md): Const PlaygroundContainerFactory: typeof PlaygroundContainerFactory
- [Variable: PlaygroundContainerModule](/auto-docs/core/variables/PlaygroundContainerModule.md): Const PlaygroundContainerModule: ContainerModule
- [Variable: PlaygroundContext](/auto-docs/core/variables/PlaygroundContext-1.md): Const PlaygroundContext: typeof PlaygroundContext 会被注入到 layer 层,可以在使用的时候替换它
- [Variable: PlaygroundContextProvider](/auto-docs/core/variables/PlaygroundContextProvider-1.md): Const PlaygroundContextProvider: typeof PlaygroundContextProvider
- [Variable: PlaygroundContribution](/auto-docs/core/variables/PlaygroundContribution-1.md): Const PlaygroundContribution: typeof PlaygroundContribution
- [Variable: PlaygroundEntityContext](/auto-docs/core/variables/PlaygroundEntityContext.md): Const PlaygroundEntityContext: Context 当前 entity
- [Variable: PlaygroundReactContainerContext](/auto-docs/core/variables/PlaygroundReactContainerContext.md): Const PlaygroundReactContainerContext: Context
- [Variable: PlaygroundReactContext](/auto-docs/core/variables/PlaygroundReactContext.md): Const PlaygroundReactContext: Context
- [Variable: PlaygroundReactRefContext](/auto-docs/core/variables/PlaygroundReactRefContext.md): Const PlaygroundReactRefContext: Context
- [Variable: Plugin](/auto-docs/core/variables/Plugin-1.md): Const Plugin: typeof Plugin
- [Variable: PluginContext](/auto-docs/core/variables/PluginContext-1.md): PluginContext: typeof PluginContext
- [Variable: PositionSchemaDecoration](/auto-docs/core/variables/PositionSchemaDecoration.md): Const PositionSchemaDecoration: SchemaDecoration
- [Variable: ProtectWheelArea](/auto-docs/core/variables/ProtectWheelArea-1.md): Const ProtectWheelArea: typeof ProtectWheelArea 保护区域不被画布劫持滚动事件
- [Variable: RotationSchemaDecoration](/auto-docs/core/variables/RotationSchemaDecoration.md): Const RotationSchemaDecoration: SchemaDecoration
- [Variable: SCALE_WIDTH](/auto-docs/core/variables/SCALE_WIDTH.md): Const SCALE_WIDTH: 0
- [Variable: ScaleSchemaDecoration](/auto-docs/core/variables/ScaleSchemaDecoration.md): Const ScaleSchemaDecoration: SchemaDecoration
- [Variable: SizeSchemaDecoration](/auto-docs/core/variables/SizeSchemaDecoration.md): Const SizeSchemaDecoration: SchemaDecoration
- [Variable: SkewSchemaDecoration](/auto-docs/core/variables/SkewSchemaDecoration.md): Const SkewSchemaDecoration: SchemaDecoration
- [Variable: StorageService](/auto-docs/core/variables/StorageService-1.md): Const StorageService: typeof StorageService
- [Variable: TransformSchemaDecoration](/auto-docs/core/variables/TransformSchemaDecoration.md): Const TransformSchemaDecoration: SchemaDecoration
- [Class: FlowDocument](/auto-docs/document/classes/FlowDocument.md): 流程整个文档数据
- [Class: FlowDocumentConfig](/auto-docs/document/classes/FlowDocumentConfig.md): 用于文档扩展配置
- [Class: FlowDocumentTransformerEntity](/auto-docs/document/classes/FlowDocumentTransformerEntity.md): 用于通知所有 layer 更新
- [Class: FlowDragService](/auto-docs/document/classes/FlowDragService.md): 拖拽相关操作
外部实现抽象类
- [Class: FlowGroupController](/auto-docs/document/classes/FlowGroupController.md): 分组控制器
- [Class: FlowGroupService](/auto-docs/document/classes/FlowGroupService.md)
- [Class: FlowNodeEntity](/auto-docs/document/classes/FlowNodeEntity-1.md)
- [Class: FlowNodeRenderData](/auto-docs/document/classes/FlowNodeRenderData.md): 节点渲染状态相关数据
- [Class: FlowNodeTransformData](/auto-docs/document/classes/FlowNodeTransformData.md)
- [Class: FlowNodeTransitionData](/auto-docs/document/classes/FlowNodeTransitionData.md)
- [Class: FlowOperationBaseServiceImpl](/auto-docs/document/classes/FlowOperationBaseServiceImpl.md): 操作服务
- [Class: FlowRendererStateEntity](/auto-docs/document/classes/FlowRendererStateEntity.md): 渲染相关的全局状态管理
- [Class: FlowVirtualTree](/auto-docs/document/classes/FlowVirtualTree-1.md): 存储节点的 tree 结构信息
策略是 "重修改轻查询",即修改时候做的事情更多,查询都通过指针来操作
- [Enumeration: DRAGGING_TYPE](/auto-docs/document/enums/DRAGGING_TYPE.md): 拖拽种类枚举 节点拖拽分支拖拽
- [Enumeration: FlowDocumentConfigEnum](/auto-docs/document/enums/FlowDocumentConfigEnum.md)
- [Enumeration: FlowLayoutDefault](/auto-docs/document/enums/FlowLayoutDefault-1.md)
- [Enumeration: FlowNodeBaseType](/auto-docs/document/enums/FlowNodeBaseType.md)
- [Enumeration: FlowNodeSplitType](/auto-docs/document/enums/FlowNodeSplitType.md)
- [Enumeration: FlowTransitionLabelEnum](/auto-docs/document/enums/FlowTransitionLabelEnum.md)
- [Enumeration: FlowTransitionLineEnum](/auto-docs/document/enums/FlowTransitionLineEnum.md)
- [Enumeration: LABEL_SIDE_TYPE](/auto-docs/document/enums/LABEL_SIDE_TYPE.md): 拖拽分支 Adder、Line 类型
- [Enumeration: OperationType](/auto-docs/document/enums/OperationType.md)
- [Function: DEFAULT_FLOW_NODE_META](/auto-docs/document/functions/DEFAULT_FLOW_NODE_META.md): DEFAULT_FLOW_NODE_META(nodeType, document): FlowNodeMeta 默认 meta 配置 Parameters Returns FlowNodeMeta
- [Function: isVertical](/auto-docs/document/functions/FlowLayoutDefault.isVertical.md): FlowLayoutDefault.isVertical isVertical(layout): boolean Parameters Returns boolean
- [Function: is](/auto-docs/document/functions/FlowNodeEntity.is.md): FlowNodeEntity.is is(obj): obj is FlowNodeEntity Parameters Returns obj is FlowNodeEntity
- [Function: extend](/auto-docs/document/functions/FlowNodeRegistry.extend.md): FlowNodeRegistry.extend extend(registry, extendRegistries): FlowNodeRegistry Parameters Returns FlowNodeRegistry
- [Function: merge](/auto-docs/document/functions/FlowNodeRegistry.merge.md): FlowNodeRegistry.merge merge(registry1, registry2, finalType): FlowNodeRegistry Parameters Returns FlowNodeRegistry
- [Function: mergeChildRegistries](/auto-docs/document/functions/FlowNodeRegistry.mergeChildRegistries.md): FlowNodeRegistry.mergeChildRegistries mergeChildRegistries(r1?, r2?): FlowNodeRegistry[] Parameters Returns FlowNodeRegistry[]
- [Function: drawLineToBottom](/auto-docs/document/functions/drawLineToBottom.md): drawLineToBottom(transition): { from: IPoint = currentOutput; to: IPoint = parentOutput; type: FlowTransitionLineEnum = FlowTransitionLineEnum.STRAIGHT_LINE }[] Parameters Returns { from: IPoint = currentOutput; to: IPoint = parentOutput; type: FlowTransitionLineEnum = FlowTransitionLineEnum.STRAIGHT_LINE }[]
- [Function: drawLineToNext](/auto-docs/document/functions/drawLineToNext.md): drawLineToNext(transition): { from: IPoint = currentOutput; to: IPoint = transform.next.inputPoint; type: FlowTransitionLineEnum = FlowTransitionLineEnum.STRAIGHT_LINE }[] Parameters Returns { from: IPoint = currentOutput; to: IPoint = transform.next.inputPoint; type: FlowTransitionLineEnum = FlowTransitionLineEnum.STRAIGHT_LINE }[]
- [Function: getDefaultSpacing](/auto-docs/document/functions/getDefaultSpacing.md): getDefaultSpacing(node, key, defaultSpacing?): any Parameters Returns any
- [Interface: AddBlockConfig](/auto-docs/document/interfaces/AddBlockConfig.md): 添加block时的配置
- [Interface: AddBlockOperation](/auto-docs/document/interfaces/AddBlockOperation.md)
- [Interface: AddChildNodeOperation](/auto-docs/document/interfaces/AddChildNodeOperation.md)
- [Interface: AddFromNodeOperation](/auto-docs/document/interfaces/AddFromNodeOperation.md)
- [Interface: AddNodeOperation](/auto-docs/document/interfaces/AddNodeOperation.md)
- [Interface: AddNodesOperation](/auto-docs/document/interfaces/AddNodesOperation.md)
- [Interface: AddOrDeleteBlockValue](/auto-docs/document/interfaces/AddOrDeleteBlockValue.md)
- [Interface: AddOrDeleteChildNodeValue](/auto-docs/document/interfaces/AddOrDeleteChildNodeValue.md)
- [Interface: AddOrDeleteFromNodeOperationValue](/auto-docs/document/interfaces/AddOrDeleteFromNodeOperationValue.md)
- [Interface: AddOrDeleteNodeOperationValue](/auto-docs/document/interfaces/AddOrDeleteNodeOperationValue.md)
- [Interface: AddOrDeleteNodeValue](/auto-docs/document/interfaces/AddOrDeleteNodeValue.md)
- [Interface: AddOrDeleteNodesOperationValue](/auto-docs/document/interfaces/AddOrDeleteNodesOperationValue.md)
- [Interface: AdderProps](/auto-docs/document/interfaces/AdderProps.md)
- [Interface: CollapseAdderProps](/auto-docs/document/interfaces/CollapseAdderProps.md)
- [Interface: CollapseProps](/auto-docs/document/interfaces/CollapseProps.md)
- [Interface: CreateGroupOperation](/auto-docs/document/interfaces/CreateGroupOperation.md)
- [Interface: CustomLabelProps](/auto-docs/document/interfaces/CustomLabelProps.md)
- [Interface: DeleteBlockOperation](/auto-docs/document/interfaces/DeleteBlockOperation.md)
- [Interface: DeleteChildNodeOperation](/auto-docs/document/interfaces/DeleteChildNodeOperation.md)
- [Interface: DeleteFromNodeOperation](/auto-docs/document/interfaces/DeleteFromNodeOperation.md)
- [Interface: DeleteNodeOperation](/auto-docs/document/interfaces/DeleteNodeOperation.md)
- [Interface: DeleteNodesOperation](/auto-docs/document/interfaces/DeleteNodesOperation.md)
- [Interface: DragNodeProps](/auto-docs/document/interfaces/DragNodeProps.md)
- [Interface: FlowDocumentContribution](/auto-docs/document/interfaces/FlowDocumentContribution.md)
- [Interface: FlowDocumentOptions](/auto-docs/document/interfaces/FlowDocumentOptions.md): 流程画布配置
- [Interface: FlowGroupJSON](/auto-docs/document/interfaces/FlowGroupJSON.md): Copyright (c) 2025 Bytedance Ltd. and/or its affiliates
SPDX-License-Identifier: MIT
- [Interface: FlowLayout](/auto-docs/document/interfaces/FlowLayout.md): 流程布局算法
- [Interface: FlowLayoutContribution](/auto-docs/document/interfaces/FlowLayoutContribution.md)
- [Interface: FlowNodeEntityConfig](/auto-docs/document/interfaces/FlowNodeEntityConfig.md)
- [Interface: FlowNodeInitData](/auto-docs/document/interfaces/FlowNodeInitData.md)
- [Interface: FlowNodeJSON](/auto-docs/document/interfaces/FlowNodeJSON.md): Flow node json data
- [Interface: FlowNodeMeta](/auto-docs/document/interfaces/FlowNodeMeta.md): 节点渲染相关配置信息,可扩展
- [Interface: FlowNodeRegistry](/auto-docs/document/interfaces/FlowNodeRegistry-1.md): 节点注册
- [Interface: FlowNodeRenderSchema](/auto-docs/document/interfaces/FlowNodeRenderSchema.md)
- [Interface: FlowNodeTransformSchema](/auto-docs/document/interfaces/FlowNodeTransformSchema.md)
- [Interface: FlowNodeTransitionSchema](/auto-docs/document/interfaces/FlowNodeTransitionSchema.md)
- [Interface: FlowOperationBaseService](/auto-docs/document/interfaces/FlowOperationBaseService.md)
- [Interface: FlowTransitionLabel](/auto-docs/document/interfaces/FlowTransitionLabel.md)
- [Interface: FlowTransitionLine](/auto-docs/document/interfaces/FlowTransitionLine.md)
- [Interface: NodeInfo](/auto-docs/document/interfaces/FlowVirtualTree.NodeInfo.md): FlowVirtualTree.NodeInfo
- [Interface: MoveBlockOperation](/auto-docs/document/interfaces/MoveBlockOperation.md)
- [Interface: MoveChildNodesOperation](/auto-docs/document/interfaces/MoveChildNodesOperation.md)
- [Interface: MoveChildNodesOperationValue](/auto-docs/document/interfaces/MoveChildNodesOperationValue.md)
- [Interface: MoveNodeConfig](/auto-docs/document/interfaces/MoveNodeConfig.md): 移动节点时的配置
- [Interface: MoveNodesOperation](/auto-docs/document/interfaces/MoveNodesOperation.md)
- [Interface: MoveNodesOperationValue](/auto-docs/document/interfaces/MoveNodesOperationValue.md)
- [Interface: OnNodeAddEvent](/auto-docs/document/interfaces/OnNodeAddEvent.md): 节点添加事件
- [Interface: OnNodeMoveEvent](/auto-docs/document/interfaces/OnNodeMoveEvent.md): 节点移动事件
- [Interface: UngroupOperation](/auto-docs/document/interfaces/UngroupOperation.md)
- [Interface: Vertex](/auto-docs/document/interfaces/Vertex.md)
- [Interface: createOrUngroupValue](/auto-docs/document/interfaces/createOrUngroupValue.md)
- [Namespace: FlowLayoutDefault](/auto-docs/document/modules/FlowLayoutDefault.md)
- [Namespace: FlowNodeEntity](/auto-docs/document/modules/FlowNodeEntity.md)
- [Namespace: FlowNodeRegistry](/auto-docs/document/modules/FlowNodeRegistry.md)
- [Namespace: FlowVirtualTree](/auto-docs/document/modules/FlowVirtualTree.md)
- [Type alias: AddNodeConfig](/auto-docs/document/types/AddNodeConfig.md): AddNodeConfig: Object Type declaration
- [Type alias: AddNodeData](/auto-docs/document/types/AddNodeData.md): AddNodeData: FlowNodeJSON & { hidden?: boolean ; index?: number ; originParent?: FlowNodeEntity ; parent?: FlowNodeEntity }
- [Type alias: FlowDocumentJSON](/auto-docs/document/types/FlowDocumentJSON.md): FlowDocumentJSON: Object Type declaration
- [Type alias: FlowDocumentProvider](/auto-docs/document/types/FlowDocumentProvider.md): FlowDocumentProvider: () => FlowDocument Type declaration (): FlowDocument Returns FlowDocument
- [Type alias: FlowNodeEntityOrId](/auto-docs/document/types/FlowNodeEntityOrId.md): FlowNodeEntityOrId: string | FlowNodeEntity
- [Type alias: FlowNodeType](/auto-docs/document/types/FlowNodeType.md): FlowNodeType: string | number
- [Type alias: FlowOperation](/auto-docs/document/types/FlowOperation.md): FlowOperation: AddFromNodeOperation | DeleteFromNodeOperation | AddBlockOperation | DeleteBlockOperation | CreateGroupOperation | UngroupOperation | MoveNodesOperation | AddNodesOperation | DeleteNodesOperation | MoveBlockOperation | AddChildNodeOperation | DeleteChildNodeOperation | MoveChildNodesOperation | AddNodeOperation | DeleteNodeOperation
- [Type alias: MoveBlockOperationValue](/auto-docs/document/types/MoveBlockOperationValue.md): MoveBlockOperationValue: Object Type declaration
- [Variable: ConstantKeys](/auto-docs/document/variables/ConstantKeys.md): Const ConstantKeys: Object 支持外部 constants 自定义的 key 枚举 Type declaration
- [Variable: DEFAULT_SIZE](/auto-docs/document/variables/DEFAULT_SIZE.md): Const DEFAULT_SIZE: Object 默认节点大小 Type declaration
- [Variable: DEFAULT_SPACING](/auto-docs/document/variables/DEFAULT_SPACING.md): Const DEFAULT_SPACING: Object 默认一些间隔参数 Type declaration
- [Variable: DefaultSpacingKey](/auto-docs/document/variables/DefaultSpacingKey.md): Const DefaultSpacingKey: Object spacing default key 值 Type declaration
- [Variable: FLOW_DEFAULT_HIDDEN_TYPES](/auto-docs/document/variables/FLOW_DEFAULT_HIDDEN_TYPES.md): Const FLOW_DEFAULT_HIDDEN_TYPES: FlowNodeType[]
- [Variable: FlowDocumentConfigDefaultData](/auto-docs/document/variables/FlowDocumentConfigDefaultData.md): Const FlowDocumentConfigDefaultData: typeof FlowDocumentConfigDefaultData
- [Variable: FlowDocumentContainerModule](/auto-docs/document/variables/FlowDocumentContainerModule.md): Const FlowDocumentContainerModule: ContainerModule
- [Variable: FlowDocumentContribution](/auto-docs/document/variables/FlowDocumentContribution-1.md): Const FlowDocumentContribution: typeof FlowDocumentContribution
- [Variable: FlowDocumentOptions](/auto-docs/document/variables/FlowDocumentOptions-1.md): Const FlowDocumentOptions: typeof FlowDocumentOptions
- [Variable: FlowDocumentOptionsDefault](/auto-docs/document/variables/FlowDocumentOptionsDefault.md): Const FlowDocumentOptionsDefault: FlowDocumentOptions
- [Variable: FlowDocumentProvider](/auto-docs/document/variables/FlowDocumentProvider-1.md): FlowDocumentProvider: typeof FlowDocumentProvider
- [Variable: FlowLayout](/auto-docs/document/variables/FlowLayout-1.md): Const FlowLayout: typeof FlowLayout
- [Variable: FlowLayoutContribution](/auto-docs/document/variables/FlowLayoutContribution-1.md): Const FlowLayoutContribution: typeof FlowLayoutContribution
- [Variable: FlowOperationBaseService](/auto-docs/document/variables/FlowOperationBaseService-1.md): FlowOperationBaseService: typeof FlowOperationBaseService
- [Variable: FixedLayoutContainerModule](/auto-docs/fixed-layout-core/variables/FixedLayoutContainerModule.md): Const FixedLayoutContainerModule: ContainerModule
- [Variable: FixedLayoutRegistries](/auto-docs/fixed-layout-core/variables/FixedLayoutRegistries.md): Const FixedLayoutRegistries: Object Type declaration
- [Variable: SlotSpacingKey](/auto-docs/fixed-layout-core/variables/SlotSpacingKey.md): Const SlotSpacingKey: Object Type declaration
- [Class: WorkflowDocument](/auto-docs/free-layout-core/classes/WorkflowDocument.md)
- [Class: WorkflowDragService](/auto-docs/free-layout-core/classes/WorkflowDragService.md)
- [Class: WorkflowHoverService](/auto-docs/free-layout-core/classes/WorkflowHoverService.md): hover 状态管理
- [Class: WorkflowLineEntity](/auto-docs/free-layout-core/classes/WorkflowLineEntity.md): 线条
- [Class: WorkflowLineRenderData](/auto-docs/free-layout-core/classes/WorkflowLineRenderData.md)
- [Class: WorkflowLinesManager](/auto-docs/free-layout-core/classes/WorkflowLinesManager.md): 线条管理
- [Class: WorkflowNodeLinesData](/auto-docs/free-layout-core/classes/WorkflowNodeLinesData.md): 节点的关联的线条
- [Class: WorkflowNodePortsData](/auto-docs/free-layout-core/classes/WorkflowNodePortsData.md): 节点的点位信息
portsData 只监听点位的数目和类型,不监听点位的 position 变化
- [Class: WorkflowOperationBaseServiceImpl](/auto-docs/free-layout-core/classes/WorkflowOperationBaseServiceImpl.md)
- [Class: WorkflowPortEntity](/auto-docs/free-layout-core/classes/WorkflowPortEntity.md): Port 抽象的 Entity
- [Class: WorkflowResetLayoutService](/auto-docs/free-layout-core/classes/WorkflowResetLayoutService.md): 重置布局服务
- [Class: WorkflowSelectService](/auto-docs/free-layout-core/classes/WorkflowSelectService.md)
- [Enumeration: EditorCursorState](/auto-docs/free-layout-core/enums/EditorCursorState.md): Copyright (c) 2025 Bytedance Ltd. and/or its affiliates
SPDX-License-Identifier: MIT
- [Enumeration: InteractiveType](/auto-docs/free-layout-core/enums/InteractiveType.md)
- [Enumeration: LineColors](/auto-docs/free-layout-core/enums/LineColors.md)
- [Enumeration: LineType](/auto-docs/free-layout-core/enums/LineType.md)
- [Enumeration: WorkflowCommands](/auto-docs/free-layout-core/enums/WorkflowCommands.md): Copyright (c) 2025 Bytedance Ltd. and/or its affiliates
SPDX-License-Identifier: MIT
- [Enumeration: WorkflowContentChangeType](/auto-docs/free-layout-core/enums/WorkflowContentChangeType.md)
- [Function: bindConfigEntity](/auto-docs/free-layout-core/functions/bindConfigEntity.md): bindConfigEntity(bind, entityRegistry): void 让 entity 可以注入到类中 Parameters Returns void Example
- [Function: buildGroupJSON](/auto-docs/free-layout-core/functions/buildGroupJSON.md): buildGroupJSON(json): WorkflowJSON Parameters Returns WorkflowJSON
- [Function: compose](/auto-docs/free-layout-core/functions/compose.md): compose(...fns): Func Type parameters Parameters Returns Func
- [Function: composeAsync](/auto-docs/free-layout-core/functions/composeAsync.md): composeAsync(...fns): FuncPromise Type parameters Parameters Returns FuncPromise
- [Function: delay](/auto-docs/free-layout-core/functions/delay.md): delay(ms, token?): Promise Parameters Returns Promise resolves after a specified number of milliseconds Throws cancelled if a given token is cancelled before a specified number of milliseconds
- [Function: domReactToBounds](/auto-docs/free-layout-core/functions/domReactToBounds.md): domReactToBounds(react): Rectangle Parameters Returns Rectangle
- [Function: fitView](/auto-docs/free-layout-core/functions/fitView.md): fitView(doc, playgroundConfig, easing?): Promise Parameters Returns Promise
- [Function: getAntiOverlapPosition](/auto-docs/free-layout-core/functions/getAntiOverlapPosition.md): getAntiOverlapPosition(doc, position, containerNode?): IPoint 获取没有碰撞的位置
距离很小时,xy 各偏移 30 Parameters Returns IPoint
- [Function: getLineCenter](/auto-docs/free-layout-core/functions/getLineCenter.md): getLineCenter(from, to, bbox, linePadding): LineCenterPoint Parameters Returns LineCenterPoint
- [Function: getPortEntityId](/auto-docs/free-layout-core/functions/getPortEntityId.md): getPortEntityId(node, portType, portID?): string Parameters Returns string
- [Function: getPortEntityIdByNodeId](/auto-docs/free-layout-core/functions/getPortEntityIdByNodeId.md): getPortEntityIdByNodeId(nodeId, portType, portID?): string Parameters Returns string
- [Function: nanoid](/auto-docs/free-layout-core/functions/nanoid.md): nanoid(n?): string Parameters Returns string
- [Function: useConfigEntity](/auto-docs/free-layout-core/functions/useConfigEntity.md): useConfigEntity(entityRegistry, listenChange?): T 获取 config entity Type parameters Parameters Returns T
- [Function: useCurrentDomNode](/auto-docs/free-layout-core/functions/useCurrentDomNode.md): useCurrentDomNode(): HTMLDivElement 获取当前渲染的 dom 节点 Returns HTMLDivElement
- [Function: useCurrentEntity](/auto-docs/free-layout-core/functions/useCurrentEntity.md): useCurrentEntity(): WorkflowNodeEntity 获取当前节点 Returns WorkflowNodeEntity
- [Function: useEntities](/auto-docs/free-layout-core/functions/useEntities.md): useEntities(entityRegistry): T[] 获取 entities 并监听变化 Type parameters Parameters Returns T[] Deprecated
- [Function: useEntityDataFromContext](/auto-docs/free-layout-core/functions/useEntityDataFromContext.md): useEntityDataFromContext(dataRegistry, listenChange?): T 从上下 PlaygroundEntityContext 获取 entity data 并监听变化 (默认不监听) Type parameters Parameters Returns T
- [Function: useEntityFromContext](/auto-docs/free-layout-core/functions/useEntityFromContext.md): useEntityFromContext(listenChange?): T 从上下 PlaygroundEntityContext 获取 entity 并监听变化(默认不监听) Type parameters Parameters Returns T
- [Function: useListenEvents](/auto-docs/free-layout-core/functions/useListenEvents.md): useListenEvents(...events): void 监听 event 事件变化 Parameters Returns void
- [Function: useNodeRender](/auto-docs/free-layout-core/functions/useNodeRender.md): useNodeRender(nodeFromProps?): NodeRenderReturnType Parameters Returns NodeRenderReturnType
- [Function: usePlayground](/auto-docs/free-layout-core/functions/usePlayground.md): usePlayground(): Playground 获取 playground Returns Playground
- [Function: usePlaygroundContainer](/auto-docs/free-layout-core/functions/usePlaygroundContainer.md): usePlaygroundContainer(): interfaces.Container 获取 playground inversify container Returns interfaces.Container
- [Function: usePlaygroundContext](/auto-docs/free-layout-core/functions/usePlaygroundContext.md): usePlaygroundContext(): T 获取 playground context 数据 Type parameters Returns T
- [Function: usePlaygroundReadonlyState](/auto-docs/free-layout-core/functions/usePlaygroundReadonlyState.md): usePlaygroundReadonlyState(listenChange?): boolean 获取 readonly 状态 Parameters Returns boolean
- [Function: useRefresh](/auto-docs/free-layout-core/functions/useRefresh.md): useRefresh(defaultValue?): (v?: any) => void Copyright (c) 2025 Bytedance Ltd. and/or its affiliates
SPDX-License-Identifier: MIT Parameters Returns fn (v?): void Parameters Returns void
- [Function: useService](/auto-docs/free-layout-core/functions/useService.md): useService(identifier): T 获取画布的 IOC 模块 Type parameters Parameters Returns T
- [Function: useWorkflowDocument](/auto-docs/free-layout-core/functions/useWorkflowDocument.md): useWorkflowDocument(): WorkflowDocument Returns WorkflowDocument
- [Interface: HoverPosition](/auto-docs/free-layout-core/interfaces/HoverPosition.md)
- [Interface: LineCenterPoint](/auto-docs/free-layout-core/interfaces/LineCenterPoint.md)
- [Interface: LineColor](/auto-docs/free-layout-core/interfaces/LineColor.md)
- [Interface: LineEventProps](/auto-docs/free-layout-core/interfaces/LineEventProps.md)
- [Interface: LinePoint](/auto-docs/free-layout-core/interfaces/LinePoint.md)
- [Interface: LinePosition](/auto-docs/free-layout-core/interfaces/LinePosition.md)
- [Interface: NodePostionUpdateEvent](/auto-docs/free-layout-core/interfaces/NodePostionUpdateEvent.md)
- [Interface: NodeRenderReturnType](/auto-docs/free-layout-core/interfaces/NodeRenderReturnType.md)
- [Interface: NodesDragEndEvent](/auto-docs/free-layout-core/interfaces/NodesDragEndEvent.md)
- [Interface: NodesDragStartEvent](/auto-docs/free-layout-core/interfaces/NodesDragStartEvent.md)
- [Interface: NodesDraggingEvent](/auto-docs/free-layout-core/interfaces/NodesDraggingEvent.md)
- [Interface: URLParams](/auto-docs/free-layout-core/interfaces/URLParams.md)
- [Interface: WorkflowContentChangeEvent](/auto-docs/free-layout-core/interfaces/WorkflowContentChangeEvent.md)
- [Interface: WorkflowDocumentOptions](/auto-docs/free-layout-core/interfaces/WorkflowDocumentOptions.md): 线条配置
- [Interface: WorkflowEdgeJSON](/auto-docs/free-layout-core/interfaces/WorkflowEdgeJSON.md): 边数据
- [Interface: WorkflowJSON](/auto-docs/free-layout-core/interfaces/WorkflowJSON.md)
- [Interface: WorkflowLineEntityOpts](/auto-docs/free-layout-core/interfaces/WorkflowLineEntityOpts.md)
- [Interface: WorkflowLineInfo](/auto-docs/free-layout-core/interfaces/WorkflowLineInfo.md)
- [Interface: WorkflowLinePortInfo](/auto-docs/free-layout-core/interfaces/WorkflowLinePortInfo.md)
- [Interface: WorkflowLineRenderContribution](/auto-docs/free-layout-core/interfaces/WorkflowLineRenderContribution.md)
- [Interface: WorkflowLineRenderDataSchema](/auto-docs/free-layout-core/interfaces/WorkflowLineRenderDataSchema.md)
- [Interface: WorkflowLineUIState](/auto-docs/free-layout-core/interfaces/WorkflowLineUIState.md)
- [Interface: WorkflowNodeJSON](/auto-docs/free-layout-core/interfaces/WorkflowNodeJSON.md): 节点数据
- [Interface: WorkflowNodeLines](/auto-docs/free-layout-core/interfaces/WorkflowNodeLines.md)
- [Interface: WorkflowNodeMeta](/auto-docs/free-layout-core/interfaces/WorkflowNodeMeta.md): 节点 meta 信息
- [Interface: WorkflowNodeRegistry](/auto-docs/free-layout-core/interfaces/WorkflowNodeRegistry.md): 节点注册
- [Interface: WorkflowNodeRenderProps](/auto-docs/free-layout-core/interfaces/WorkflowNodeRenderProps.md)
- [Interface: WorkflowOperationBaseService](/auto-docs/free-layout-core/interfaces/WorkflowOperationBaseService.md)
- [Interface: WorkflowPort](/auto-docs/free-layout-core/interfaces/WorkflowPort.md)
- [Interface: WorkflowPortEntityOpts](/auto-docs/free-layout-core/interfaces/WorkflowPortEntityOpts.md)
- [Type alias: LinePointLocation](/auto-docs/free-layout-core/types/LinePointLocation.md): LinePointLocation: "left" | "top" | "right" | "bottom"
- [Type alias: LineRenderType](/auto-docs/free-layout-core/types/LineRenderType.md): LineRenderType: LineType | string
- [Type alias: NodesDragEvent](/auto-docs/free-layout-core/types/NodesDragEvent.md): NodesDragEvent: NodesDragStartEvent | NodesDraggingEvent | NodesDragEndEvent
- [Type alias: OnDragLineEnd](/auto-docs/free-layout-core/types/OnDragLineEnd.md): OnDragLineEnd: (params: onDragLineEndParams) => Promise Type declaration (params): Promise Parameters Returns Promise
- [Type alias: PositionMap](/auto-docs/free-layout-core/types/PositionMap.md): PositionMap: Record
- [Type alias: WorkfloEntityHoverable](/auto-docs/free-layout-core/types/WorkfloEntityHoverable.md): WorkfloEntityHoverable: WorkflowEntityHoverable Deprecated
- [Type alias: WorkflowDocumentProvider](/auto-docs/free-layout-core/types/WorkflowDocumentProvider.md): WorkflowDocumentProvider: () => WorkflowDocument Type declaration (): WorkflowDocument Returns WorkflowDocument
- [Type alias: WorkflowEntityHoverable](/auto-docs/free-layout-core/types/WorkflowEntityHoverable.md): WorkflowEntityHoverable: WorkflowNodeEntity | WorkflowLineEntity | WorkflowPortEntity 可 Hover 的节点 类型
- [Type alias: WorkflowLineRenderContributionFactory](/auto-docs/free-layout-core/types/WorkflowLineRenderContributionFactory.md): WorkflowLineRenderContributionFactory: (entity: WorkflowLineEntity) => WorkflowLineRenderContribution & { type: LineRenderType }
- [Type alias: WorkflowNodeEntity](/auto-docs/free-layout-core/types/WorkflowNodeEntity.md): WorkflowNodeEntity: FlowNodeEntity
- [Type alias: WorkflowNodeFormMeta](/auto-docs/free-layout-core/types/WorkflowNodeFormMeta.md): WorkflowNodeFormMeta: FormMetaOrFormMetaGenerator | FormMeta 节点表单引擎配置
- [Type alias: WorkflowPortType](/auto-docs/free-layout-core/types/WorkflowPortType.md): WorkflowPortType: "input" | "output"
- [Type alias: WorkflowPorts](/auto-docs/free-layout-core/types/WorkflowPorts.md): WorkflowPorts: WorkflowPort[]
- [Type alias: WorkflowSubCanvas](/auto-docs/free-layout-core/types/WorkflowSubCanvas.md): WorkflowSubCanvas: Object 子画布配置 Type declaration
- [Type alias: onDragLineEndParams](/auto-docs/free-layout-core/types/onDragLineEndParams.md): onDragLineEndParams: Object Type declaration
- [Variable: LINE_HOVER_DISTANCE](/auto-docs/free-layout-core/variables/LINE_HOVER_DISTANCE.md): Const LINE_HOVER_DISTANCE: 8
- [Variable: POINT_RADIUS](/auto-docs/free-layout-core/variables/POINT_RADIUS.md): Const POINT_RADIUS: 10
- [Variable: PORT_SIZE](/auto-docs/free-layout-core/variables/PORT_SIZE.md): Const PORT_SIZE: 24
- [Variable: URLParams](/auto-docs/free-layout-core/variables/URLParams-1.md): Const URLParams: typeof URLParams
- [Variable: WORKFLOW_LINE_ENTITY](/auto-docs/free-layout-core/variables/WORKFLOW_LINE_ENTITY.md): Const WORKFLOW_LINE_ENTITY: "WorkflowLineEntity"
- [Variable: WorkflowDocumentContainerModule](/auto-docs/free-layout-core/variables/WorkflowDocumentContainerModule.md): Const WorkflowDocumentContainerModule: ContainerModule
- [Variable: WorkflowDocumentOptions](/auto-docs/free-layout-core/variables/WorkflowDocumentOptions-1.md): Const WorkflowDocumentOptions: typeof WorkflowDocumentOptions
- [Variable: WorkflowDocumentOptionsDefault](/auto-docs/free-layout-core/variables/WorkflowDocumentOptionsDefault.md): Const WorkflowDocumentOptionsDefault: WorkflowDocumentOptions
- [Variable: WorkflowDocumentProvider](/auto-docs/free-layout-core/variables/WorkflowDocumentProvider-1.md): Const WorkflowDocumentProvider: typeof WorkflowDocumentProvider
- [Variable: WorkflowNodeEntity](/auto-docs/free-layout-core/variables/WorkflowNodeEntity-1.md): WorkflowNodeEntity: typeof FlowNodeEntity
- [Variable: WorkflowOperationBaseService](/auto-docs/free-layout-core/variables/WorkflowOperationBaseService-1.md): WorkflowOperationBaseService: typeof WorkflowOperationBaseService
- [Class: FlowContextMenuLayer](/auto-docs/renderer/classes/FlowContextMenuLayer.md): 流程右键菜单
- [Class: FlowDebugLayer](/auto-docs/renderer/classes/FlowDebugLayer.md): 调试用,会绘出所有节点的边界
- [Class: FlowDragEntity](/auto-docs/renderer/classes/FlowDragEntity.md)
- [Class: FlowDragLayer](/auto-docs/renderer/classes/FlowDragLayer.md): 监听节点的激活状态
- [Class: FlowLabelsLayer](/auto-docs/renderer/classes/FlowLabelsLayer.md)
- [Class: FlowLinesLayer](/auto-docs/renderer/classes/FlowLinesLayer.md)
- [Class: FlowNodesContentLayer](/auto-docs/renderer/classes/FlowNodesContentLayer.md): 渲染节点内容
- [Class: FlowNodesTransformLayer](/auto-docs/renderer/classes/FlowNodesTransformLayer.md): 渲染节点位置
- [Class: FlowRendererRegistry](/auto-docs/renderer/classes/FlowRendererRegistry.md)
- [Class: FlowScrollBarLayer](/auto-docs/renderer/classes/FlowScrollBarLayer.md): 渲染滚动条 layer
- [Class: FlowScrollLimitLayer](/auto-docs/renderer/classes/FlowScrollLimitLayer.md): 控制滚动边界
- [Class: FlowSelectConfigEntity](/auto-docs/renderer/classes/FlowSelectConfigEntity.md): 圈选节点相关数据存储
- [Class: FlowSelectorBoundsLayer](/auto-docs/renderer/classes/FlowSelectorBoundsLayer.md): 流程节点被框选后的边界区域渲染
- [Class: FlowSelectorBoxLayer](/auto-docs/renderer/classes/FlowSelectorBoxLayer.md): 流程选择框
- [Class: SelectorBoxConfigEntity](/auto-docs/renderer/classes/SelectorBoxConfigEntity.md): 选择框配置
- [Enumeration: FlowRendererCommandCategory](/auto-docs/renderer/enums/FlowRendererCommandCategory.md): 命令分类
- [Enumeration: FlowRendererComponentType](/auto-docs/renderer/enums/FlowRendererComponentType.md)
- [Enumeration: FlowRendererKey](/auto-docs/renderer/enums/FlowRendererKey.md)
- [Enumeration: FlowTextKey](/auto-docs/renderer/enums/FlowTextKey.md)
- [Function: createLines](/auto-docs/renderer/functions/createLines.md): createLines(props): void Parameters Returns void
- [Function: useBaseColor](/auto-docs/renderer/functions/useBaseColor.md): useBaseColor(): Object Returns Object
- [Interface: CollisionRetType](/auto-docs/renderer/interfaces/CollisionRetType.md)
- [Interface: FlowDragOptions](/auto-docs/renderer/interfaces/FlowDragOptions.md)
- [Interface: FlowNodesTransformLayerOptions](/auto-docs/renderer/interfaces/FlowNodesTransformLayerOptions.md)
- [Interface: FlowRendererComponent](/auto-docs/renderer/interfaces/FlowRendererComponent.md)
- [Interface: FlowRendererContribution](/auto-docs/renderer/interfaces/FlowRendererContribution.md)
- [Interface: FlowSelectorBoundsLayerOptions](/auto-docs/renderer/interfaces/FlowSelectorBoundsLayerOptions.md)
- [Interface: FlowSelectorBoxOptions](/auto-docs/renderer/interfaces/FlowSelectorBoxOptions.md)
- [Interface: ScrollBarEvents](/auto-docs/renderer/interfaces/ScrollBarEvents.md)
- [Interface: ScrollBarOptions](/auto-docs/renderer/interfaces/ScrollBarOptions.md)
- [Interface: SelectorBoxConfigData](/auto-docs/renderer/interfaces/SelectorBoxConfigData.md)
- [Interface: SelectorBoxPopoverProps](/auto-docs/renderer/interfaces/SelectorBoxPopoverProps.md)
- [Variable: FlowRendererContainerModule](/auto-docs/renderer/variables/FlowRendererContainerModule.md): Const FlowRendererContainerModule: ContainerModule
- [Variable: FlowRendererContribution](/auto-docs/renderer/variables/FlowRendererContribution-1.md): Const FlowRendererContribution: typeof FlowRendererContribution
- [Variable: MARK_ACTIVATED_ARROW_ID](/auto-docs/renderer/variables/MARK_ACTIVATED_ARROW_ID.md): Const MARK_ACTIVATED_ARROW_ID: "$marker_arrow_activated$"
- [Variable: MARK_ARROW_ID](/auto-docs/renderer/variables/MARK_ARROW_ID.md): Const MARK_ARROW_ID: "$marker_arrow$"
- [Variable: ScrollBarEvents](/auto-docs/renderer/variables/ScrollBarEvents-1.md): Const ScrollBarEvents: typeof ScrollBarEvents 滚动条点击事件监听
- [Class: ASTNode](/auto-docs/editor/classes/ASTNode.md): An ASTNode represents a fundamental unit of variable information within the system's Abstract Syntax Tree.
It can model various constructs, for example: Declarations: const a = 1Expressions: a.b.cTypes: number, string, boolean Here is some characteristic of ASTNode: Tree-like Structure: ASTNodes can be nested to form a tree, representing complex variable structures.Extendable: New features can be added by extending the base ASTNode class.Reactive: Changes in an ASTNode's value trigger events, enabling reactive programming patterns.Serializable: ASTNodes can be converted to and from a JSON format (ASTNodeJSON) for storage or transmission.
- [Class: ASTRegisters](/auto-docs/editor/classes/ASTRegisters.md): Register the AST node to the engine.
- [Class: ArrayType](/auto-docs/editor/classes/ArrayType.md): Represents an array type.
- [Class: AsyncContainerModule](/auto-docs/editor/classes/AsyncContainerModule.md)
- [Class: BaseExpression](/auto-docs/editor/classes/BaseExpression.md): Base class for all expressions. All other expressions should extend this class.
- [Class: BaseType](/auto-docs/editor/classes/BaseType.md): Base class for all types. All other types should extend this class.
- [Class: BaseVariableField](/auto-docs/editor/classes/BaseVariableField.md): Variable Field abstract class, which is the base class for VariableDeclaration and Property VariableDeclaration is used to declare a variable in a block scope.Property is used to declare a property in an object.
- [Class: BooleanType](/auto-docs/editor/classes/BooleanType.md): Represents a boolean type.
- [Class: CancellationTokenSource](/auto-docs/editor/classes/CancellationTokenSource.md)
- [Class: Circle](/auto-docs/editor/classes/Circle.md): The Circle object is used to help draw graphics and can also be used to specify a hit area for displayObjects.
- [Class: CommandRegistry](/auto-docs/editor/classes/CommandRegistry.md)
- [Class: ConfigEntity](/auto-docs/editor/classes/ConfigEntity.md): 用于专门的数据配置,且是单例
- [Class: Container](/auto-docs/editor/classes/Container.md)
- [Class: ContainerModule](/auto-docs/editor/classes/ContainerModule.md)
- [Class: ContextMenuService](/auto-docs/editor/classes/ContextMenuService.md): 圈选右键菜单相关 service
- [Class: CustomType](/auto-docs/editor/classes/CustomType.md): Represents a custom type.
- [Class: DataNode](/auto-docs/editor/classes/DataNode.md): Represents a general data node with no child nodes.
- [Class: DefaultClipboardService](/auto-docs/editor/classes/DefaultClipboardService.md): 剪贴板服务,一般用于管理临时的复制黏贴数据
TODO: 后续可以支持调用浏览器
- [Class: DisposableCollection](/auto-docs/editor/classes/DisposableCollection.md): An object that performs a cleanup operation when .dispose() is called. Some examples of how disposables are used: An event listener that removes itself when .dispose() is called.The return value from registering a provider. When .dispose() is called, the provider is unregistered.
- [Class: DisposableImpl](/auto-docs/editor/classes/DisposableImpl.md): Copyright (c) 2025 Bytedance Ltd. and/or its affiliates
SPDX-License-Identifier: MIT
- [Class: EditorStateConfigEntity](/auto-docs/editor/classes/EditorStateConfigEntity.md): 编辑状态管理
- [Class: Emitter](/auto-docs/editor/classes/Emitter.md)
- [Class: Entity](/auto-docs/editor/classes/Entity-1.md): An object that performs a cleanup operation when .dispose() is called. Some examples of how disposables are used: An event listener that removes itself when .dispose() is called.The return value from registering a provider. When .dispose() is called, the provider is unregistered.
- [Class: EntityData](/auto-docs/editor/classes/EntityData.md): 实体的数据块
- [Class: EntityManager](/auto-docs/editor/classes/EntityManager.md): TODO registry 改成 decorator
Entity 管理器,全局唯一
- [Class: EnumerateExpression](/auto-docs/editor/classes/EnumerateExpression.md): Represents an enumeration expression, which iterates over a list and returns the type of the enumerated variable.
- [Class: FlowContextMenuLayer](/auto-docs/editor/classes/FlowContextMenuLayer.md): 流程右键菜单
- [Class: FlowDebugLayer](/auto-docs/editor/classes/FlowDebugLayer.md): 调试用,会绘出所有节点的边界
- [Class: FlowDocument](/auto-docs/editor/classes/FlowDocument.md): 流程整个文档数据
- [Class: FlowDocumentConfig](/auto-docs/editor/classes/FlowDocumentConfig.md): 用于文档扩展配置
- [Class: FlowDocumentTransformerEntity](/auto-docs/editor/classes/FlowDocumentTransformerEntity.md): 用于通知所有 layer 更新
- [Class: FlowDragEntity](/auto-docs/editor/classes/FlowDragEntity.md): 用于专门的数据配置,且是单例
- [Class: FlowDragLayer](/auto-docs/editor/classes/FlowDragLayer.md): 监听节点的激活状态
- [Class: FlowDragService](/auto-docs/editor/classes/FlowDragService.md): 拖拽相关操作
外部实现抽象类
- [Class: FlowEditorClient](/auto-docs/editor/classes/FlowEditorClient.md)
- [Class: FlowGroupController](/auto-docs/editor/classes/FlowGroupController.md): 分组控制器
- [Class: FlowGroupService](/auto-docs/editor/classes/FlowGroupService.md): Copyright (c) 2025 Bytedance Ltd. and/or its affiliates
SPDX-License-Identifier: MIT
- [Class: FlowLabelsLayer](/auto-docs/editor/classes/FlowLabelsLayer.md): Copyright (c) 2025 Bytedance Ltd. and/or its affiliates
SPDX-License-Identifier: MIT
- [Class: FlowLinesLayer](/auto-docs/editor/classes/FlowLinesLayer.md): Copyright (c) 2025 Bytedance Ltd. and/or its affiliates
SPDX-License-Identifier: MIT
- [Class: FlowNodeEntity](/auto-docs/editor/classes/FlowNodeEntity-1.md): An object that performs a cleanup operation when .dispose() is called. Some examples of how disposables are used: An event listener that removes itself when .dispose() is called.The return value from registering a provider. When .dispose() is called, the provider is unregistered.
- [Class: FlowNodeFormData](/auto-docs/editor/classes/FlowNodeFormData.md): 实体的数据块
- [Class: FlowNodeRenderData](/auto-docs/editor/classes/FlowNodeRenderData.md): 节点渲染状态相关数据
- [Class: FlowNodeTransformData](/auto-docs/editor/classes/FlowNodeTransformData.md): 实体的数据块
- [Class: FlowNodeTransitionData](/auto-docs/editor/classes/FlowNodeTransitionData.md): 实体的数据块
- [Class: FlowNodeVariableData](/auto-docs/editor/classes/FlowNodeVariableData.md): Manages variable data for a flow node, including public and private scopes.
- [Class: FlowNodesContentLayer](/auto-docs/editor/classes/FlowNodesContentLayer.md): 渲染节点内容
- [Class: FlowNodesTransformLayer](/auto-docs/editor/classes/FlowNodesTransformLayer.md): 渲染节点位置
- [Class: FlowOperationBaseServiceImpl](/auto-docs/editor/classes/FlowOperationBaseServiceImpl.md): 操作服务
- [Class: FlowRendererRegistry](/auto-docs/editor/classes/FlowRendererRegistry.md)
- [Class: FlowRendererStateEntity](/auto-docs/editor/classes/FlowRendererStateEntity.md): 渲染相关的全局状态管理
- [Class: FlowScrollBarLayer](/auto-docs/editor/classes/FlowScrollBarLayer.md): 渲染滚动条 layer
- [Class: FlowScrollLimitLayer](/auto-docs/editor/classes/FlowScrollLimitLayer.md): 控制滚动边界
- [Class: FlowSelectConfigEntity](/auto-docs/editor/classes/FlowSelectConfigEntity.md): 圈选节点相关数据存储
- [Class: FlowSelectorBoundsLayer](/auto-docs/editor/classes/FlowSelectorBoundsLayer.md): 流程节点被框选后的边界区域渲染
- [Class: FlowSelectorBoxLayer](/auto-docs/editor/classes/FlowSelectorBoxLayer.md): 流程选择框
- [Class: FlowVirtualTree](/auto-docs/editor/classes/FlowVirtualTree-1.md): 存储节点的 tree 结构信息
策略是 "重修改轻查询",即修改时候做的事情更多,查询都通过指针来操作
- [Class: FlushLayerMessage](/auto-docs/editor/classes/FlushLayerMessage.md)
- [Class: FormModel](/auto-docs/editor/classes/FormModel.md): An object that performs a cleanup operation when .dispose() is called. Some examples of how disposables are used: An event listener that removes itself when .dispose() is called.The return value from registering a provider. When .dispose() is called, the provider is unregistered.
- [Class: FormPlugin](/auto-docs/editor/classes/FormPlugin.md): An object that performs a cleanup operation when .dispose() is called. Some examples of how disposables are used: An event listener that removes itself when .dispose() is called.The return value from registering a provider. When .dispose() is called, the provider is unregistered.
- [Class: GlobalScope](/auto-docs/editor/classes/GlobalScope.md): Global Scope stores all variables that are not scoped to any node. Variables in Global Scope can be accessed by any node.Any other scope's variables can not be accessed by Global Scope.
- [Class: IntegerType](/auto-docs/editor/classes/IntegerType.md): Represents an integer type.
- [Class: KeyPathExpression](/auto-docs/editor/classes/KeyPathExpression.md): Represents a key path expression, which is used to reference a variable by its key path. This is the V2 of KeyPathExpression, with the following improvements: returnType is copied to a new instance to avoid reference issues.Circular reference detection is introduced.
- [Class: Layer](/auto-docs/editor/classes/Layer.md): 基础 layer
- [Class: LegacyKeyPathExpression](/auto-docs/editor/classes/LegacyKeyPathExpression.md): Deprecated Use KeyPathExpression instead.
Represents a key path expression, which is used to reference a variable by its key path.
- [Class: ListNode](/auto-docs/editor/classes/ListNode.md): Represents a list of nodes.
- [Class: LocalStorageService](/auto-docs/editor/classes/LocalStorageService.md)
- [Class: LoggerService](/auto-docs/editor/classes/LoggerService.md): 画布全局的选择器,可以放任何东西
- [Class: MapNode](/auto-docs/editor/classes/MapNode.md): Represents a map of nodes.
- [Class: MapType](/auto-docs/editor/classes/MapType.md): Represents a map type.
- [Class: Matrix](/auto-docs/editor/classes/Matrix.md): The PIXIJS Matrix as a class makes it a lot faster. Here is a representation of it:
- [Class: MutableToken](/auto-docs/editor/classes/MutableToken.md): Copyright (c) 2025 Bytedance Ltd. and/or its affiliates
SPDX-License-Identifier: MIT
- [Class: NodeClient](/auto-docs/editor/classes/NodeClient.md)
- [Class: NodeFocusService](/auto-docs/editor/classes/NodeFocusService.md)
- [Class: NumberType](/auto-docs/editor/classes/NumberType.md): Represents a number type.
- [Class: OBBRect](/auto-docs/editor/classes/OBBRect.md): Oriented Bounding Box (OBB) See https://en.wikipedia.org/wiki/Bounding_volume
- [Class: ObjectType](/auto-docs/editor/classes/ObjectType.md): Represents an object type.
- [Class: OpacityData](/auto-docs/editor/classes/OpacityData.md): Copyright (c) 2025 Bytedance Ltd. and/or its affiliates
SPDX-License-Identifier: MIT
- [Class: OriginData](/auto-docs/editor/classes/OriginData.md): Copyright (c) 2025 Bytedance Ltd. and/or its affiliates
SPDX-License-Identifier: MIT
- [Class: PipelineEntitiesImpl](/auto-docs/editor/classes/PipelineEntitiesImpl.md): 注入到 Layer 中的实体选择器
- [Class: PipelineEntitiesSelector](/auto-docs/editor/classes/PipelineEntitiesSelector.md): 选择器用来在 pipeline 绘制之前,筛选并注入 entities
- [Class: PipelineRegistry](/auto-docs/editor/classes/PipelineRegistry.md): pipeline 注册器,用于注册一些事件
- [Class: PipelineRenderer](/auto-docs/editor/classes/PipelineRenderer.md): pipeline 渲染器
- [Class: Playground](/auto-docs/editor/classes/Playground.md): Copyright (c) 2025 Bytedance Ltd. and/or its affiliates
SPDX-License-Identifier: MIT
- [Class: PlaygroundConfigEntity](/auto-docs/editor/classes/PlaygroundConfigEntity.md): 全局画布的配置信息
- [Class: PlaygroundDrag](/auto-docs/editor/classes/PlaygroundDrag-1.md): An object that performs a cleanup operation when .dispose() is called. Some examples of how disposables are used: An event listener that removes itself when .dispose() is called.The return value from registering a provider. When .dispose() is called, the provider is unregistered.
- [Class: PlaygroundGesture](/auto-docs/editor/classes/PlaygroundGesture.md): Copyright (c) 2025 Bytedance Ltd. and/or its affiliates
SPDX-License-Identifier: MIT
- [Class: PlaygroundLayer](/auto-docs/editor/classes/PlaygroundLayer.md): 基础层,控制画布缩放/滚动等操作
- [Class: LayerTestState](/auto-docs/editor/classes/PlaygroundMockTools.LayerTestState.md): PlaygroundMockTools.LayerTestState
- [Class: PlaygroundRegistry](/auto-docs/editor/classes/PlaygroundRegistry.md)
- [Class: PlaygroundSchedule](/auto-docs/editor/classes/PlaygroundSchedule.md): Copyright (c) 2025 Bytedance Ltd. and/or its affiliates
SPDX-License-Identifier: MIT
- [Class: Point](/auto-docs/editor/classes/Point-1.md): The Point object represents a location in a two-dimensional coordinate system, where x represents
the horizontal axis and y represents the vertical axis. Memberof PIXI Implements IPoint
- [Class: PositionData](/auto-docs/editor/classes/PositionData.md): Copyright (c) 2025 Bytedance Ltd. and/or its affiliates
SPDX-License-Identifier: MIT
- [Class: PromiseDeferred](/auto-docs/editor/classes/PromiseDeferred.md): Simple implementation of the deferred pattern.
An object that exposes a promise and functions to resolve and reject it.
- [Class: PromisePool](/auto-docs/editor/classes/PromisePool.md)
- [Class: Property](/auto-docs/editor/classes/Property.md): Property is a variable field that represents a property of a ObjectType.
- [Class: ReactiveBaseState](/auto-docs/editor/classes/ReactiveBaseState.md)
- [Class: ReactiveState](/auto-docs/editor/classes/ReactiveState.md): Copyright (c) 2025 Bytedance Ltd. and/or its affiliates
SPDX-License-Identifier: MIT
- [Class: Rectangle](/auto-docs/editor/classes/Rectangle-1.md): Rectangle object is an area defined by its position, as indicated by its top-left corner
point (x, y) and by its width and its height.
- [Class: RotationData](/auto-docs/editor/classes/RotationData.md): Copyright (c) 2025 Bytedance Ltd. and/or its affiliates
SPDX-License-Identifier: MIT
- [Class: ScaleData](/auto-docs/editor/classes/ScaleData.md): Copyright (c) 2025 Bytedance Ltd. and/or its affiliates
SPDX-License-Identifier: MIT
- [Class: Scope](/auto-docs/editor/classes/Scope.md): Represents a variable scope, which manages its own set of variables and their lifecycle. scope.output represents the variables declared within this scope.scope.available represents all variables accessible from this scope, including those from parent scopes.
- [Class: ScopeChain](/auto-docs/editor/classes/ScopeChain.md): Manages the dependency relationships between scopes.
This is an abstract class, and specific implementations determine how the scope order is managed.
- [Class: ScopeChainTransformService](/auto-docs/editor/classes/ScopeChainTransformService.md): A service for transforming scope chains.
- [Class: ScopeOutputData](/auto-docs/editor/classes/ScopeOutputData.md): Manages the output variables of a scope.
- [Class: SelectionService](/auto-docs/editor/classes/SelectionService.md): 画布全局的选择器,可以放任何东西
- [Class: SelectorBoxConfigEntity](/auto-docs/editor/classes/SelectorBoxConfigEntity.md): 选择框配置
- [Class: ShortcutsRegistry](/auto-docs/editor/classes/ShortcutsRegistry.md)
- [Class: SizeData](/auto-docs/editor/classes/SizeData.md): Copyright (c) 2025 Bytedance Ltd. and/or its affiliates
SPDX-License-Identifier: MIT
- [Class: SkewData](/auto-docs/editor/classes/SkewData.md): Copyright (c) 2025 Bytedance Ltd. and/or its affiliates
SPDX-License-Identifier: MIT
- [Class: StringType](/auto-docs/editor/classes/StringType.md): Base class for all types. All other types should extend this class.
- [Class: Computation](/auto-docs/editor/classes/Tracker.Computation.md): Tracker.Computation A Computation object represents code that is repeatedly rerun
in response to
reactive data changes. Computations don't have return values; they just
perform actions, such as rerendering a template on the screen. Computations
are created using Tracker.autorun. Use stop to prevent further rerunning of a
computation.
- [Class: Dependency](/auto-docs/editor/classes/Tracker.Dependency.md): Tracker.Dependency A Dependency represents an atomic unit of reactive data that a
computation might depend on. Reactive data sources such as Session or
Minimongo internally create different Dependency objects for different
pieces of data, each of which may be depended on by multiple computations.
When the data changes, the computations are invalidated.
- [Class: Transform](/auto-docs/editor/classes/Transform.md): Transform that takes care about its versions Memberof PIXI
- [Class: TransformData](/auto-docs/editor/classes/TransformData-1.md): Copyright (c) 2025 Bytedance Ltd. and/or its affiliates
SPDX-License-Identifier: MIT
- [Class: VariableDeclaration](/auto-docs/editor/classes/VariableDeclaration.md): VariableDeclaration is a variable field that represents a variable declaration.
- [Class: VariableDeclarationList](/auto-docs/editor/classes/VariableDeclarationList.md): An ASTNode represents a fundamental unit of variable information within the system's Abstract Syntax Tree.
It can model various constructs, for example: Declarations: const a = 1Expressions: a.b.cTypes: number, string, boolean Here is some characteristic of ASTNode: Tree-like Structure: ASTNodes can be nested to form a tree, representing complex variable structures.Extendable: New features can be added by extending the base ASTNode class.Reactive: Changes in an ASTNode's value trigger events, enabling reactive programming patterns.Serializable: ASTNodes can be converted to and from a JSON format (ASTNodeJSON) for storage or transmission.
- [Class: VariableEngine](/auto-docs/editor/classes/VariableEngine.md): The core of the variable engine system.
It manages scopes, variables, and events within the system.
- [Class: VariableFieldKeyRenameService](/auto-docs/editor/classes/VariableFieldKeyRenameService.md): This service is responsible for detecting when a variable field's key is renamed.
It listens for changes in variable declaration lists and object properties, and
determines if a change constitutes a rename operation.
- [Class: WrapArrayExpression](/auto-docs/editor/classes/WrapArrayExpression.md): Represents a wrap expression, which wraps an expression with an array.
- [Enumeration: ASTKind](/auto-docs/editor/enums/ASTKind.md): Core AST node types.
- [Enumeration: ASTNodeFlags](/auto-docs/editor/enums/ASTNodeFlags.md): ASTNode flags. Stored in the flags property of the ASTNode.
- [Enumeration: Default](/auto-docs/editor/enums/Command.Default.md): Command.Default
- [Enumeration: DRAGGING_TYPE](/auto-docs/editor/enums/DRAGGING_TYPE.md): 拖拽种类枚举 节点拖拽分支拖拽
- [Enumeration: DataEvent](/auto-docs/editor/enums/DataEvent.md)
- [Enumeration: FeedbackLevel](/auto-docs/editor/enums/FeedbackLevel.md): Copyright (c) 2025 Bytedance Ltd. and/or its affiliates
SPDX-License-Identifier: MIT
- [Enumeration: FlowDocumentConfigEnum](/auto-docs/editor/enums/FlowDocumentConfigEnum.md)
- [Enumeration: FlowLayoutDefault](/auto-docs/editor/enums/FlowLayoutDefault-1.md): Copyright (c) 2025 Bytedance Ltd. and/or its affiliates
SPDX-License-Identifier: MIT
- [Enumeration: FlowNodeBaseType](/auto-docs/editor/enums/FlowNodeBaseType.md)
- [Enumeration: FlowNodeScopeType](/auto-docs/editor/enums/FlowNodeScopeType.md): Enum for flow node scope types.
- [Enumeration: FlowNodeSplitType](/auto-docs/editor/enums/FlowNodeSplitType.md)
- [Enumeration: FlowRendererCommandCategory](/auto-docs/editor/enums/FlowRendererCommandCategory.md): 命令分类
- [Enumeration: FlowRendererComponentType](/auto-docs/editor/enums/FlowRendererComponentType.md): Copyright (c) 2025 Bytedance Ltd. and/or its affiliates
SPDX-License-Identifier: MIT
- [Enumeration: FlowRendererKey](/auto-docs/editor/enums/FlowRendererKey.md)
- [Enumeration: FlowTextKey](/auto-docs/editor/enums/FlowTextKey.md)
- [Enumeration: FlowTransitionLabelEnum](/auto-docs/editor/enums/FlowTransitionLabelEnum.md)
- [Enumeration: FlowTransitionLineEnum](/auto-docs/editor/enums/FlowTransitionLineEnum.md): Copyright (c) 2025 Bytedance Ltd. and/or its affiliates
SPDX-License-Identifier: MIT
- [Enumeration: LABEL_SIDE_TYPE](/auto-docs/editor/enums/LABEL_SIDE_TYPE.md): 拖拽分支 Adder、Line 类型
- [Enumeration: LoggerEvent](/auto-docs/editor/enums/LoggerEvent.md)
- [Enumeration: OperationType](/auto-docs/editor/enums/OperationType.md): Copyright (c) 2025 Bytedance Ltd. and/or its affiliates
SPDX-License-Identifier: MIT
- [Enumeration: PipelineLayerPriority](/auto-docs/editor/enums/PipelineLayerPriority.md)
- [Enumeration: PipelineMessage](/auto-docs/editor/enums/PipelineMessage.md)
- [Enumeration: RectangleAlignTitle](/auto-docs/editor/enums/RectangleAlignTitle.md)
- [Enumeration: RectangleAlignType](/auto-docs/editor/enums/RectangleAlignType.md)
- [Enumeration: SHAPES](/auto-docs/editor/enums/SHAPES.md): Constants that identify shapes.
- [Enumeration: ValidateTrigger](/auto-docs/editor/enums/ValidateTrigger.md)
- [Function: create](/auto-docs/editor/functions/ASTFactory.create.md): ASTFactory.create create(targetType, json): { kind: string } & JSON Creates Type-Safe ASTNodeJSON object based on the provided AST class. Type parameters Parameters Returns { kind: string } & JSON The ASTNode JSON object.
- [Function: createArray](/auto-docs/editor/functions/ASTFactory.createArray.md): ASTFactory.createArray createArray(json): Object Creates an Array type node. Parameters Returns Object
- [Function: createBoolean](/auto-docs/editor/functions/ASTFactory.createBoolean.md): ASTFactory.createBoolean createBoolean(): Object Creates a Boolean type node. Returns Object
- [Function: createCustomType](/auto-docs/editor/functions/ASTFactory.createCustomType.md): ASTFactory.createCustomType createCustomType(json): Object Creates a CustomType node. Parameters Returns Object
- [Function: createEnumerateExpression](/auto-docs/editor/functions/ASTFactory.createEnumerateExpression.md): ASTFactory.createEnumerateExpression createEnumerateExpression(json): Object Creates an EnumerateExpression node. Parameters Returns Object
- [Function: createInteger](/auto-docs/editor/functions/ASTFactory.createInteger.md): ASTFactory.createInteger createInteger(): Object Creates an Integer type node. Returns Object
- [Function: createKeyPathExpression](/auto-docs/editor/functions/ASTFactory.createKeyPathExpression.md): ASTFactory.createKeyPathExpression createKeyPathExpression(json): Object Creates a KeyPathExpression node. Parameters Returns Object
- [Function: createMap](/auto-docs/editor/functions/ASTFactory.createMap.md): ASTFactory.createMap createMap(json): Object Creates a Map type node. Parameters Returns Object
- [Function: createNumber](/auto-docs/editor/functions/ASTFactory.createNumber.md): ASTFactory.createNumber createNumber(): Object Creates a Number type node. Returns Object
- [Function: createObject](/auto-docs/editor/functions/ASTFactory.createObject.md): ASTFactory.createObject createObject(json): Object Creates an Object type node. Parameters Returns Object
- [Function: createProperty](/auto-docs/editor/functions/ASTFactory.createProperty.md): ASTFactory.createProperty createProperty(json): Object Creates a Property node. Type parameters Parameters Returns Object
- [Function: createString](/auto-docs/editor/functions/ASTFactory.createString.md): ASTFactory.createString createString(json?): Object Creates a String type node. Parameters Returns Object
- [Function: createUnion](/auto-docs/editor/functions/ASTFactory.createUnion.md): ASTFactory.createUnion createUnion(json): Object Creates a Union type node. Parameters Returns Object
- [Function: createVariableDeclaration](/auto-docs/editor/functions/ASTFactory.createVariableDeclaration.md): ASTFactory.createVariableDeclaration createVariableDeclaration(json): Object Creates a VariableDeclaration node. Type parameters Parameters Returns Object
- [Function: createVariableDeclarationList](/auto-docs/editor/functions/ASTFactory.createVariableDeclarationList.md): ASTFactory.createVariableDeclarationList createVariableDeclarationList(json): Object Creates a VariableDeclarationList node. Parameters Returns Object
- [Function: createWrapArrayExpression](/auto-docs/editor/functions/ASTFactory.createWrapArrayExpression.md): ASTFactory.createWrapArrayExpression createWrapArrayExpression(json): Object Creates a WrapArrayExpression node. Parameters Returns Object
- [Function: is](/auto-docs/editor/functions/ASTMatch.is.md): ASTMatch.is is(node?, targetType?): node is TargetASTNode Check ASTNode Match by ASTClass Type parameters Parameters Returns node is TargetASTNode Whether the node is of the target type.
- [Function: isArray](/auto-docs/editor/functions/ASTMatch.isArray.md): ASTMatch.isArray isArray(node?): node is ArrayType Check if the node is a ArrayType. Parameters Returns node is ArrayType
- [Function: isBaseVariableField](/auto-docs/editor/functions/ASTMatch.isBaseVariableField.md): ASTMatch.isBaseVariableField isBaseVariableField(node?): node is BaseVariableField Check if the node is a BaseVariableField. Parameters Returns node is BaseVariableField
- [Function: isBoolean](/auto-docs/editor/functions/ASTMatch.isBoolean.md): ASTMatch.isBoolean isBoolean(node?): node is BooleanType Check if the node is a BooleanType. Parameters Returns node is BooleanType
- [Function: isCustomType](/auto-docs/editor/functions/ASTMatch.isCustomType.md): ASTMatch.isCustomType isCustomType(node?): node is CustomType Check if the node is a CustomType. Parameters Returns node is CustomType
- [Function: isEnumerateExpression](/auto-docs/editor/functions/ASTMatch.isEnumerateExpression.md): ASTMatch.isEnumerateExpression isEnumerateExpression(node?): node is EnumerateExpression Check if the node is a EnumerateExpression. Parameters Returns node is EnumerateExpression
- [Function: isInteger](/auto-docs/editor/functions/ASTMatch.isInteger.md): ASTMatch.isInteger isInteger(node?): node is IntegerType Check if the node is a IntegerType. Parameters Returns node is IntegerType
- [Function: isKeyPathExpression](/auto-docs/editor/functions/ASTMatch.isKeyPathExpression.md): ASTMatch.isKeyPathExpression isKeyPathExpression(node?): node is KeyPathExpression Check if the node is a KeyPathExpression. Parameters Returns node is KeyPathExpression
- [Function: isMap](/auto-docs/editor/functions/ASTMatch.isMap.md): ASTMatch.isMap isMap(node?): node is MapType Check if the node is a MapType. Parameters Returns node is MapType
- [Function: isNumber](/auto-docs/editor/functions/ASTMatch.isNumber.md): ASTMatch.isNumber isNumber(node?): node is NumberType Check if the node is a NumberType. Parameters Returns node is NumberType
- [Function: isObject](/auto-docs/editor/functions/ASTMatch.isObject.md): ASTMatch.isObject isObject(node?): node is ObjectType Check if the node is a ObjectType. Parameters Returns node is ObjectType
- [Function: isProperty](/auto-docs/editor/functions/ASTMatch.isProperty.md): ASTMatch.isProperty isProperty(node?): node is Property Check if the node is a Property. Type parameters Parameters Returns node is Property
- [Function: isString](/auto-docs/editor/functions/ASTMatch.isString.md): ASTMatch.isString isString(node?): node is StringType Check if the node is a StringType. Parameters Returns node is StringType
- [Function: isVariableDeclaration](/auto-docs/editor/functions/ASTMatch.isVariableDeclaration.md): ASTMatch.isVariableDeclaration isVariableDeclaration(node?): node is VariableDeclaration Check if the node is a VariableDeclaration. Type parameters Parameters Returns node is VariableDeclaration
- [Function: isVariableDeclarationList](/auto-docs/editor/functions/ASTMatch.isVariableDeclarationList.md): ASTMatch.isVariableDeclarationList isVariableDeclarationList(node?): node is VariableDeclarationList Check if the node is a VariableDeclarationList. Parameters Returns node is VariableDeclarationList
- [Function: isWrapArrayExpression](/auto-docs/editor/functions/ASTMatch.isWrapArrayExpression.md): ASTMatch.isWrapArrayExpression isWrapArrayExpression(node?): node is WrapArrayExpression Check if the node is a WrapArrayExpression. Parameters Returns node is WrapArrayExpression
- [Function: betweenPoints](/auto-docs/editor/functions/Angle.betweenPoints.md): Angle.betweenPoints betweenPoints(point1, point2, originPoint?): number 计算两个点的夹角 Parameters Returns number The angle in radians.
- [Function: wrap](/auto-docs/editor/functions/Angle.wrap.md): Angle.wrap wrap(angle): number Wrap an angle. Wraps the angle to a value in the range of -PI to PI. Parameters Returns number The wrapped angle, in radians.
- [Function: wrapDegrees](/auto-docs/editor/functions/Angle.wrapDegrees.md): Angle.wrapDegrees wrapDegrees(angle): number Wrap an angle in degrees. Wraps the angle to a value in the range of -180 to 180. Parameters Returns number The wrapped angle, in degrees.
- [Function: applyMatrix](/auto-docs/editor/functions/Bounds.applyMatrix.md): Bounds.applyMatrix applyMatrix(bounds, matrix): Rectangle Parameters Returns Rectangle
- [Function: getBottomCenter](/auto-docs/editor/functions/Bounds.getBottomCenter.md): Bounds.getBottomCenter getBottomCenter(target, matrix?): PositionSchema Parameters Returns PositionSchema
- [Function: getBottomLeft](/auto-docs/editor/functions/Bounds.getBottomLeft.md): Bounds.getBottomLeft getBottomLeft(target, matrix?): PositionSchema Parameters Returns PositionSchema
- [Function: getBottomRight](/auto-docs/editor/functions/Bounds.getBottomRight.md): Bounds.getBottomRight getBottomRight(target, matrix?): PositionSchema Parameters Returns PositionSchema
- [Function: getBounds](/auto-docs/editor/functions/Bounds.getBounds.md): Bounds.getBounds getBounds(target, matrix?): Rectangle 获取外围边界矩形 Parameters Returns Rectangle
- [Function: getCenter](/auto-docs/editor/functions/Bounds.getCenter.md): Bounds.getCenter getCenter(target, matrix?): PositionSchema Parameters Returns PositionSchema
- [Function: getLeftCenter](/auto-docs/editor/functions/Bounds.getLeftCenter.md): Bounds.getLeftCenter getLeftCenter(target, matrix?): PositionSchema Parameters Returns PositionSchema
- [Function: getLeftPointFromBounds](/auto-docs/editor/functions/Bounds.getLeftPointFromBounds.md): Bounds.getLeftPointFromBounds getLeftPointFromBounds(target, matrix?): PositionSchema 找到边框中最左边的点 Parameters Returns PositionSchema
- [Function: getPointWithMatrix](/auto-docs/editor/functions/Bounds.getPointWithMatrix.md): Bounds.getPointWithMatrix getPointWithMatrix(output, matrix?): PositionSchema 位置做矩阵偏移 Parameters Returns PositionSchema
- [Function: getRightCenter](/auto-docs/editor/functions/Bounds.getRightCenter.md): Bounds.getRightCenter getRightCenter(target, matrix?): PositionSchema Parameters Returns PositionSchema
- [Function: getTopCenter](/auto-docs/editor/functions/Bounds.getTopCenter.md): Bounds.getTopCenter getTopCenter(target, matrix?): PositionSchema Parameters Returns PositionSchema
- [Function: getTopLeft](/auto-docs/editor/functions/Bounds.getTopLeft.md): Bounds.getTopLeft getTopLeft(target, matrix?): PositionSchema Parameters Returns PositionSchema
- [Function: getTopPointFromBounds](/auto-docs/editor/functions/Bounds.getTopPointFromBounds.md): Bounds.getTopPointFromBounds getTopPointFromBounds(target, matrix?): PositionSchema 找到边框中最上边的点 Parameters Returns PositionSchema
- [Function: getTopRight](/auto-docs/editor/functions/Bounds.getTopRight.md): Bounds.getTopRight getTopRight(target, matrix?): PositionSchema Parameters Returns PositionSchema
- [Function: assign](/auto-docs/editor/functions/Cache.assign.md): Cache.assign assign(target, fn): Cache Type parameters Parameters Returns Cache
- [Function: create](/auto-docs/editor/functions/Cache.create.md): Cache.create create(cacheFactory, opts?): CacheManager Type parameters Parameters Returns CacheManager
- [Function: createShortCache](/auto-docs/editor/functions/Cache.createShortCache.md): Cache.createShortCache createShortCache(timeout?): ShortCache 短存储 Type parameters Parameters Returns ShortCache
- [Function: createWeakCache](/auto-docs/editor/functions/Cache.createWeakCache.md): Cache.createWeakCache createWeakCache(): WeakCache Returns WeakCache
- [Function: isCancellationToken](/auto-docs/editor/functions/CancellationToken.isCancellationToken.md): CancellationToken.isCancellationToken isCancellationToken(thing): thing is CancellationToken Parameters Returns thing is CancellationToken
- [Function: is](/auto-docs/editor/functions/Command.is.md): Command.is is(arg): arg is Command 判断是否是 command Parameters Returns arg is Command
- [Function: isArrayShallowChanged](/auto-docs/editor/functions/Compare.isArrayShallowChanged.md): Compare.isArrayShallowChanged isArrayShallowChanged(arr1, arr2): boolean Parameters Returns boolean
- [Function: isChanged](/auto-docs/editor/functions/Compare.isChanged.md): Compare.isChanged isChanged(oldProps, newProps, depth?, partial?): boolean 比较,默认浅比较 Parameters Returns boolean
- [Function: isDeepChanged](/auto-docs/editor/functions/Compare.isDeepChanged.md): Compare.isDeepChanged isDeepChanged(oldProps, newProps, partial?): boolean 深度比较 Parameters Returns boolean
- [Function: DEFAULT_FLOW_NODE_META](/auto-docs/editor/functions/DEFAULT_FLOW_NODE_META.md): DEFAULT_FLOW_NODE_META(nodeType, document): FlowNodeMeta 默认 meta 配置 Parameters Returns FlowNodeMeta
- [Function: create](/auto-docs/editor/functions/Disposable.create.md): Disposable.create create(func): Disposable Parameters Returns Disposable
- [Function: is](/auto-docs/editor/functions/Disposable.is.md): Disposable.is is(thing): thing is Disposable Parameters Returns thing is Disposable
- [Function: Editor](/auto-docs/editor/functions/Editor.md): Editor(props, deprecatedLegacyContext?): null | ReactElement 画布编辑器 Parameters Returns null | ReactElement
- [Function: EditorProvider](/auto-docs/editor/functions/EditorProvider.md): EditorProvider(props, deprecatedLegacyContext?): null | ReactElement Parameters Returns null | ReactElement
- [Function: checkDataChanged](/auto-docs/editor/functions/Entity.checkDataChanged.md): Entity.checkDataChanged checkDataChanged(oldProps, newProps): boolean 默认数据比较,采用浅比较 Parameters Returns boolean
- [Function: getType](/auto-docs/editor/functions/Entity.getType.md): Entity.getType getType(registry): string Parameters Returns string
- [Function: isRegistryOf](/auto-docs/editor/functions/Entity.isRegistryOf.md): Entity.isRegistryOf isRegistryOf(target, Registry): boolean Parameters Returns boolean
- [Function: None](/auto-docs/editor/functions/Event.None.md): Event.None None(listener, thisArgs?): Disposable Parameters Returns Disposable
- [Function: Field](/auto-docs/editor/functions/Field.md): Field(«destructured»): React$1.ReactElement HOC That declare a field, an Field model will be created it's rendered. Multiple Field rendering with a same name will link to the same model, which means they shared data、 status and methods Type parameters Parameters Returns React$1.ReactElement
- [Function: FieldArray](/auto-docs/editor/functions/FieldArray.md): FieldArray(«destructured»): React$1.ReactElement HOC That declare an array field, an FieldArray model will be created when it's rendered. Multiple FieldArray rendering with a same name will link to the same model, which means they shared data、 status and methods Type parameters Parameters Returns React$1.ReactElement
- [Function: isVertical](/auto-docs/editor/functions/FlowLayoutDefault.isVertical.md): FlowLayoutDefault.isVertical isVertical(layout): boolean Parameters Returns boolean
- [Function: is](/auto-docs/editor/functions/FlowNodeEntity.is.md): FlowNodeEntity.is is(obj): obj is FlowNodeEntity Parameters Returns obj is FlowNodeEntity
- [Function: extend](/auto-docs/editor/functions/FlowNodeRegistry.extend.md): FlowNodeRegistry.extend extend(registry, extendRegistries): FlowNodeRegistry Parameters Returns FlowNodeRegistry
- [Function: merge](/auto-docs/editor/functions/FlowNodeRegistry.merge.md): FlowNodeRegistry.merge merge(registry1, registry2, finalType): FlowNodeRegistry Parameters Returns FlowNodeRegistry
- [Function: mergeChildRegistries](/auto-docs/editor/functions/FlowNodeRegistry.mergeChildRegistries.md): FlowNodeRegistry.mergeChildRegistries mergeChildRegistries(r1?, r2?): FlowNodeRegistry[] Parameters Returns FlowNodeRegistry[]
- [Function: Form](/auto-docs/editor/functions/Form.md): Form(props): React__default.JSX.Element Hoc That init and provide Form instance. You can also provide form instance from outside by using control prop Type parameters Parameters Returns React__default.JSX.Element
- [Function: MOUSE_SCROLL_DELTA](/auto-docs/editor/functions/MOUSE_SCROLL_DELTA.md): MOUSE_SCROLL_DELTA(zoom): number 鼠标缩放 delta Parameters Returns number
- [Function: getEventCoord](/auto-docs/editor/functions/MouseTouchEvent.getEventCoord.md): MouseTouchEvent.getEventCoord getEventCoord(e): Object Parameters Returns Object
- [Function: isTouchEvent](/auto-docs/editor/functions/MouseTouchEvent.isTouchEvent.md): MouseTouchEvent.isTouchEvent isTouchEvent(event): event is TouchEvent Parameters Returns event is TouchEvent
- [Function: onTouched](/auto-docs/editor/functions/MouseTouchEvent.onTouched.md): MouseTouchEvent.onTouched onTouched(touchStartEvent, callback): void Parameters Returns void
- [Function: preventDefault](/auto-docs/editor/functions/MouseTouchEvent.preventDefault.md): MouseTouchEvent.preventDefault preventDefault(e): void Parameters Returns void
- [Function: touchToMouseEvent](/auto-docs/editor/functions/MouseTouchEvent.touchToMouseEvent.md): MouseTouchEvent.touchToMouseEvent touchToMouseEvent(event): Event | MouseEvent Parameters Returns Event | MouseEvent
- [Function: NOOP](/auto-docs/editor/functions/NOOP.md): NOOP(): void Returns void
- [Function: NodeRender](/auto-docs/editor/functions/NodeRender.md): NodeRender(props): null | ReactElement> Copyright (c) 2025 Bytedance Ltd. and/or its affiliates
SPDX-License-Identifier: MIT Parameters Returns null | ReactElement>
- [Function: empty](/auto-docs/editor/functions/PaddingSchema.empty.md): PaddingSchema.empty empty(): Object Returns Object
- [Function: startDrag](/auto-docs/editor/functions/PlaygroundDrag.startDrag.md): PlaygroundDrag.startDrag startDrag(clientX, clientY, opts?): Disposable 拖拽实体 Type parameters Parameters Returns Disposable
- [Function: createContainer](/auto-docs/editor/functions/PlaygroundMockTools.createContainer.md): PlaygroundMockTools.createContainer createContainer(modules?): Container Parameters Returns Container
- [Function: createLayerTestState](/auto-docs/editor/functions/PlaygroundMockTools.createLayerTestState.md): PlaygroundMockTools.createLayerTestState createLayerTestState(layerRegistry, opts?, modules?): LayerTestState 创建layer, 并记录layer的回调数据 Type parameters Parameters Returns LayerTestState
- [Function: createPlayground](/auto-docs/editor/functions/PlaygroundMockTools.createPlayground.md): PlaygroundMockTools.createPlayground createPlayground(modules?): Playground Parameters Returns Playground
- [Function: getLayerTestState](/auto-docs/editor/functions/PlaygroundMockTools.getLayerTestState.md): PlaygroundMockTools.getLayerTestState getLayerTestState(container, layerRegistry): LayerTestState Type parameters Parameters Returns LayerTestState
- [Function: PlaygroundReactProvider](/auto-docs/editor/functions/PlaygroundReactProvider.md): PlaygroundReactProvider(props): null | ReactElement> Playground react 组件 Parameters Returns null | ReactElement>
- [Function: PlaygroundReactRenderer](/auto-docs/editor/functions/PlaygroundReactRenderer.md): PlaygroundReactRenderer(props, deprecatedLegacyContext?): null | ReactElement Parameters Returns null | ReactElement
- [Function: fixZero](/auto-docs/editor/functions/Point.fixZero.md): Point.fixZero fixZero(output): IPoint Parameters Returns IPoint
- [Function: getDistance](/auto-docs/editor/functions/Point.getDistance.md): Point.getDistance getDistance(p1, p2): number 获取两点间的距离 Parameters Returns number
- [Function: getMiddlePoint](/auto-docs/editor/functions/Point.getMiddlePoint.md): Point.getMiddlePoint getMiddlePoint(p1, p2): IPoint 获取两点间的中间点 Parameters Returns IPoint
- [Function: getRatioPoint](/auto-docs/editor/functions/Point.getRatioPoint.md): Point.getRatioPoint getRatioPoint(p1, p2, ratio): IPoint 按一定比例,获取两点间的中间点 Parameters Returns IPoint
- [Function: move](/auto-docs/editor/functions/Point.move.md): Point.move move(current, m): IPoint 往目标点移动 distance 距离 Parameters Returns IPoint
- [Function: moveDistanceToDirection](/auto-docs/editor/functions/Point.moveDistanceToDirection.md): Point.moveDistanceToDirection moveDistanceToDirection(current, direction, distance): IPoint 往目标点移动 distance 距离 Parameters Returns IPoint
- [Function: PrivateScopeProvider](/auto-docs/editor/functions/PrivateScopeProvider.md): PrivateScopeProvider(«destructured»): Element PrivateScopeProvider provides the private scope to its children via context. Parameters Returns Element
- [Function: PublicScopeProvider](/auto-docs/editor/functions/PublicScopeProvider.md): PublicScopeProvider(«destructured»): Element PublicScopeProvider provides the public scope to its children via context. Parameters Returns Element
- [Function: align](/auto-docs/editor/functions/Rectangle.align.md): Rectangle.align align(rectangles, type): Rectangle[] 矩形对齐 Parameters Returns Rectangle[]
- [Function: createRectangleWithTwoPoints](/auto-docs/editor/functions/Rectangle.createRectangleWithTwoPoints.md): Rectangle.createRectangleWithTwoPoints createRectangleWithTwoPoints(point1, point2): Rectangle 根据两点创建矩形 Parameters Returns Rectangle
- [Function: enlarge](/auto-docs/editor/functions/Rectangle.enlarge.md): Rectangle.enlarge enlarge(rectangles): Rectangle 获取所有矩形的外围最大边框 Parameters Returns Rectangle
- [Function: intersects](/auto-docs/editor/functions/Rectangle.intersects.md): Rectangle.intersects intersects(target1, target2, direction?): boolean 判断矩形相交 Parameters Returns boolean
- [Function: intersectsWithRotation](/auto-docs/editor/functions/Rectangle.intersectsWithRotation.md): Rectangle.intersectsWithRotation intersectsWithRotation(rect1, rotate1, rect2, rotate2): boolean 使用 OBB 算法判断两个旋转矩形是否相交 Parameters Returns boolean
- [Function: isViewportVisible](/auto-docs/editor/functions/Rectangle.isViewportVisible.md): Rectangle.isViewportVisible isViewportVisible(rect, viewport, rotation?, isContains?): boolean 判断指定 rect 是否在 viewport 可见 Parameters Returns boolean
- [Function: setViewportVisible](/auto-docs/editor/functions/Rectangle.setViewportVisible.md): Rectangle.setViewportVisible setViewportVisible(bounds, viewport, padding?): Rectangle 保证bounds 永远在 viewport 里边 Parameters Returns Rectangle
- [Function: createDefault](/auto-docs/editor/functions/Schema.createDefault.md): Schema.createDefault createDefault(decoration, mixinDefaults?, _key?): T Type parameters Parameters Returns T
- [Function: isBaseType](/auto-docs/editor/functions/Schema.isBaseType.md): Schema.isBaseType isBaseType(decoration): boolean 非 object 类 Parameters Returns boolean
- [Function: create](/auto-docs/editor/functions/SchemaDecoration.create.md): SchemaDecoration.create create(properties, baseDecoration?, mixinDefaults?): SchemaDecoration 扩展 SchemaDecoration Type parameters Parameters Returns SchemaDecoration Example
- [Function: ScopeProvider](/auto-docs/editor/functions/ScopeProvider.md): ScopeProvider(props): Element ScopeProvider provides the scope to its children via context. Parameters Returns Element
- [Function: coverSize](/auto-docs/editor/functions/SizeSchema.coverSize.md): SizeSchema.coverSize coverSize(currentSize, parentSize): number 填充父节点的宽高 Parameters Returns number 返回放大的比例
- [Function: empty](/auto-docs/editor/functions/SizeSchema.empty.md): SizeSchema.empty empty(): SizeSchema Returns SizeSchema
- [Function: fixSize](/auto-docs/editor/functions/SizeSchema.fixSize.md): SizeSchema.fixSize fixSize(currentSize, parentSize): number 适配父节点宽高 Parameters Returns number 返回需要缩放的比例,为 1 则不缩放
- [Function: isEmpty](/auto-docs/editor/functions/TintSchema.isEmpty.md): TintSchema.isEmpty isEmpty(tint): boolean Parameters Returns boolean
- [Function: afterFlush](/auto-docs/editor/functions/Tracker.afterFlush.md): Tracker.afterFlush afterFlush(f): void Schedules a function to be called during the next flush, or later in the current flush if one is in progress, after all invalidated computations have been rerun. The function will be run once and not on subsequent flushes unless afterFlush is called again. Parameters Returns void
- [Function: autorun](/auto-docs/editor/functions/Tracker.autorun.md): Tracker.autorun autorun(f, options?): Computation Run a function now and rerun it later whenever its dependencies
change. Returns a Computation object that can be used to stop or observe the
rerunning. Type parameters Parameters Returns Computation
- [Function: flush](/auto-docs/editor/functions/Tracker.flush.md): Tracker.flush flush(options?): void Process all reactive updates immediately and ensure that all invalidated computations are rerun. Parameters Returns void
- [Function: getCurrentComputation](/auto-docs/editor/functions/Tracker.getCurrentComputation.md): Tracker.getCurrentComputation getCurrentComputation(): Computation | undefined Returns Computation | undefined
- [Function: inFlush](/auto-docs/editor/functions/Tracker.inFlush.md): Tracker.inFlush inFlush(): boolean True if we are computing a computation now, either first time or recompute. This matches Tracker.active unless we are inside Tracker.nonreactive, which nullfies currentComputation even though an enclosing computation may still be running. Returns boolean
- [Function: isActive](/auto-docs/editor/functions/Tracker.isActive.md): Tracker.isActive isActive(): boolean Returns boolean
- [Function: onInvalidate](/auto-docs/editor/functions/Tracker.onInvalidate.md): Tracker.onInvalidate onInvalidate(f): void Parameters Returns void
- [Function: withComputation](/auto-docs/editor/functions/Tracker.withComputation.md): Tracker.withComputation withComputation(computation, f): T 函数在响应式模块中执行 Type parameters Parameters Returns T
- [Function: withoutComputation](/auto-docs/editor/functions/Tracker.withoutComputation.md): Tracker.withoutComputation withoutComputation(f): T 函数在非响应式模块中执行 Type parameters Parameters Returns T
- [Function: isParentOrChildrenTransform](/auto-docs/editor/functions/TransformData.isParentOrChildrenTransform.md): TransformData.isParentOrChildrenTransform isParentOrChildrenTransform(dragableEntities, target): boolean Parameters Returns boolean
- [Function: createDefault](/auto-docs/editor/functions/TransformSchema.createDefault.md): TransformSchema.createDefault createDefault(): TransformSchema Returns TransformSchema
- [Function: getDelta](/auto-docs/editor/functions/TransformSchema.getDelta.md): TransformSchema.getDelta getDelta(oldTransform, newTransform): TransformSchema Parameters Returns TransformSchema
- [Function: is](/auto-docs/editor/functions/TransformSchema.is.md): TransformSchema.is is(obj): obj is TransformSchema Parameters Returns obj is TransformSchema
- [Function: mergeDelta](/auto-docs/editor/functions/TransformSchema.mergeDelta.md): TransformSchema.mergeDelta mergeDelta(oldTransform, newTransformDelta, toFixedNum?): TransformSchema Parameters Returns TransformSchema
- [Function: toJSON](/auto-docs/editor/functions/TransformSchema.toJSON.md): TransformSchema.toJSON toJSON(obj): TransformSchema Parameters Returns TransformSchema
- [Function: addEventListener](/auto-docs/editor/functions/addEventListener.md): addEventListener(element, type, listener, useCapture?): Disposable Type parameters Parameters Returns Disposable
- [Function: arrayToSet](/auto-docs/editor/functions/arrayToSet.md): arrayToSet(arr): Set Parameters Returns Set
- [Function: arrayUnion](/auto-docs/editor/functions/arrayUnion.md): arrayUnion(arr): any[] Parameters Returns any[] See https://stackoverflow.com/a/9229821
export function arrayUnion(arr: any[]): any[] {
return [...new Set(arr)]
}
- [Function: bindConfigEntity](/auto-docs/editor/functions/bindConfigEntity.md): bindConfigEntity(bind, entityRegistry): void 让 entity 可以注入到类中 Parameters Returns void Example
- [Function: bindContributionProvider](/auto-docs/editor/functions/bindContributionProvider.md): bindContributionProvider(bind, id): void Parameters Returns void
- [Function: bindContributions](/auto-docs/editor/functions/bindContributions.md): bindContributions(bind, target, contribs): void Copyright (c) 2025 Bytedance Ltd. and/or its affiliates
SPDX-License-Identifier: MIT Parameters Returns void
- [Function: bindPlaygroundContextProvider](/auto-docs/editor/functions/bindPlaygroundContextProvider.md): bindPlaygroundContextProvider(bind): void Parameters Returns void
- [Function: cancelled](/auto-docs/editor/functions/cancelled.md): cancelled(): Error Returns Error
- [Function: checkCancelled](/auto-docs/editor/functions/checkCancelled.md): checkCancelled(token?): void Parameters Returns void
- [Function: clearRequestCache](/auto-docs/editor/functions/clearRequestCache.md): clearRequestCache(): void Returns void
- [Function: compose](/auto-docs/editor/functions/compose.md): compose(...fns): Func Type parameters Parameters Returns Func
- [Function: composeAsync](/auto-docs/editor/functions/composeAsync.md): composeAsync(...fns): FuncPromise Type parameters Parameters Returns FuncPromise
- [Function: createConfigDataRegistry](/auto-docs/editor/functions/createConfigDataRegistry.md): createConfigDataRegistry(entity): EntityDataRegistry Type parameters Parameters Returns EntityDataRegistry
- [Function: createDefaultPlaygroundConfig](/auto-docs/editor/functions/createDefaultPlaygroundConfig.md): createDefaultPlaygroundConfig(): PlaygroundConfig 默认配置 Returns PlaygroundConfig
- [Function: createDefaultPreset](/auto-docs/editor/functions/createDefaultPreset.md): createDefaultPreset(opts, plugins?): PluginsProvider Type parameters Parameters Returns PluginsProvider
- [Function: createEffectFromVariableProvider](/auto-docs/editor/functions/createEffectFromVariableProvider.md): createEffectFromVariableProvider(options): EffectOptions[] 根据 VariableProvider 生成 FormV2 的 Effect Parameters Returns EffectOptions[]
- [Function: createEffectOptions](/auto-docs/editor/functions/createEffectOptions.md): createEffectOptions(event, effect): Object Type parameters Parameters Returns Object
- [Function: createFlowEditorClientPlugin](/auto-docs/editor/functions/createFlowEditorClientPlugin.md): createFlowEditorClientPlugin(opts): Plugin<{}> Parameters Returns Plugin<{}>
- [Function: createFlowEditorClientPlugins](/auto-docs/editor/functions/createFlowEditorClientPlugins.md): createFlowEditorClientPlugins(): Plugin<{}>[] Returns Plugin<{}>[]
- [Function: createI18nPlugin](/auto-docs/editor/functions/createI18nPlugin.md): createI18nPlugin(opts): Plugin I18n Plugin Parameters Returns Plugin
- [Function: createLines](/auto-docs/editor/functions/createLines.md): createLines(props): void Parameters Returns void
- [Function: createNodeCorePlugin](/auto-docs/editor/functions/createNodeCorePlugin.md): createNodeCorePlugin(opts): Plugin Parameters Returns Plugin
- [Function: createNodeVariablePlugin](/auto-docs/editor/functions/createNodeVariablePlugin.md): createNodeVariablePlugin(opts): Plugin Copyright (c) 2025 Bytedance Ltd. and/or its affiliates
SPDX-License-Identifier: MIT Parameters Returns Plugin
- [Function: createPlaygroundContainer](/auto-docs/editor/functions/createPlaygroundContainer.md): createPlaygroundContainer(config?, parent?, container?): Container Parameters Returns Container
- [Function: createPlaygroundLayerDefault](/auto-docs/editor/functions/createPlaygroundLayerDefault.md): createPlaygroundLayerDefault(container, layerRegistry, options?): Layer Parameters Returns Layer
- [Function: createPlaygroundPlugin](/auto-docs/editor/functions/createPlaygroundPlugin.md): createPlaygroundPlugin(options): Plugin Type parameters Parameters Returns Plugin Example
- [Function: createPlaygroundReactPreset](/auto-docs/editor/functions/createPlaygroundReactPreset.md): createPlaygroundReactPreset(opts, plugins?): PluginsProvider Copyright (c) 2025 Bytedance Ltd. and/or its affiliates
SPDX-License-Identifier: MIT Type parameters Parameters Returns PluginsProvider
- [Function: createPluginContextDefault](/auto-docs/editor/functions/createPluginContextDefault.md): createPluginContextDefault(container): PluginContext Parameters Returns PluginContext
- [Function: createRegistryDecorator](/auto-docs/editor/functions/createRegistryDecorator.md): createRegistryDecorator(key, data, getValue?, init?): any Parameters Returns any
- [Function: createShortcutsPlugin](/auto-docs/editor/functions/createShortcutsPlugin.md): createShortcutsPlugin(opts): Plugin Parameters Returns Plugin
- [Function: createVariablePlugin](/auto-docs/editor/functions/createVariablePlugin.md): createVariablePlugin(opts): Plugin Parameters Returns Plugin
- [Function: createVariableProviderPlugin](/auto-docs/editor/functions/createVariableProviderPlugin.md): createVariableProviderPlugin(opts): FormPlugin Copyright (c) 2025 Bytedance Ltd. and/or its affiliates
SPDX-License-Identifier: MIT Parameters Returns FormPlugin
- [Function: deepFreeze](/auto-docs/editor/functions/deepFreeze.md): deepFreeze(obj): T Copyright (c) 2025 Bytedance Ltd. and/or its affiliates
SPDX-License-Identifier: MIT Type parameters Parameters Returns T
- [Function: defineFormPluginCreator](/auto-docs/editor/functions/defineFormPluginCreator.md): defineFormPluginCreator(config): FormPluginCreator Type parameters Parameters Returns FormPluginCreator
- [Function: definePluginCreator](/auto-docs/editor/functions/definePluginCreator.md): definePluginCreator(config): PluginCreator Type parameters Parameters Returns PluginCreator
- [Function: delay](/auto-docs/editor/functions/delay.md): delay(ms, token?): Promise Parameters Returns Promise resolves after a specified number of milliseconds Throws cancelled if a given token is cancelled before a specified number of milliseconds
- [Function: addClass](/auto-docs/editor/functions/domUtils.addClass.md): domUtils.addClass addClass(element, ...classNames): void Parameters Returns void
- [Function: addStandardDisposableListener](/auto-docs/editor/functions/domUtils.addStandardDisposableListener.md): domUtils.addStandardDisposableListener addStandardDisposableListener(dom, type, listener, options?): Disposable Parameters Returns Disposable
- [Function: classNameWithPrefix](/auto-docs/editor/functions/domUtils.classNameWithPrefix.md): domUtils.classNameWithPrefix classNameWithPrefix(prefix): (key: string, opts?: any) => string Parameters Returns fn (key, opts?): string Parameters Returns string
- [Function: clearChildren](/auto-docs/editor/functions/domUtils.clearChildren.md): domUtils.clearChildren clearChildren(container): void Parameters Returns void
- [Function: coverClass](/auto-docs/editor/functions/domUtils.coverClass.md): domUtils.coverClass coverClass(element, ...classNames): void Parameters Returns void
- [Function: createDOMCache](/auto-docs/editor/functions/domUtils.createDOMCache.md): domUtils.createDOMCache createDOMCache(parent, className, children?): CacheManager dom 缓存 Type parameters Parameters Returns CacheManager
- [Function: createDivWithClass](/auto-docs/editor/functions/domUtils.createDivWithClass.md): domUtils.createDivWithClass createDivWithClass(...classNames): HTMLDivElement Parameters Returns HTMLDivElement
- [Function: createElement](/auto-docs/editor/functions/domUtils.createElement.md): domUtils.createElement createElement(ele, ...classNames): T Type parameters Parameters Returns T
- [Function: delClass](/auto-docs/editor/functions/domUtils.delClass.md): domUtils.delClass delClass(element, ...classNames): void Parameters Returns void
- [Function: disableEvent](/auto-docs/editor/functions/domUtils.disableEvent.md): domUtils.disableEvent disableEvent(element): void Parameters Returns void
- [Function: enableEvent](/auto-docs/editor/functions/domUtils.enableEvent.md): domUtils.enableEvent enableEvent(element): void Parameters Returns void
- [Function: fromPercent](/auto-docs/editor/functions/domUtils.fromPercent.md): domUtils.fromPercent fromPercent(percent): number Parameters Returns number
- [Function: setStyle](/auto-docs/editor/functions/domUtils.setStyle.md): domUtils.setStyle setStyle(node, styles): void Parameters Returns void
- [Function: toPercent](/auto-docs/editor/functions/domUtils.toPercent.md): domUtils.toPercent toPercent(percent): string Parameters Returns string
- [Function: toPixel](/auto-docs/editor/functions/domUtils.toPixel.md): domUtils.toPixel toPixel(num): string Parameters Returns string
- [Function: translatePercent](/auto-docs/editor/functions/domUtils.translatePercent.md): domUtils.translatePercent translatePercent(node, x, y): void Parameters Returns void
- [Function: translateXPercent](/auto-docs/editor/functions/domUtils.translateXPercent.md): domUtils.translateXPercent translateXPercent(node, x): void Parameters Returns void
- [Function: translateYPercent](/auto-docs/editor/functions/domUtils.translateYPercent.md): domUtils.translateYPercent translateYPercent(node, y): void Parameters Returns void
- [Function: drawLineToBottom](/auto-docs/editor/functions/drawLineToBottom.md): drawLineToBottom(transition): { from: IPoint ; to: IPoint ; type: FlowTransitionLineEnum }[] Parameters Returns { from: IPoint ; to: IPoint ; type: FlowTransitionLineEnum }[]
- [Function: drawLineToNext](/auto-docs/editor/functions/drawLineToNext.md): drawLineToNext(transition): { from: IPoint ; to: IPoint ; type: FlowTransitionLineEnum }[] Parameters Returns { from: IPoint ; to: IPoint ; type: FlowTransitionLineEnum }[]
- [Function: each](/auto-docs/editor/functions/each.md): each(obj, fn): void Type parameters Parameters Returns void
- [Function: filter](/auto-docs/editor/functions/filter.md): filter(obj, fn, dest?): any Parameters Returns any
- [Function: generateLocalId](/auto-docs/editor/functions/generateLocalId.md): generateLocalId(): LocalId Returns LocalId
- [Function: getByKey](/auto-docs/editor/functions/getByKey.md): getByKey(target, key): any | undefined Parameters Returns any | undefined Example
- [Function: getDefaultSpacing](/auto-docs/editor/functions/getDefaultSpacing.md): getDefaultSpacing(node, key, defaultSpacing?): any Parameters Returns any
- [Function: getEntityDatasMetadata](/auto-docs/editor/functions/getEntityDatasMetadata.md): getEntityDatasMetadata(layer): { data: EntityDataRegistry ; entity: EntityRegistry }[] Parameters Returns { data: EntityDataRegistry ; entity: EntityRegistry }[]
- [Function: getEntityMetadata](/auto-docs/editor/functions/getEntityMetadata.md): getEntityMetadata(layer): EntityRegistry[] Parameters Returns EntityRegistry[]
- [Function: getNodeForm](/auto-docs/editor/functions/getNodeForm.md): getNodeForm(node): NodeFormProps | undefined Use node.form instead Type parameters Parameters Returns NodeFormProps | undefined Deprecated
- [Function: getNodePrivateScope](/auto-docs/editor/functions/getNodePrivateScope.md): getNodePrivateScope(node): FlowNodeScope Use node.privateScope instead. Parameters Returns FlowNodeScope The private scope of the node. Deprecated
- [Function: getNodeScope](/auto-docs/editor/functions/getNodeScope.md): getNodeScope(node): FlowNodeScope Use node.scope instead. Parameters Returns FlowNodeScope The public scope of the node. Deprecated
- [Function: getRegistryMetadata](/auto-docs/editor/functions/getRegistryMetadata.md): getRegistryMetadata(target, key): any[] Parameters Returns any[]
- [Function: getTag](/auto-docs/editor/functions/getTag.md): getTag(v): string Parameters Returns string
- [Function: highlightFormItem](/auto-docs/editor/functions/highlightFormItem.md): highlightFormItem(formItem, options?): HTMLDivElement | undefined Parameters Returns HTMLDivElement | undefined
- [Function: inject](/auto-docs/editor/functions/inject.md): inject(serviceIdentifier): (target: DecoratorTarget, targetKey?: string | symbol, indexOrPropertyDescriptor?: number | TypedPropertyDescriptor) => void Type parameters Parameters Returns fn (target, targetKey?, indexOrPropertyDescriptor?): void Parameters Returns void
- [Function: injectByProvider](/auto-docs/editor/functions/injectByProvider.md): injectByProvider(provider): (target: any, propertyKey: string) => any Copyright (c) 2025 Bytedance Ltd. and/or its affiliates
SPDX-License-Identifier: MIT Parameters Returns fn (target, propertyKey): any Parameters Returns any
- [Function: injectPlaygroundContext](/auto-docs/editor/functions/injectPlaygroundContext.md): injectPlaygroundContext(): (target: any, propertyKey: string) => any Returns fn (target, propertyKey): any Parameters Returns any
- [Function: injectToAST](/auto-docs/editor/functions/injectToAST.md): injectToAST(serviceIdentifier): (target: any, propertyKey: string) => any Copyright (c) 2025 Bytedance Ltd. and/or its affiliates
SPDX-License-Identifier: MIT Parameters Returns fn (target, propertyKey): any Parameters Returns any
- [Function: injectable](/auto-docs/editor/functions/injectable.md): injectable(): (target: T) => T Returns fn (target): T Type parameters Parameters Returns T
- [Function: isCancelled](/auto-docs/editor/functions/isCancelled.md): isCancelled(err): boolean Parameters Returns boolean
- [Function: isEmpty](/auto-docs/editor/functions/isEmpty.md): isEmpty(arg): boolean true if the argument is an empty object. Otherwise, false. Parameters Returns boolean
- [Function: isFormMetaV2](/auto-docs/editor/functions/isFormMetaV2.md): isFormMetaV2(formMeta): formMeta is FormMeta Parameters Returns formMeta is FormMeta
- [Function: isFormModelV2](/auto-docs/editor/functions/isFormModelV2.md): isFormModelV2(fm): fm is FormModel Parameters Returns fm is FormModel
- [Function: isFormV2](/auto-docs/editor/functions/isFormV2.md): isFormV2(node): boolean Copyright (c) 2025 Bytedance Ltd. and/or its affiliates
SPDX-License-Identifier: MIT Parameters Returns boolean
- [Function: isFunction](/auto-docs/editor/functions/isFunction.md): isFunction(v): v is T Type parameters Parameters Returns v is T
- [Function: isMatchAST](/auto-docs/editor/functions/isMatchAST.md): isMatchAST(node?, targetType?): node is TargetASTNode isMatchAST is same as ASTMatch.is Type parameters Parameters Returns node is TargetASTNode
- [Function: isNumber](/auto-docs/editor/functions/isNumber.md): isNumber(v): v is number Parameters Returns v is number
- [Function: isObject](/auto-docs/editor/functions/isObject.md): isObject(v): v is UnknownObject Type parameters Parameters Returns v is UnknownObject
- [Function: isPlainObject](/auto-docs/editor/functions/isPlainObject.md): isPlainObject(obj): boolean Parameters Returns boolean True if the argument appears to be a plain object.
- [Function: isString](/auto-docs/editor/functions/isString.md): isString(v): v is string Parameters Returns v is string
- [Function: iterToArray](/auto-docs/editor/functions/iterToArray.md): iterToArray(iter): T[] Copyright (c) 2025 Bytedance Ltd. and/or its affiliates
SPDX-License-Identifier: MIT Type parameters Parameters Returns T[]
- [Function: lazyInject](/auto-docs/editor/functions/lazyInject.md): lazyInject(serviceIdentifier): (target: any, propertyKey: string) => any Parameters Returns fn (target, propertyKey): any Parameters Returns any
- [Function: loadPlugins](/auto-docs/editor/functions/loadPlugins.md): loadPlugins(plugins, container): void Parameters Returns void
- [Function: mapKeys](/auto-docs/editor/functions/mapKeys.md): mapKeys(obj, fn): any Type parameters Parameters Returns any
- [Function: mapValues](/auto-docs/editor/functions/mapValues.md): mapValues(obj, fn): any Type parameters Parameters Returns any
- [Function: multiInject](/auto-docs/editor/functions/multiInject.md): multiInject(serviceIdentifier): (target: DecoratorTarget, targetKey?: string | symbol, indexOrPropertyDescriptor?: number | TypedPropertyDescriptor) => void Type parameters Parameters Returns fn (target, targetKey?, indexOrPropertyDescriptor?): void Parameters Returns void
- [Function: named](/auto-docs/editor/functions/named.md): named(name): (target: DecoratorTarget, targetKey?: string | symbol, indexOrPropertyDescriptor?: number | TypedPropertyDescriptor) => void Parameters Returns fn (target, targetKey?, indexOrPropertyDescriptor?): void Type parameters Parameters Returns void
- [Function: notEmpty](/auto-docs/editor/functions/notEmpty.md): notEmpty(arg): arg is T Type parameters Parameters Returns arg is T
- [Function: observe](/auto-docs/editor/functions/observe.md): observe(fc): React.FC Copyright (c) 2025 Bytedance Ltd. and/or its affiliates
SPDX-License-Identifier: MIT Type parameters Parameters Returns React.FC
- [Function: observeEntities](/auto-docs/editor/functions/observeEntities.md): observeEntities(registry): any 监听 entity 变化 Parameters Returns any
- [Function: observeEntity](/auto-docs/editor/functions/observeEntity.md): observeEntity(registry): any Copyright (c) 2025 Bytedance Ltd. and/or its affiliates
SPDX-License-Identifier: MIT Parameters Returns any
- [Function: observeEntityDatas](/auto-docs/editor/functions/observeEntityDatas.md): observeEntityDatas(entityRegistry, dataRegistry): any 监听 entity 对应的 data 数据变化 Parameters Returns any
- [Function: omit](/auto-docs/editor/functions/omit.md): omit(obj, fields, dest?): any Parameters Returns any
- [Function: pick](/auto-docs/editor/functions/pick.md): pick(obj, fields, dest?): any Parameters Returns any
- [Function: postConstruct](/auto-docs/editor/functions/postConstruct.md): postConstruct(): (target: { constructor: NewableFunction }, propertyKey: string) => void Returns fn (target, propertyKey): void Parameters Returns void
- [Function: postConstructAST](/auto-docs/editor/functions/postConstructAST.md): postConstructAST(): (target: any, propertyKey: string) => void Returns fn (target, propertyKey): void Parameters Returns void
- [Function: reduce](/auto-docs/editor/functions/reduce.md): reduce(obj, fn, res?): R Type parameters Parameters Returns R
- [Function: registerNodeMaterial](/auto-docs/editor/functions/registerNodeMaterial.md): registerNodeMaterial(«destructured»): void Parameters Returns void
- [Function: removeInjectedProperties](/auto-docs/editor/functions/removeInjectedProperties.md): removeInjectedProperties(instance): void 在 rspack 场景编译ts文件时候
decorator 注入的 property 会被当成 this 的属性, 导致 Reflect.metadata 失效 Parameters Returns void
- [Function: requestWithMemo](/auto-docs/editor/functions/requestWithMemo.md): requestWithMemo(req, cacheTime?, createCacheKey?): RequestFn Parameters Returns RequestFn
- [Function: retry](/auto-docs/editor/functions/retry.md): retry(task, delayTime, retries, shouldRetry?): Promise Type parameters Parameters Returns Promise
- [Function: safeKey](/auto-docs/editor/functions/safeKey.md): safeKey(key): string filter dangerous key, prevent prototype pollution injection Parameters Returns string filtered key
- [Function: scrollIntoViewWithTween](/auto-docs/editor/functions/scrollIntoViewWithTween.md): scrollIntoViewWithTween(opts): Disposable 滚动到可视区域 Parameters Returns Disposable
- [Function: setByKey](/auto-docs/editor/functions/setByKey.md): setByKey(target, key, newValue, autoCreateObject?, clone?): any Parameters Returns any Example
- [Function: _setIdx](/auto-docs/editor/functions/setIdx.md): _setIdx(idx): void Parameters Returns void
- [Function: startTween](/auto-docs/editor/functions/startTween.md): startTween(opts): Disposable Type parameters Parameters Returns Disposable
- [Function: useAvailableVariables](/auto-docs/editor/functions/useAvailableVariables.md): useAvailableVariables(): VariableDeclaration[] Get available variable list in the current scope. If no scope, return global variable list.The hook is reactive to variable list or any variables change. Returns VariableDeclaration[]
- [Function: useBaseColor](/auto-docs/editor/functions/useBaseColor.md): useBaseColor(): Object Returns Object
- [Function: useConfigEntity](/auto-docs/editor/functions/useConfigEntity.md): useConfigEntity(entityRegistry, listenChange?): T 获取 config entity Type parameters Parameters Returns T
- [Function: useCurrentField](/auto-docs/editor/functions/useCurrentField.md): useCurrentField