Graphviz
程序员文章站
2022-04-26 22:10:48
...
Graphviz
Graphviz 是一个由AT&T实验室启动的开源工具包,用于绘制DOT语言脚本描述的图形。
Graphviz 下载安装(Windows)
Graphviz 官网
命令行界面,输入dot -version,安装成功
配置环境变量
路径"C:\Program Files (x86)\Graphviz2.38\bin",加入到系统变量Path中,结束。
教程
使用Graphviz画状态机转移图太爽了,强力推荐。简单易学,通俗易懂
digraph FSM {
label = "Gluttonous Snake FSM State Transition Diagram"
S0_FD[label = "S0->FD" shape = ellipse style=filled]
S1_TL[label = "S1->TL" shape = ellipse]
S2_TR_FD[label = "S2->TR&FD" shape = ellipse]
S3_TL_FD[label = "S3->TL&FD" shape = ellipse]
S4_OVER[label = "S4->OVER" shape = ellipse]
S0_FD -> S1_TL [label = "(SL|SR|SF)&(~FOOD)" ]
S0_FD -> S0_FD [label = "(~SL)&(~SR)&(~SF)&(~FOOD)" color=blue]
S0_FD -> S4_OVER [label = "FOOD" shape = circle]
S1_TL -> S1_TL [label = "(SL|SR|SF)&(~FOOD)"]
S1_TL -> S2_TR_FD [label = "(~SL)&(~SR)&(~SF)&(~FOOD)"]
S1_TL -> S4_OVER [label = "FOOD"]
S2_TR_FD -> S2_TR_FD [label = "(~SR)&(~FOOD)"]
S2_TR_FD -> S3_TL_FD [label = "(SR)&(~FOOD)"]
S2_TR_FD -> S4_OVER [label = "FOOD"]
S3_TL_FD -> S3_TL_FD [label = "(~SL)&(SR|SF)&(~FOOD)"]
S3_TL_FD -> S2_TR_FD [label = "(~SL)&(~SR)&(~SF)&(~FOOD)"]
S3_TL_FD -> S4_OVER [label = "FOOD"]
}
推荐阅读
-
Graphviz可视化决策树框架(生成决策树、可视化树)
-
可视化决策树:GraphViz's executables not found 报错解决方案
-
DecisionTree决策树算法及参数详解+实例+graphviz生成决策树
-
pydotplus.graphviz.InvocationException: 报错解决
-
pydotplus.graphviz.InvocationException: 报错解决
-
windows下Graphviz安装及入门教程的实现方法
-
Graphviz可视化决策树框架(生成决策树、可视化树)
-
使用keras及模型可视化pydot-ng 和 graphviz安装问题(ubuntu)
-
Anaconda3 + python3.6+graphviz-2.38+ pydotplus2.0.2 (Pycharm IDE)配置图文详细教程
-
ImportError: Failed to import pydot. You must install pydot and graphviz for `pydotprint` to work.