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

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
Alpha_AIAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
diniludConnect With a Mentor Commented:
0
 
developmentguruPresidentCommented:
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
 
Alpha_AIAuthor Commented:
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
Learn to develop an Android App

Want to increase your earning potential in 2018? Pad your resume with app building experience. Learn how with this hands-on course.

 
Alpha_AIAuthor Commented:
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
 
Alpha_AIAuthor Commented:
i mean frustration not confusing :-)
0
 
Alpha_AIAuthor Commented:
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
 
developmentguruPresidentCommented:
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
 
developmentguruPresidentCommented:
egt = get
0
 
developmentguruPresidentCommented:
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
 
Alpha_AIAuthor Commented:
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
 
Alpha_AIAuthor Commented:
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
 
developmentguruConnect With a Mentor PresidentCommented:
 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
 
TheRealLokiSenior DeveloperCommented:
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
 
Alpha_AIAuthor Commented:
TheRealLoki,

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

Nifty is the word for it.  

Ben
0
 
rfwoolfCommented:
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
 
Alpha_AIAuthor Commented:
Thanks Heaps guys
0
All Courses

From novice to tech pro — start learning today.