Generate dynamic flow-chart

ⅰ亾dé卋堺 提交于 2019-12-04 12:07:30

问题


We are looking for some code/component that can create a flow-chart (image) dynamically, preferably in .NET/C# (although a Silverlight/Flash-component that takes a XML/JSON-feed will also be fine).

For example we have a (business) quote that goes through te following steps before it becomes final:

Requested -> Pending -> Ready for revision -> Under revision -> Final

And as an extra step there is the possibility to go from 'Under revision' back to 'Pending'.

So the component/code should draw something like this (where 'Under revision' would be the active status for this quote):

Example chart http://www.wowtah.nl/flowchart-example.gif The reason that we are not just creating static GIF-images (and load the correct one on demand) is that these steps can vary per customer implementation of our product. So we're looking for a way of dynamically show the user the workflow steps that are configured for them.

Any help would be greatly appreciated!


回答1:


Take a look at Microsoft MSAGL




回答2:


I built a workflow solution a while back and evaluated a number of diagramming controls, including the MindFusion control. I settled on the Syncfusion diagram control, primarily for its ease of use for an end user (especially when drawing connections).

I'm using the WPF edition, but they make editions for ASP.Net and WinForms. It has methods for exporting to images.

These are some of the components that I can remember evaluating; I'd recommend giving them a shot and seeing which you like best.

Syncfusion, NWoods, yWorks, Nevron, EasyDiagram




回答3:


MindFusion looks like they have some good diagramming controls that may work for you:

http://www.mindfusion.eu/diagramming.html




回答4:


In the meantime there are also open source diagramming libraries that you can find on Codeplex and Google code.

A very deep one with many features and very flexible is

http://nshape.codeplex.com/

Perhaps easier to program but more limited in scope

http://www.dalssoft.com/diagram/



来源:https://stackoverflow.com/questions/1710642/generate-dynamic-flow-chart

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!