创建工作流设计器 [英] Creating a Workflow Designer

查看:99
本文介绍了创建工作流设计器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我在.Net中开发了一个小型工作流引擎,它以xml

配置的形式存储。现在我们没有任何图形设计器,所以我们通过简单的基于网格的配置来实现它。但是现在我想创建一个带有拖动和

drop facilty的工作流设计器,以使最终用户更容易配置它。

但我不知道从哪里开始以及我可以使用的所有东西。如果有人有这方面的知识

请与我分享并解释我如何实现这一点。



在预先感谢

Hi,
I have developed a small Workflow Engine in .Net which gets stored in the form of xml
configuration. Right now we don't have any graphical designer for it so we do it through a
simple grid based configuring. But now I want to create a Workflow Designer with drag and
drop facilty to make it easier and more interative for end user to configure it.
But I have no clue from where to start and what all things I can use. If anyone has knowledge
about this please share it with me and explain me how can I implement this.

Thanks in Advance

推荐答案

几年前我曾经开发过Workflow Designer(加上一些功能关闭的组件,比如2D CAD,绘图等) - 它是Borland Delphi。根据我的经验,我会使用WPF,但是你需要.NET Framework 3.5或4.0。

请看我之前的回答 - 这个问题:如何使用C#绘制2D线图? [ ^ ]。在那个答案中,我概述了所涉及的内容。使用v.2.0,您将被绑定到 System.Windows.Forms ,我也会考虑这个。



你也可以尝试找一些可以帮助你的组件库。在这一刻,我不知道我真正喜欢什么,但也许这是因为我记住使用好的模式,所以我会从头开始。与传统的渲染/绘图方法相比,WPF非常强大,更加面向图表。
I used to develop Workflow Designer few years ago (plus some components close in functionality, such as 2D CAD, plotting, etc.) -- it was Borland Delphi. Based on my experience, I would use WPF, but then you need .NET Framework 3.5 or 4.0.
Please see my previous answer -- to this question: How to draw a 2D line plot using C#?[^]. In that answer I overview what's involved. With v.2.0 you're bound to System.Windows.Forms, which I also consider.

You could also try and find some component library which could help you. At this moment I don't know anything I really like, but maybe this is because I keep in mind nice patterns to use, so I would do it from scratch. WPF is really powerful and much more oriented to diagramming compared to traditional rendering/drawing approach.


除了SAKryukov提出的综合解决方案,你可以考虑

重新托管工作流程设计器

[ ^ ],它可能更容易:)



问候

Espen Harlinn
In addition to the comprehensive solution proposed by SAKryukov, you could consider
Re-Hosting the Workflow Designer
[^], it might be easier :)

Regards
Espen Harlinn


这篇关于创建工作流设计器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆