首页
学习
活动
专区
圈层
工具
发布
社区首页 >专栏 >NewspaceGPT绘制时序图

NewspaceGPT绘制时序图

作者头像
用户8589624
发布2025-11-14 08:47:05
发布2025-11-14 08:47:05
1310
举报
文章被收录于专栏:nginxnginx

注册一个账号,用qq邮箱,然后登录

选一个可用的Plus,不要选3.5

探索GPT

今天的主角是

开始寻梦美人鱼图表

一起来学点英语吧。

Official GPT from the Mermaid team. Generate a Mermaid diagram or chart with text including flowcharts, sequence, mind map, state, git graph, C4, class, block, Gantt chart, timeline, Sankey, user journey, entity relationship, pie chart, requirement, quadrant chart, or XY chart diagrams.

美人鱼团队的官方GPT。生成包含文本的美人鱼图或图表,包括流程图、序列图、思维导图、状态图、数字图、C4、类、块图、甘特图、时间线、Sankey、用户旅程、实体关系、饼图、需求、象限图或XY图表。

Create a flowchart for making pizza. Add emoji. Show me inheritance using a class diagram. Make a sequence diagram for a barista ☕ Make a mindmap of various animals with emoji.

创建制作披萨的流程图。添加表情符号。 使用类图显示继承。 为咖啡师制作序列图☕ 用表情符号制作各种动物的思维导图。

我选第三个试一下

Make a sequence diagram for a barista ☕


Let’s create a sequence diagram for a barista serving a customer.

Diagram Summary:
  1. The customer orders a coffee.
  2. The barista confirms the order.
  3. The barista prepares the coffee.
  4. The barista serves the coffee to the customer.
  5. The customer pays for the coffee.

Here is the mermaid diagram code:

代码语言:javascript
复制
//mermaid
sequenceDiagram
    participant Customer
    participant Barista
    Customer->>Barista: I'd like a coffee, please.
    Barista-->>Customer: Sure, one moment.
    activate Barista
    Barista->>Barista: Prepare coffee
    deactivate Barista
    Barista-->>Customer: Here is your coffee.
    Customer-->>Barista: Thank you! Here is the payment.

Now, I will render this diagram.

Barista Sequence Diagram
Barista Sequence Diagram

You can edit and save this diagram on the MermaidChart editor.


自定义时序图玩一下

请输出一个关于网站访问的时序图。用汉语。


Diagram Summary:
  1. 用户访问网站主页。
  2. 网站服务器返回主页内容。
  3. 用户请求登录。
  4. 网站服务器验证用户凭据。
  5. 网站服务器返回登录成功消息。
  6. 用户浏览个人页面。

Here is the mermaid diagram code in Chinese:

代码语言:javascript
复制
//mermaid
sequenceDiagram
    participant 用户
    participant 网站服务器
    用户->>网站服务器: 访问主页
    网站服务器-->>用户: 返回主页内容
    用户->>网站服务器: 请求登录
    网站服务器->>网站服务器: 验证用户凭据
    网站服务器-->>用户: 登录成功
    用户->>网站服务器: 浏览个人页面

Now, I will render this diagram.

网站访问时序图
网站访问时序图

您可以在 MermaidChart editor 上编辑和保存此图。

结论

生成的图看起来还是非常专业的。对需求的理解也是非常清晰,当然前提是你要描述清晰。 打个比方,如果你的描述,连聪明的你的聪明的同事都没听明白,那么请不要责怪生成的图表,不合心意。

本文参与 腾讯云自媒体同步曝光计划,分享自作者个人站点/博客。
原始发表:2025-11-12,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体同步曝光计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
目录
  • 注册一个账号,用qq邮箱,然后登录
  • 选一个可用的Plus,不要选3.5
  • 探索GPT
  • 今天的主角是
  • 开始寻梦美人鱼图表
  • 我选第三个试一下
    • Diagram Summary:
  • 自定义时序图玩一下
    • Diagram Summary:
  • 结论
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档