I am working to redevelop a desktop application software (*.exe) that currently uses third party software to draw the sequence diagram but it is messy if the diagram is large.
Problem: I want to be able to create a sequence diagram (with nodes and connections etc) but allow the user to 'play'
with it when its been rendered. E.g. they can grab a node and move it
but it will the stay connected to the graph the connections simply
move with it as if attached. I have never used the drawing features before, my first thought was to embed flash and program it with
flash action script - but this is probably unnecessary in a windows application?
How would you tackle this?
Links, comments, advice all welcome and appreciated.Thanks
Bryan
ChrisPosted Mar 25, 2008, 12:30 PM
You should make classes that will represent a shape/s in your diagram.
This class will contain methods to draw your shape (maybe using a GraphicsPath), and also contain some sort of collection to store information about how nodes are linked.
Im currently doing something similar and I can tell you, that it does require more effort than you first think.
Be prepared to spend a lot of time on this project!
Chris.