Skip to Content
代码示例Misc

服务器端图片创建

此示例演示了如何在服务器端创建 React Flow 图的静态图片。该应用允许你与屏幕左侧的节点进行交互,同时自动生成并在右侧显示相应的流图。该实现使用 React Flow 新的静态渲染功能并结合 Puppeteer 来截取屏幕截图。

¥This example demonstrates how to create static images of React Flow graphs on the server side. The application lets you interact with nodes on the left side of the screen while automatically generating and displaying the corresponding flow image on the right. The implementation uses React Flow’s new static rendering capabilities combined with Puppeteer to capture screenshots.

This is a Pro example. Get all pro examples, templates, 1:1 support from the xyflow team and prioritized Github issues with a React Flow Pro subscription.

关于此 Pro 示例

¥About this Pro Example

Last updated on