VS中对象树的可视化
我正在实现 SPA 树算法,并正在寻找一个 Visual Studio 插件,可以让我在调试/运行时可视化对象及其关系。
可视化如下:
[0]-----[1]
| \ /
[2] \ /
| [4]
[3] | \
\ | [6]
\[5]
有什么想法吗?
I am implementing a SPA tree algorithm and is looking for a Visual Studio plug-in that let me visualize objects and their relationships in debug/runtime.
Visualization like:
[0]-----[1]
| \ /
[2] \ /
| [4]
[3] | \
\ | [6]
\[5]
Any ideas?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
DGML,查看示例 这里。您可以自己编写它,它基于 XML。您只需在 Visual Studio 2010 中打开它即可,不需要任何加载项。您可以通过添加 - 新项目 - 直接图形文档创建一个。它还有一种查询语言 DGQL。
现在要查看对象层次结构,您可以使用 Architecture Explorer。但它在设计时是静态的。
您在运行时寻找什么样的关系?
DGML, see a sample here. You can author it yourself, it's based on XML. And you can just open it in Visual Studio 2010, you don't need any add-ins. You can create one from Add - New Item - Direct Graph Document. There also is a query language for it DGQL.
Now to see the objects hierarchy you can use Architecture Explorer. But it's static, at design time.
What kind of relations are you looking for at runtime?