Data Flow Object Graph and An Execution Engine for it

Posted by M Dotnet on Stack Overflow See other posts from Stack Overflow or by M Dotnet
Published on 2012-06-04T22:31:47Z Indexed on 2012/06/04 22:40 UTC
Read the original article Hit count: 311

Filed under:
|

I would like to build a custom workflow engine from scratch. The input to this workflow is a data flow diagram which is composed of a series of activities connected together through lines where each each represent the data flow. Each activity can export multiple outputs.

Activities are complex math functions but the logic is hidden from the user.

My workflow engine job is to execute the given data flow diagram. Each activity within the data flow diagram is a custom activity and each activity can output different outputs.

  1. How do you suggest to model the data flow diagram object? I need to be able to construct the data flow diagram problematically (no need for drag and drop) but I need to display the final result graphically (for display and debugging purposes). Are there any libraries out there that I could use? Should I keep the workflow presentable as an xml?

  2. I know that there are many projects out there trying to essentially doing similar thing by building such workflow engines but I need something light weight and open source. I do not need any state machine execution engine and mine is primarily sequential workflow with fork and join capabilities. My activities are wrappable as basic C# classes and I do NOT want to use anything as heavy as .NET workflow foundation.

© Stack Overflow or respective owner

Related posts about .NET

Related posts about Workflow