Svelte Flow

学习参考示例
GitHub 中文支持我们
  • API 参考
  • <SvelteFlow />
  • <SvelteFlowProvider />
  • 组件
    • <Background />
    • <BaseEdge />
    • <ControlButton />
    • <Controls />
    • <EdgeLabelRenderer />
    • <EdgeLabel />
    • <Handle />
    • <MiniMap />
    • <NodeResizer />
    • <NodeResizeControl />
    • <NodeToolbar />
    • <Panel />
  • 钩子
    • useConnection()
    • useEdges()
    • useHandleConnections()
    • useInternalNode()
    • useNodes()
    • useNodesData()
    • useNodesInitialized()
    • useSvelteFlow()
    • useStore()
    • useUpdateNodeInternals()
  • 类型
    • BackgroundVariant
    • ColorMode
    • Connection
    • ConnectionLineType
    • CoordinateExtent
    • DefaultEdgeOptions
    • Edge
    • EdgeMarker
    • EdgeProps
    • FitViewOptions
    • InternalNode
    • KeyDefinition
    • MarkerType
    • Node
    • NodeProps
    • NodeOrigin
    • PanelPosition
    • Position
    • SvelteFlowStore
    • Viewport
    • XYPosition
    • addEdge()
    • getBezierPath()
    • getConnectedEdges()
    • getIncomers()
    • getNodesBounds()
    • getOutgoers()
    • getSimpleBezierPath()
    • getSmoothStepPath()
    • getStraightPath()
    • getViewportForBounds()
    • isEdge()
    • isNode()
问题?给我们反馈 →编辑此页面这里有什么新东西?
参考类型
PanelPosition

PanelPosition

此类型主要用于帮助在流程视窗顶部定位事物。例如,<MiniMap /> 和 <Controls /> 组件都接受这种类型的 position 属性。

export type PanelPosition =
  | 'top-left'
  | 'top-center'
  | 'top-right'
  | 'bottom-left'
  | 'bottom-center'
  | 'bottom-right';
类型

由 xyflow 团队开发的项目

自 2019 年以来,我们一直在构建和维护基于节点的 UI 的开源软件。

文档

快速入门指南API 参考示例展示支持我们

社交

DiscordGithubX / TwitterBluesky

xyflow

博客开源关于联系
职业 招聘中

法律

MIT 许可证行为准则

info@xyflow.com — 版权所有 ©2024 webkid GmbH。保留所有权利 — 网站设计 by Facu Montanaro