C#.NET基于文档的应用操作图 [英] C# .NET Document Based Application manipulating Diagrams

查看:95
本文介绍了C#.NET基于文档的应用操作图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想开发新的应用程序中,用户可能需要创建描绘流程图表的能力。我认为,在这种情况下,基于文件的应用程序是我唯一的选择。我熟悉C#.NET,C ++ MFC和J2EE。

根据您的经验,这是实现这一目标的最佳方式,我应该专注于哪个平台?

图必须包含框和箭头连接。或多或少类似的EPC图在Visio的区别在于,而一个进程正在运行,该图必须present一些视觉效果的进展情况。例如闪烁的拖曳或改变箭头的颜色

我知道,这是不是很清楚,但如果有人可以帮助我将非常感激。

感谢你在前进

解决方案

有很多图表在Java和.NET选项。我想这取决于你是想实现以哪一个更好。如果你想保持你的主要应用MFC,你可以试试这个:的 http://weblogs.thinktecture.com/cnagel/2010/04/mfc-and-wpf-interop.html

我会建议重新考虑MFC或至少杂交它与Windows 8听起来像它可能掉落或模仿win32的,因为它的目标是成为多architectured。 (我有这个没有确认,我不是affilated与微软,但startegically我认为这是一个更安全的赌注捡东西更容易获得持续的支持。)。

有关Java的:

  1. 在主流的Java库 http://www.jgraph.com/jgraph.html
  2. 在许多图书馆列表的http://www.manageability.org/blog/stuff/open-source-structured-graphics-libraries-in-java
  3. http://www.piccolo2d.org/

有关.NET:

  1. 纯WPF。 (见本免费开源的例子: HTTP://www.$c$cproject .COM / KB / WPF / WPFDiagramDesigner_Part4.aspx )。正如其他人所说,这是一个非常强有​​力的候选人。 2 Windows工作流设计(这是可以重新托管。我选了这个东西,我做的这是非常非常灵活和强大,除非你想可执行图可能矫枉过正,如果有兴趣请参阅:。.NET 4的更新1的的StateMachine图表类型)。
    1. 在有偿的,高性能的选项: http://visualizationtools.net/default/large-diagrams/

我会建议纯WPF的做法,但是,我对WPF的偏见。你有没有考虑JavaScript的图表选项?这可能是一种选择,很容易与任何整合和将是最有可能的是在technolgies未来而言有所未来证明。

I would like to develop a new application in which the user might have the ability to create diagrams that depict processes. I think in this case a document based application is the only option that I have. I am familiar with C# .net, C++ MFC and J2EE.

From your experience, which is the best way to accomplish this and which platform should I focus on?

Diagrams must consist of boxes and arrow connections. More or less something like EPC diagram in Visio with the difference being that while a process is running, the diagram must present the progress with some visual effects. For instance flashing boxes or changing the color of arrows.

I know that it is not very clear but if anyone could help I would be very thankful.

Thank you in advance

解决方案

There are lots of diagramming options in both Java and .NET. I think it depends on what you are wanting to achieve as to which one is better. If you wanted to keep your main application MFC you could try this: http://weblogs.thinktecture.com/cnagel/2010/04/mfc-and-wpf-interop.html .

I would recommend reconsidering MFC or at least hybridizing it as Windows 8 sounds like it might drop or emulate win32, since its aiming to be multi architectured. (I have no confirmation of this, and am not affilated with Microsoft, but startegically I think it is a safer bet to pick something more likely to get continued support.).

For Java:

  1. A mainstream java library http://www.jgraph.com/jgraph.html
  2. A list of many libraries http://www.manageability.org/blog/stuff/open-source-structured-graphics-libraries-in-java
  3. http://www.piccolo2d.org/

For .NET:

  1. Pure WPF. (see this Free open source example: http://www.codeproject.com/KB/WPF/WPFDiagramDesigner_Part4.aspx). As others have mentioned this is a very strong candidate. 2 Windows Workflow designer (this can be rehosted and I chose this for something I was doing. It is very very flexible and powerful. Probably overkill unless you want executable diagrams. If interested see: .net 4 update 1's StateMachine diagram type).

    1. A paid, high performance option: http://visualizationtools.net/default/large-diagrams/

I would recommend the Pure WPF approach, however, I am bias towards WPF. Have you considered javascript diagramming options? This could be an option that is easy to integrate with anything and would be the most likely to be somewhat future proof in terms of the technolgies future.

这篇关于C#.NET基于文档的应用操作图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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