如何从 graphviz/doxygen 中排除私有方法?
我有 doxygen/graphiz 对于我的 java 代码运行得很好(通过向导),但是设置 EXTRACT_PRIVATE = NO
似乎只与文档相关,而不与图形相关。当使用UML_LOOK = YES
时,它包含私有方法。
有没有办法通过 graphviz 创建点协作/类图,但不包含私有方法,因为图很大?
如果我设置 UML_LOOK = NO
它只会生成带有类名的基本类图,并且外观不是我想要的。
I have doxygen/graphiz running just fine for my java code (via the wizard), but the setting EXTRACT_PRIVATE = NO
seems to only relate to the documentation, not the graphing. When using UML_LOOK = YES
it includes private methods.
Is there a way to create dot collaboration/class diagrams via graphviz but no include private methods as the diagrams are massive?
If I set UML_LOOK = NO
it only produces basic class diagrams with the class name and the look isn't what I want.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
![扫码二维码加入Web技术交流群](/public/img/jiaqun_03.jpg)
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
恐怕使用 UML_LOOK 是不可能的(或者如果是的话,我还没有找到如何实现)。
您可以生成自己的点图或使用稍微强大/适应性更强的工具,例如 PlantUML。您需要做更多的工作,但显然您会得到您想要的。
I'm afraid this is not possible using UML_LOOK (or if it is, I have yet to find out how).
You could generate your own dot diagrams or use a slightly more powerful/adapted tool, like PlantUML. It's a lot more work on your part, but you'll obviously get what you want.