Skip to Content
代码示例Misc

静态服务器端生成

在服务器上使用 React Flow 静态渲染流程的全栈应用。它由一个小型 Express 服务器和一个简单的 React 前端组成。编辑显示的节点和边,调整导出格式、纵横比和输出尺寸。当你进行更改时,会向服务器发送请求,服务器会以可下载的 HTML 预览或图片作为响应。

¥A full-stack app that statically renders a flow with React Flow on the server. It is composed of a small Express server and a simple React frontend. Edit the displayed nodes and edges, adjust the export format, aspect ratio, and output dimensions. When you make changes, a request is sent to the server, which responds with a downloadable HTML preview or an image.

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.