我需要能够以编程方式生成依赖图。我想它能够生成一串带有标签和接头盒联系起来,最好的部分将自动定位到他们设计的表面,然后可以手动重新排列。
I need to be able to generate dependency diagrams programmatically. I'd like it to be able to generate a bunch of boxes with labels and connectors linking them, and ideally the component would position them automatically onto a design surface which could then be manually rearranged.
我使用的WinForms和C#2.0(VS2005)。
I'm using Winforms and C# 2.0 (VS2005).
编辑:但是,因为这将是一个内部工具,我可以可能使用3.5 SP1和WPF是否有在这一领域的任何建议。
However, since it'll be an internal tool, I can probably use 3.5 SP1 and WPF if there any suggestions in that arena.
必须是免费或开源的。
任何建议?
推荐答案您可能想看看 GraphViz的正在被下CPL分布(即免费)。这是不完全的.NET /的WinForms,但可能是有用的反正。库的主要目的是可视化图(和依赖图是一个有效的[定向]图)。你可以用它来要么得到的图像(图布局)或点的数组(坐标为你的项目)。
You might want to take a look at GraphViz which is being distributed under CPL (i.e. free of charge). It is not exactly for .NET/WinForms but can be useful anyway. The library's main purpose is to visualize graphs (and dependency diagram is effectively a [directional] graph). You can use it to either get an image (graph layout) or an array of points (coordinates for you items).
更多推荐
免费或开源组件线图示为的WinForms
发布评论