1.按照官方教程设置

2.如果还不显示,在不显示的汉字前面加上一个“空格”,汉字就会正常显示。

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"];
}

 

 

相关文章:

  • 2021-12-19
  • 2021-08-20
  • 2022-12-23
  • 2022-12-23
  • 2021-10-05
  • 2021-05-02
猜你喜欢
  • 2022-12-23
  • 2021-11-27
  • 2022-02-10
  • 2021-11-25
  • 2022-12-23
  • 2021-08-24
  • 2022-12-23
相关资源
相似解决方案