visual-studio 来自源文件的流程图生成器
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/3975159/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Flow chart generator from source files
提问by Sharique
I'm searching for a tool that let me generate a flow chart for a given project. It is difficult understand others code by looking at code, a flow chart can be very helpful.
我正在寻找一种工具,可以让我为给定的项目生成流程图。通过查看代码很难理解其他代码,流程图可能会很有帮助。
My Project is in VS 2010 Professional Edition.
我的项目是 VS 2010 专业版。
回答by Paul McMillan
The Visual Studio Learning Packhas a flowchart generator, but unfortunately, it only works with the 2008 editions.
Visual Studio 学习包有一个流程图生成器,但不幸的是,它只适用于 2008 版。
What you probably actually want are called Sequence Diagrams. This functionality is built into VS 2010 Ultimate Edition.
您可能真正想要的是所谓的序列图。此功能内置于 VS 2010 Ultimate Edition 中。
You just right-click inside a method and select “Generate the sequence diagram” from the pop up menu.

您只需在方法内部单击鼠标右键,然后从弹出菜单中选择“生成序列图”即可。

回答by Ray
ReSharperhas a Call Trackingfeature that can display incoming and outgoing calls sequenced in an interactive, graphical tree view.
ReSharper具有呼叫跟踪功能,可以在交互式图形树视图中按顺序显示来电和去电。


It also has a similar feature for Value Trackingthat displays data flows.
它还具有用于显示数据流的价值跟踪的类似功能。



