问题描述
我想显示一个过程的流程图",该过程显示相对于父母而言,孩子在孩子身上所花费的时间.例如,假设我有调用MethodB和MethodC的MethodA.在方法B中,相对于方法A的时间为30%,在方法C中为70%的时间.我想显示如下内容:
I want to display a 'flow' chart of a process showing time spent in children relative to the parent. For example, say that I have MethodA which calls MethodB and MethodC. 30% of the time relative to MethodA in MethodB and 70% in MethodC. I want to display something like this:
我知道这是一个模糊的问题,因此要缩小范围,我不知道这可能是哪种图表.哪种图书馆可能提供显示此类图表的功能?
I know this is a sort of vague question, so to narrow the scope, I don't know what kind of chart this might be. What kind of Libraries might provide the capability to display this type of chart?
推荐答案
我出于相同的目的使用了 Graph#
-但这是WPF库.对您来说,好消息是它使用了 QuickGraph
( http://quickgraph.codeplex.com/)库内部,您可以在该库中搜索以查看是否有任何代码可以用作winforms的一部分.
I've used Graph#
for same purpose - but this is a WPF library. Good news for you is that it usesQuickGraph
(http://quickgraph.codeplex.com/) library internally and you can google around that library to see whether there is any code for it to be used as part of winforms.
这篇关于如何创建呼叫者/被呼叫者图?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!