快速画流程图

使用在线工具:PlantUML

PlantUML

官网:https://plantuml.com/

中文官网:https://plantuml.com/zh/

使用步骤如下:

1、拷贝一个完成函数:

cpp 复制代码
int func_init(const char *tag) {
    if (tag != NULL) {
        printf("set TAG :%s", tag);
    }

    print_test();
    return 0;
}

2、使用chatGPT把代码转换成标准的plantuml语言输出流程图,具体输入如下:

用标准plantuml语言输出流程图

int func_init(const char *tag) {

if (tag != NULL) {

printf("set TAG :%s", tag);

}

print_test();

return 0;

}

3、chatGPT输出如下:

@startuml

start

if (tag != NULL) then (yes)

:printf("set TAG :%s", tag);

else (no)

endif

:print_test();

stop

@enduml

4、登录https://plantuml.com/zh/ 选择 活动图,输出流程图如下:

相关推荐
mxwin13 天前
次世代角色 PBR 贴图制作 + Unity URP 接入 极简流程图
unity·流程图·贴图·shader
lipengxs18 天前
PlantUML、Mermaid、SQL ER、OpenAPI 在线预览工具整理
ai·编辑器·流程图·uml
程思扬20 天前
Android 大厂编码规范
android·网络·安全·开源·流程图
相忘于江湖42654322 天前
【deepseek + draw.io 】生成流程图
流程图·draw.io
blue_dou22 天前
架构与能力边界解析:七款CRM产品四大核心维度对比测评
大数据·架构·逻辑回归·流程图
zincsweet1 个月前
Linux 命名管道(FIFO)详解:原理分析、源码封装与通信流程图解
linux·服务器·c++·流程图
优思学苑1 个月前
价值流程图:看到流程,而不只是步骤【精益管理CLMP】
流程图
bug总结1 个月前
前端流程图vueflow
前端·流程图
米饭不加菜1 个月前
Mermaid 流程图语法参考四
流程图
米饭不加菜1 个月前
Mermaid 流程图语法参考三
流程图