1 Star 0 Fork 11

powerx / 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)
Python
1
https://gitee.com/powerx/ndraw.git
git@gitee.com:powerx/ndraw.git
powerx
ndraw
ndraw
master

搜索帮助