Solved

I would like to know how to draw flowcharts and how to link them up and the ability to drag  each chart around and resize them as well as well as double clicking on them and editing the text

Posted on 2007-11-14
16
202 Views
Last Modified: 2012-05-05
I would like to now how to draw flowcharts

I would like to know how to link them up and the ability to drag  each chart around and resize them as well as well as double clicking on them and editing the text inside the boxes.

Ben
0
Comment
Question by:Alpha_AI
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
16 Comments
 
LVL 21

Expert Comment

by:developmentguru
ID: 20288805
Are you wanting to know how to write a program to do that?  Are you looking for ideas on which software works well for this?  I believe that Borland has some good software for handling dynamic flowcharts.
0
 

Author Comment

by:Alpha_AI
ID: 20288818
Yes i am looking at writing a program that does that. you see when i code loops and if nested if statements my mind gets buried and i cant seem to solve complicated loops and nested statements so i
want to build a flowchart program that allows me to draw it up and it creates the code for me. i draw the flow, it outputs the code.

Ben
0
 

Author Comment

by:Alpha_AI
ID: 20288825
cos i know what i want in a program, i can even draw a flowchart that gives me what i want but the code is harder cos that is where i get confused.

they say that if you having problems with something then you just dont understand it properly. Yes that is true but to save some times and confusing is what im really looking for.

Ben
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:Alpha_AI
ID: 20288830
i mean frustration not confusing :-)
0
 

Author Comment

by:Alpha_AI
ID: 20288846
what im after is a system that allows me to draw loops and nested if statements and it creates code for me. I am looking at using this to output PHP code, Javascript code, Delphi code, and any other language code.
But for starters it would be ideal for javascript, php and delphi which are the main ones i try to work with.

Ben
0
 
LVL 21

Expert Comment

by:developmentguru
ID: 20289025
Rather than reinventing the wheel (or perhaps so you can get a good look at what you are after) check out Borland Together at the following link.

http://connect.borland.com/together_bpmdemo_global/index.html

You will notice that not only does it allow the kind of flow charting you are talking about (UML), it also allows for business process modeling and other types.  Other tools from Borland can turn the UML into code.

The full nature of a project like you are talking about has to be defined by you.  When you egt to more specific questions, let us know.
0
 
LVL 21

Expert Comment

by:developmentguru
ID: 20289030
egt = get
0
 
LVL 21

Expert Comment

by:developmentguru
ID: 20289192
If you get the Architect version of Delphi it comes with ECO (Enterprise Core Objects) that let you build applications based on your modeling all within Delphi.  I believe the enterprise version comes with together modeling, just not the ECO.
0
 

Author Comment

by:Alpha_AI
ID: 20289208
i had a look at that borland together and its very complex, too complex for what it really is.

And i dont think it supports the other languages as well. It is java based. I think the flowchart abilities look bright
but in terms of supporting what i need its far of track.

Even if i find out how to draw the flowcharts and move them and so on and so on, i would like to know how i could create the code based on the flow charts.

ben
0
 

Author Comment

by:Alpha_AI
ID: 20289229
you see borland together in my opinion is too much. I would rather just simple create a simple flowchart program that allows me to create blocks and each block allows me to add code to it. I will be able to also create if statement blocks and loop lines that loop back.

Ben
0
 
LVL 21

Assisted Solution

by:developmentguru
developmentguru earned 150 total points
ID: 20291265
 I started looking into doing a UI for that type of manipulation and it is not a simple task.  It's not like there is a component ready to do what you are looking for.

  I would say the first step would be to get your form to paint itself with a grid so you can visually see how things are lining up.

  Then create your classes that you can place on your form, and a tool palette that you can select them from.  Clicking on your tool palette, then on your form would place a control (custom Delphi control so you have more control over how it looks and behaves).  Each type of visual control will have it's own behavior and / or appearance.  You then need to put in dragging functionality so you can place them where you want to.  If you want to use a Delphi like user interface then you will need a window to let you edit your properties.  You will need to figure out how you want to store this information to a file and reload it later.  I have skipped many of the features that the common developer would like to see, just to keep the conversation on the less complicated side.

  Even the separate pieces of what I have described are projects on their own (and we haven't even gotten to code generation).  You may want to try to start an open source project and see if you can get others to help with the planning and development.  
0
 
LVL 17

Expert Comment

by:TheRealLoki
ID: 20292082
create code from flowcharts? wow, that's pretty nifty...
I made a simple flowchart thing a while back although it was just boxes/shapes with connecting lines.
I have no idea how you'd expand on that to make code from it though...
0
 

Author Comment

by:Alpha_AI
ID: 20294932
TheRealLoki,

You couldn't happen to show me the code could u?

Nifty is the word for it.  

Ben
0
 
LVL 13

Expert Comment

by:rfwoolf
ID: 20295555
Just a small idea -- I'm only trying to help -- is to properly format and indent your code.
I too cannot see how you can create a flood of spaggheti code from a flowchart - I'd just do it manually - but if my code wasn't properly indented and formatted I'd get lost so bloody quickly.
There are various delphi extensions that format your code for you, and even EXTERNAL utilities that claim to be able to format a whole range of languages: C, VB, Pascal, PHP etc

But good luck with the flowchart to code thing.
0
 
LVL 10

Accepted Solution

by:
dinilud earned 350 total points
ID: 20296790
0
 

Author Closing Comment

by:Alpha_AI
ID: 31409279
Thanks Heaps guys
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question