在 .net 应用程序中嵌入流程图设计图面
我需要将流程图设计界面合并到我们正在开发的应用程序中,以允许用户创建本质上是工作流/计划的内容.我需要能够创建自己的形状",为它们设置自定义属性,并且可能还需要一些逻辑(if、while 等).
I need to incorporate a flowchart design surface into an app we're developing to allow users to create what are essentially workflows/schedules. I need to be able to create my own 'shapes', set custom properties on them and possibly have a bit of logic in there too (if, while etc).
我知道我需要看看在应用中托管 WF,它看起来很合适,但是有谁知道我可以使用的其他设计器组件.
I know I need to take a look at hosting WF in the app, it looks like a good fit, but does anyone know of other designer compoments out there I could use.
看看这些资源,都是免费的解决方案,但与商业解决方案(Mindfusion、GoDiagram)相比,它们需要你做更多的开发工作:
Have a look at these resources, both are free solutions, but compared to the commercial ones (Mindfusion, GoDiagram) they require some more development work on your side:
- WPF 图设计器 @ CodeProject(需要 WPF)
- Netron 库(无 WPF)
- WPF Diagram Designer @ CodeProject (requires WPF)
- Netron library (without WPF)