
正文
Graphviz(02) 汉字subgraph不显示汉字的处理
提示:扫一扫查出行【扫一扫了解最新限行尾号】
复制提示
1.按照官方教程设置
2.如果还不显示,在不显示的汉字前面加上一个“空格”,汉字就会正常显示。
digraph idp_modules{ rankdir = TB;
fontname = "Microsoft YaHei";
fontsize = ; node [ fontname = "Microsoft YaHei", fontsize = , shape = "record" ];
edge [ fontname = "Microsoft YaHei", fontsize = ]; 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"];
}





