JSDoc UML图 [英] JSDoc UML Diagram

查看:95
本文介绍了JSDoc UML图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

问题: 我正在编辑和使用一个开放源代码的JavaScript库,该库的代码中包含JSDoc标签.我想知道是否有人知道可以使用JSDoc标记生成类图的JSDoc插件.

Question: I'm editing and using an open source javascript library that has JSDoc tags in its code. I was wondering if anyone knew of a JSDoc plugin that would allow me to generate a class diagram from the JSDoc tags.

编辑 我决定尝试 js/uml 并发现以下内容. JS/UML eclipse扩展需要Eclipse(Indigo)的旧版本和不受支持的依赖库UML2tools.我找到了所需的依赖关系,并根据Eclipse软件管理器正确安装了.当我尝试启用uml功能(已配置js根目录)时,该过程将挂起.小组提供的示例指向单个文件Javascript.似乎在引用多个文件时遇到麻烦.

Edit I decided to try out js/uml and found the following. The JS/UML eclipse extension requires an older version of Eclipse (Indigo) and a non-supported dependency library UML2tools. I found the dependencies needed and according to the Eclipse software manager installed correctly. When I tried to enable the uml functionality (having configured the js root), the process would hang. The examples that the group supplies points at single file Javascript. Seems to have trouble with multiple files being referenced.

推荐答案

您可以使用doxygen工具,它提供了元数据来生成uml类图

you can use doxygen tools , it provides metadata to generate uml class diagram

http://plantuml.sourceforge.net/doxygen.html

这篇关于JSDoc UML图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆