From edfc07e841b751a4c195544167f50a2ad56971e8 Mon Sep 17 00:00:00 2001 From: Haoliang Gao Date: Fri, 5 May 2017 01:24:35 +0800 Subject: [PATCH] chore: generate puml (#842) --- README.md | 1 + README.zh-CN.md | 1 + docs/plugins.puml | 31 +++++++++++++++++-------------- 3 files changed, 19 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index caba7a2a31..8a172545e2 100644 --- a/README.md +++ b/README.md @@ -45,6 +45,7 @@ Node.js >= 6.0.0 required. - [Website && Documentations](https://eggjs.org) - [Plugins](https://github.com/search?q=topic%3Aegg-plugin&type=Repositories) - [Frameworks](https://github.com/search?q=topic%3Aegg-framework&type=Repositories) +- [Plugin Dependency](http://uml.mvnsearch.org/github/eggjs/egg/blob/master/docs/plugins.puml) > All the documentations (comments, README, etc.) are in English, except the tutorials and api documentations are still [being translated](https://github.com/eggjs/egg/issues/363). > Feel free to join us and translate egg documentations. It's appreciated. diff --git a/README.zh-CN.md b/README.zh-CN.md index 0fd97e07c0..2492b38a1b 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -42,6 +42,7 @@ $ npm install egg --save - [官方站点 && 文档](https://eggjs.org/zh-cn/) - [插件列表](https://github.com/search?q=topic%3Aegg-plugin&type=Repositories) - [框架列表](https://github.com/search?q=topic%3Aegg-framework&type=Repositories) +- [插件依赖图](http://uml.mvnsearch.org/github/eggjs/egg/blob/master/docs/plugins.puml) ## 快速开始 diff --git a/docs/plugins.puml b/docs/plugins.puml index f87702f7c6..8923fcdc9a 100644 --- a/docs/plugins.puml +++ b/docs/plugins.puml @@ -1,17 +1,20 @@ - @startuml -digraph world { - "onerror"; - "session"; - "i18n"; - "watcher"; - "multipart"; - "security" -> "session"; - "development" -> "watcher"; - "logrotator" -> "schedule"; - "schedule"; - "static"; - "jsonp" -> "security"; - "view"; +digraph plugins { + onerror + session + i18n + watcher + multipart + security + development + logrotator + schedule + static + jsonp + view + security -> session + development -> watcher + logrotator -> schedule + jsonp -> security [style=dotted] } @enduml