import * as xflowAll from '@antv/xflow'
// xflowAll
[
"AppContext",
"CANVAS_SCALE_TOOLBAR_CONFIG",
"CanvasContextMenu",
"CanvasMiniMap",
"CanvasNodePortTooltip",
"CanvasScaleToolbar",
"CanvasSnapline",
"CanvasToolbar",
"commandRegistryModule",
"createCmdConfig",
"createComponentModel",
"createCtxMenuConfig",
"createGraphConfig",
"createHookConfig",
"createKeybindingConfig",
"createModelServiceConfig",
"createToolbarConfig",
"DagGraphExtension",
"Deferred",
"delay",
"Disposable",
"DisposableCollection",
"EditorPanels",
"executeJsonSchemaFormCommand",
"ExtensionRegistryContext",
"FlowchartCanvas",
"FlowchartExtension",
"FlowchartFormPanel",
"FlowchartFormWrapper",
"FlowchartNodePanel",
"FlowchartService",
"FlowGraphExtension",
"FormBuilder",
"FormItemWrapper",
"getNodeReactComponent",
"GRAPH_STATUS_INFO",
"GraphCommandRegistry",
"HookHub",
"IApplication",
"IApplicationContribution",
"ICommandContextProvider",
"ICommandHandler",
"IconStore",
"IGraphCommandContribution",
"IGraphCommandFactory",
"IGraphCommandService",
"IGraphProvider",
"IHookContribution",
"IHookService",
"IKeyBindingContribution",
"IMenuContribution",
"IMenuService",
"IModelContribution",
"IModelService",
"insertCss",
"isReactComponent",
"IToolbarContribution",
"IToolbarService",
"JsonSchemaForm",
"KeybindingConfig",
"KeyBindings",
"ManaSyringe",
"MenuItemType",
"MenuRegistry",
"MODELS",
"NodeCollapsePanel",
"NodeTreePanel",
"NsCollapsePanelModel",
"NsGraph",
"NsGraphStatusCommand",
"NsJsonSchemaForm",
"NsJsonSchemaFormModel",
"NsModel",
"NsNodeCollapsePanel",
"NsNodeTreePanel",
"NsNodeTreePanelModel",
"randomInt",
"RxModel",
"ScheduleTypeEnum",
"ToolbarRegistry",
"useAppContext",
"useExtensionRegistry",
"useIsMountedRef",
"useModel",
"useModelAsync",
"usePanelContext",
"usePositionStyle",
"useXFlowApp",
"useXflowPrefixCls",
"uuidv4",
"WorkspacePanel",
"XFlow",
"XFlowAppContext",
"XFlowAppExtensionModule",
"XFlowAppProvider",
"XFlowCanvas",
"XFlowConfigProviderContext",
"XFlowConstants",
"XFlowDagCommands",
"XFlowEdgeCommands",
"XFlowGraphCommands",
"XFlowGroupCommands",
"XFlowModelCommands",
"XFlowNodeCommands"
]
arr.sort((a,b)=> a.localeCompare(b))
xflow核心组件
- XFlow 工作台组件
- https://antv-xflow.gitee.io/zh-CN/docs/tutorial-core-components/xflow-component
- XFlow 中, 一切都是React组件。XFlow工作台组件是 XFlow 的核心组件之一
- XFlow 是一个图编辑应用的工作空间, 它包含了画布组件、各种交互组件等
- KeyBindings 快捷键
- XFlowCanvas 画布组件
- https://antv-xflow.gitee.io/zh-CN/docs/tutorial-core-components/xflow-canvas-component
import { XFlow, XFlowCanvas, KeyBindings } from '@antv/xflow'
- https://antv-xflow.gitee.io/zh-CN/docs/tutorial-core-components/xflow-canvas-component
UI交互组件
xflow组件总览 https://antv-xflow.gitee.io/zh-CN/docs/tutorial-ext-components/extension-components
- NodeTreePanel 可拖拽新节点的栏目
- CanvasContextMenu 画布右键菜单组件
- ContextMenu 右键菜单
- CanvasSnapline 画布对齐线
- Snapline 对齐线
- CanvasMiniMap 画布导航小地图
- MiniMap 小地图
- CanvasToolbar 画布通用工具栏
- Toolbar 工具栏
- CanvasScaleToolbar 画布缩放工具栏
- ScaleToolbar 缩放工具栏
- CanvasConfigForm 画布 JsonSchemaForm
- JsonForm 配置式表单
- CanvasDrawer 画布抽屉组件
- CanvasModal 画布弹窗组件
- NodeDndPanel 节点拖拽面板
- WorkspacePanel 自定义组件
preset预设组件
DagGraphExtension DAG 的 Hook 集合