1 Star 0 Fork 12

wangxin / ndraw

forked from Huoyo / ndraw 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
testAuto.py 368 Bytes
一键复制 编辑 原始数据 按行查看 历史
Huoyo 提交于 2022-04-23 20:59 . optimize flow and theme
# -*- encoding: utf-8 -*-
import ndraw
from ndraw import Node
graph = ndraw.AutoGraph()
graphs = graph.create(Node("开始",theme=ndraw.GREEN_WHITE))\
.to(Node("过程1",data=["1.xxx","2.xxx"],theme=ndraw.DEEPGRAY_WHITE))\
.to(Node("过程2",data=["1.xxx","2.xxx"],theme=ndraw.BLUE_WHITE))\
.to(Node("结束",theme=ndraw.GREEN_WHITE))
ndraw.server(graphs)
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/fyftingcode/ndraw.git
git@gitee.com:fyftingcode/ndraw.git
fyftingcode
ndraw
ndraw
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891