I am looking for an opensource product or some code examples of how I might design either a Java or HTML based GUI to design message flows.
One would add nodes/entities to the diagram and then messages that would flow between entities. The properties of the nodes and entities could then be modified.
The reason I want to extend something open source or code it from scrath is that I have numerous formats that i want to export the data in such as :
- An image of the flow for use in documentation.
- Human readable description of the message flow.
- A test script to simulate the flow.
In an ideal world this would eventually be an Eclispe plug-in which is why I'd like it to be done using a sutable Java GUI framework however if a tool exists that could export message flows in a good structured langauge (XML) I guess my tool could just import this and convert to the other formats required.
Any ideas?
Eclipse GMF is a good choice, but it is quite hard once you start putting in advanced features.
Take a look at the jboss jpdl designer. I think it is built on top of an extensible core library for graph modeling. I know for a fact that jBPM is built like that, so this one also might be built along the same lines. If it is so, you should be able to reuse the core library.
精彩评论