{"id":221961,"date":"2021-07-19T08:16:21","date_gmt":"2021-07-19T00:16:21","guid":{"rendered":"https:\/\/lrxjmw.cn\/?p=221961"},"modified":"2021-07-07T11:16:54","modified_gmt":"2021-07-07T03:16:54","slug":"cloud-system-architecture","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/cloud-system-architecture.html","title":{"rendered":"\u51e0\u884c\u4ee3\u7801\u5c31\u641e\u5b9a\u9ad8\u7aef\u5927\u6c14\u7684\u4e91\u7cfb\u7edf\u67b6\u6784\u56fe"},"content":{"rendered":"
\u5bfc\u8bfb<\/td>\n | \u60f3\u77e5\u9053\u5982\u4f55\u7528Python\u4ee3\u7801\u7ed8\u5236\u51fa\u4e91\u7cfb\u7edf\u67b6\u6784\u56fe\uff0c\u90a3\u4e48\uff0c\u4eca\u5929\u733f\u59b9\u8981\u548c\u5927\u5bb6\u5206\u4eab\u7684\u8fd9\u4e2a\u5f00\u6e90\u9879\u76ee\u4f60\u4e00\u5b9a\u559c\u6b22\u2014\u2014diagrams\u3002<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n \u60f3\u77e5\u9053\u5982\u4f55\u7528Python\u4ee3\u7801\u7ed8\u5236\u51fa\u4e91\u7cfb\u7edf\u67b6\u6784\u56fe\uff0c\u90a3\u4e48\uff0c\u4eca\u5929\u733f\u59b9\u8981\u548c\u5927\u5bb6\u5206\u4eab\u7684\u8fd9\u4e2a\u5f00\u6e90\u9879\u76ee\u4f60\u4e00\u5b9a\u559c\u6b22\u2014\u2014diagrams\u3002 \u9664\u6b64\u4e4b\u5916\uff0c\u5982\u679c\u4f60\u719f\u6089Go\uff0c\u4f60\u53ef\u4ee5\u4f7f\u7528go-diagrams\u3002(\u9879\u76ee\u5730\u5740\uff1ahttps:\/\/github.com\/blushft\/go-diagrams)<\/p>\n <\/p>\n \u76ee\u524d\uff0cdiagrams\u5df2\u7ecf\u5728Github\u4e0a\u6807\u661f14.5K\uff0c\u7d2f\u8ba1\u5206\u652f 795 \u4e2a(Github\u5730\u5740\uff1ahttps:\/\/github.com\/mingrammer\/diagrams)<\/p>\n \u5b89\u88c5\u8981\u6c42<\/strong><\/div>\n diagrams\u652f\u6301Python 3.6\u53ca\u4ee5\u4e0a\u7248\u672c\uff0c\u5b83\u662f\u4f7f\u7528Graphviz\u6765\u6e32\u67d3\u56fe\u8868\uff0c\u56e0\u6b64\u60a8\u9700\u8981\u5b89\u88c5 Graphviz\u624d\u80fd\u4f7f\u7528\uff0c\u9996\u5148\u786e\u4fdd\u8fd9\u4e24\u9879\u7b26\u5408\u8981\u6c42\u4e4b\u540e\uff0c\u624d\u53ef\u4ee5\u5b89\u88c5diagrams\u3002macOS\u7528\u6237\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u65b9\u5f0f\u4e0b\u8f7dGraphviz\uff1a<\/p>\n \r\n# using pip (pip3) \r\n$ pip install diagrams \r\n \r\n# using pipenv \r\n$ pipenv install diagrams \r\n \r\n# using poetry \r\n$ poetry add diagrams\r\n<\/pre>\n |