VS中对象树的可视化

发布于 2024-09-01 15:32:17 字数 192 浏览 3 评论 0原文

我正在实现 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

一紙繁鸢 2024-09-08 15:32:17

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?

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文