开发者

Generic approach to create flow charts in WPF

开发者 https://www.devze.com 2023-02-16 18:20 出处:网络
I have to create an animated flow chart GUI which displays different states. Further on demand the flow chart elements are re-positioned and re-sized if the focus shifts to certain elements.

I have to create an animated flow chart GUI which displays different states. Further on demand the flow chart elements are re-positioned and re-sized if the focus shifts to certain elements.

All of this is no problem, with drawing shapes, animations, etc. provided by WPF this is an easy, though by hand and alot of manually is done.

The problem I am facing is, that there will be > 40 of these flow charts.

Is there a template mechanism o开发者_开发问答r generic approach to generalize this task?


Creating a set of user controls is the right way to deal with this problem.

The advantage is, animation and design can be encapsulated into the user control files. This way they don't polute the main application code.


There is a project called Graph# http://graphsharp.codeplex.com/ an there must be similar projects on codeplex.

0

精彩评论

暂无评论...
验证码 换一张
取 消