Hello, I'm developing a webapp and I would like to allow users to build their own logic flow diagrams and apply the business logic they put in the diagram for their account.
For example a very simple diagram would be smth. like:
Is user 1st login:
-> yes -> assign user role "new visitor"
-> no -> remove user role "new visitor"
Of course an actual diagram will be much more complex. Note that the "roles" part is done already (so there are a lot of roles with diffrent behaviours for the users that have those roles). So I just need a way to deal with the triggers/decisional blcoks. My idea was to allow clients to build their own diagrams.
Of course I could do this with standard web-forms, but that would become very cumbersome to read, so I was thinking to offer them a GUI (somehow simillar to yahoo pipes) and then have the application acctually "read" the diagram and apply the business logic.
Given the webapp specific (whitelabel solution with a lot of clients) I need to allow clients to do this, rather than hardcode each diagram/behaviour in the code.
So, is there any tool/framework that I could look into or do I need to build all this from scratch?
LE: http://code.google.com/p/blockly/ seems to be the closest thing I could find, but I'm not sure if this can be adjusted/adapted to have more of an UML style design.