react flow 实用记录
文章目录
- 设置默认边节点为自己定义节点
<ReactFlow
defaultEdgeOptions={{ type: 'buttonEdge' }}
>
<Background />
<Controls />
</ReactFlow> <ReactFlow
defaultEdgeOptions={{ type: 'buttonEdge' }}
>
<Background />
<Controls />
</ReactFlow>
评论
登录后参与技术讨论,分享你的经验与见解。
登录 / 注册暂无评论