WPF 的流程图控制
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/12525069/
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
Flowchart Control for WPF
提问by l46kok
I need to design a control that can create/manipulate a really simple Algorithm flow chart. It will only have conditional (if, if,else) and assignment blocks.
我需要设计一个可以创建/操作一个非常简单的算法流程图的控件。它只有条件(if、if、else)和赋值块。
Some key features that I need to implement are:
我需要实现的一些关键功能是:
- Users can freely add/manipulate/remove conditional and statement blocks on anywhere desired.
- The chart can be folded/expanded. (For instance, if I clicked on the plus button right below b=3 assignment statement, everything below would be folded)
- 用户可以在任何需要的地方自由添加/操作/删除条件和语句块。
- 图表可以折叠/展开。(例如,如果我点击 b=3 赋值语句正下方的加号按钮,下面的所有内容都会被折叠)
Are there any non-proprietary controls available for .NET that I can use? If not, what are some strategies that I should employ to tackle this problem?
是否有任何可用于 .NET 的非专有控件可供我使用?如果不是,我应该采用哪些策略来解决这个问题?


回答by Eirik
Have a look at Diagram Designer. You should be able to use it for inspiration/help to create a flow chart control that suit your needs.
看看图表设计器。您应该能够使用它来获得灵感/帮助来创建适合您需求的流程图控件。
回答by Eric
Have you considered hosting the WorkflowDesigner?
您是否考虑过托管WorkflowDesigner?
回答by kenny
Another non-free WPF tool for the job http://www.nwoods.com/
另一个用于该工作的非免费 WPF 工具http://www.nwoods.com/
回答by Seth Greenstein
By non-proprietory do you mean free? You may want to check out Add Flow http://www.lassalle.com/
非专有是指免费吗?您可能想查看添加流 http://www.lassalle.com/
Its not free , but well worth it.
它不是免费的,但非常值得。

