欧卡2中文社区

 找回密码
 立即注册

QQ登录

只需一步,快速开始

需要三步,才能开始

只需两步,慢速开始

欧卡2入门方向盘选莱仕达V9莱仕达折叠便携游戏方向盘支架欢迎地图Mod入驻
查看: 6321|回复: 3
收起左侧

流程图

[复制链接]
oppo 发表于 2015-5-27 16:43 | 显示全部楼层 |阅读模式
[gv=dot]digraph idp_modules{
rankdir = TB;
fontname = "Microsoft YaHei";
fontsize = 12;
  
node [ fontname = "Microsoft YaHei", fontsize = 12, shape = "record" ];
edge [ fontname = "Microsoft YaHei", fontsize = 12 ];
  
     subgraph cluster_sl{node [ fontname = "Microsoft YaHei", fontsize = 12, shape = "record" ];
edge [ fontname = "Microsoft YaHei", fontsize = 12 ];
         label="IDP支持层";
         bgcolor="mintcream";
         node [shape="Mrecord", color="skyblue", style="filled"];
         network_mgr [label="Network Manage"];
         log_mgr [label=" 日志管理器"];
         module_mgr [label=" 模块管理器"];
         conf_mgr [label=" 配置管理器"];
         db_mgr [label= " 数据库管理器"];
     };
  
     subgraph cluster_md{
node [ fontname = "Microsoft YaHei", fontsize = 12, shape = "record" ];
edge [ fontname = "Microsoft YaHei", fontsize = 12 ];
         label="可插拔模块集";
         bgcolor="lightcyan";
         node [color="chartreuse2", style="filled"];
         mod_dev [label=" 开发支持模块"];
         mod_dm [label=" 数据建模模块"];
         mod_dp [label= " 部署发布模块"];
     };
  
mod_dp -> mod_dev [label="依赖..."];
mod_dp -> mod_dm [label="依赖..."];
mod_dp -> module_mgr [label="安装...", color="yellowgreen", arrowhead="none"];
mod_dev -> mod_dm [label="依赖..."];
mod_dev -> module_mgr [label="安装...", color="yellowgreen", arrowhead="none"];
mod_dm -> module_mgr [label="安装...", color="yellowgreen", arrowhead="none"];
  
}[/gv]

代码:

digraph idp_modules{
rankdir = TB;
fontname = "Microsoft YaHei";
fontsize = 12;
  
node [ fontname = "Microsoft YaHei", fontsize = 12, shape = "record" ]; 
edge [ fontname = "Microsoft YaHei", fontsize = 12 ];
  
     subgraph cluster_sl{
         label="IDP支持层";
         bgcolor="mintcream";
         node [shape="Mrecord", color="skyblue", style="filled"];
         network_mgr [label="网络管理器"];
         log_mgr [label="日志管理器"];
         module_mgr [label="模块管理器"];
         conf_mgr [label="配置管理器"];
         db_mgr [label="数据库管理器"];
     };
  
     subgraph cluster_md{
         label="可插拔模块集";
         bgcolor="lightcyan";
         node [color="chartreuse2", style="filled"];
         mod_dev [label="开发支持模块"];
         mod_dm [label="数据建模模块"];
         mod_dp [label="部署发布模块"];
     };
  
mod_dp -> mod_dev [label="依赖..."];
mod_dp -> mod_dm [label="依赖..."];
mod_dp -> module_mgr [label="安装...", color="yellowgreen", arrowhead="none"];
mod_dev -> mod_dm [label="依赖..."];
mod_dev -> module_mgr [label="安装...", color="yellowgreen", arrowhead="none"];
mod_dm -> module_mgr [label="安装...", color="yellowgreen", arrowhead="none"];
  
}

知行 发表于 2015-6-9 20:17 | 显示全部楼层
[gv=dot]
digraph {
  "A" [shape="circle"];
  "B" [shape="rectangle"];
  "C" [shape="diamond"];

  "A" -> "B" [label="A to B"];
  "B" -> "C" [label="B to C"];
  "A" -> "C" [label="A to C"];
}[/gv]

代码:
digraph {
  "A" [shape="circle"];
  "B" [shape="rectangle"];
  "C" [shape="diamond"];

  "A" -> "B" [label="A to B"];
  "B" -> "C" [label="B to C"];
  "A" -> "C" [label="A to C"];
}
知行 发表于 2015-6-11 02:11 | 显示全部楼层
[gv=dot]digraph G{fontname="SimSun";"中a文"->"英文";}[/gv]
回复 打印

使用道具 举报

知行 发表于 2015-6-11 02:15 | 显示全部楼层
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

联系我们|手机版|欧卡2中国 ( 湘ICP备11020288号-1 )

GMT+8, 2024-11-25 13:43 , Processed in 0.074280 second(s), 10 queries , Redis On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表