July 17th, 2002, 11:08 AM
Flowchart programs for event-driven code?
Are there any programs that are suited for event-driven code?
Also, is there an easy way to get the shapes need for a condition all at once? (A Diamond with connectors on 2 of its points, and possibly 2 rectanglular boxes)?
I have Visio 2000.
If it can't be done out of the box, how would one go about creating code that would do this for you if say.. shift was pressed when you added a diamond?
Would getting Visio 2002 help?
And one last question... does anyone know how to change the shape of a shape? I don't mean changing it's points through drawing, but just changing the preset shape to another preset shape. Like a parallelogram to a rectangle?
July 17th, 2002, 11:29 AM
I'm not sure if I really understand what you are trying to do so I don't know if this is a good answer to your question.
If I was going to produce a flowchart based upon user actions (key presses, mouse clicks, etc.) and I needed to programatically change shapes from one shape to another, I would write a program that used a flowchart control that I had complete control over through an API.
For example: http://www.lassalle.com/features.htm
Based upon the actions of the user, I would send commands to the control to produce the flowchart.
July 17th, 2002, 12:48 PM
I was asking different questions, but they all pertained to program design.
I was talking about an environment that would help you design your program. With standard flowcharting, I don't know how you would show your event that triggers your code, it seems like it's mainly used for langauges that do not have events. I was wondering if there was something that works better.
Maybe there isn't anything developed like this. But say you had code that would print a report when a button is clicked. How would you flowchart the OnClick Event?
I will try to clearify again if necessary.
July 17th, 2002, 01:47 PM
My mistake. I read your question backwards and thought you were trying to use code to produce a flowchart. Instead you want to flowchart a program design and have the code generated for you.
I think you would want to look for UML tools or the UML features of Visio. Visio Professional & Enterprise have it (click here). Or you could look at something open source like Dia (click here). If you're awash in cash, you could always try Rational's products (click here).
I've never used these, so I can't give you any good advice.
July 17th, 2002, 01:58 PM
I was hoping there was a software to develop (quicker) flowcharts that give a better representation of the events of a program. It seems that that isn't a valuable solution for coders or it would be more widespread.
I will check those out!
July 17th, 2002, 02:25 PM
Depending on what language you're programming in, here's a screenshot of what Visio can do for you (open the attached .jpg).
July 18th, 2002, 08:59 AM