Questions tagged [flowchart]

34 questions
16
votes
2 answers

Draw a Call Graph

I'm maintaining an old code base written in python. In particular there is a complex piece of code that from a module calls other functions from other modules that call other functions and so on. It is not OOP, just functions and modules. I've tried…
Leonardo
  • 261
  • 1
  • 2
  • 5
16
votes
8 answers

Under what circumstances are flowcharts still a valuable and useful tool?

When I first started programming, I relied heavily on flowcharts (and printer spacing charts). While I was in COBOL class, I couldn't start writing any code until my flowchart was signed off by the instructor. Back then, I had to make flowchart for…
13
votes
2 answers

Flowcharting and Method Calls

I am doing out some flow charts and am wondering if I am approaching this correctly. In essence, I have several method calls and I am flowcharting each separately. However, several of these methods make a method call for some info and then…
Keith Barrows
  • 303
  • 1
  • 2
  • 8
10
votes
3 answers

Documenting a REST interface with a flowchart

Does anybody have suggestions on creating a flowchart representation of a REST-style web interface? In the interest of supplying thorough documentation to co-developers, I've been toying around in dia modeling the interface for modifying and…
James Kassemi
  • 203
  • 1
  • 2
  • 5
10
votes
9 answers

When would I use pseudocode instead of flowchart?

I'm a student working with various techniques of programming, and I've come across pseudocode and flowchart. I know that these are both used in order to think through the problem before actually programming, but I have a few questions with…
kullalok
  • 1,075
  • 3
  • 9
  • 10
6
votes
3 answers

How can I represent a flowchart, complete with conditional logic using JSON or XML?

One part of a project I'm working on is interactive scripts for call centre staff. Pretty much every possibility I can think of in this case can be represented on paper as a flowchart, which is why I'll be making an interactive "script builder" that…
leylandski
  • 407
  • 1
  • 3
  • 14
5
votes
4 answers

What is a good way to brainstorm algorithms on a computer?

I'm looking for something that allows me to work out an algorithm on a computer similar to how I would do it on a whiteboard. At work, I have a huge whiteboard that I can use for this, but at home, I don't (and can't). This makes it difficult to…
Chinmay Kanchi
  • 6,173
  • 2
  • 39
  • 51
5
votes
3 answers

Parallel process flowchart shape in Draw.io

Our drawing tool is draw.io. Occassionally I've got to draw flow charts with it. In those flow charts I've got to express parallel processes (very similar to this UML example). Wikipedia says about flow charts: Parallel Mode is represented by two…
OneWorld
  • 292
  • 1
  • 2
  • 6
5
votes
1 answer

Can a flow diagram have more than one start?

I'm drawing a flow diagram which should visualize the communication between 4 services I created. Now I've got a question I'm not quite sure about. There are two ways the services could be started. Is it allowed to have multiple starting-points in a…
Mirco
  • 651
  • 1
  • 7
  • 11
5
votes
4 answers

What types of processes have to be reflected in flowchart?

In visual programming, there are many events which support our application tasks. So, along with user defined processes, should these also be in flowchart or not? What about the constructors of classes, are they supposed to be shown in flowchart or…
Itz.Irshad
  • 161
  • 5
4
votes
1 answer

Representing a user event in a flow chart

I was wondering which symbol should be used for representing a user event (i.e. button click). seems like it should suffice, but isn't a user click technically ?
samus
  • 465
  • 1
  • 5
  • 13
4
votes
1 answer

What is the best approach to getting to know a big system like a CMS or forum system which has no documentation?

My problem is the following; I need to get to know a totally new system, for example Wordpress, Drupal, or a framework like Symfony, or maybe a big forum system like PhpBB. Let's suppose it has no documentation at all, but the code is good. What I…
kissgyorgy
  • 184
  • 6
4
votes
6 answers

Diagram that could explain a state machine's code?

We have a lot of concepts in making diagrams like UML and flowcharting or just making up whatever boxes-and-arrows combination works at the time, but I'm looking at doing a visual diagram on something that's actually really complex. State machines…
Incognito
  • 3,458
  • 2
  • 25
  • 38
3
votes
1 answer

Flow Chart - While Loops process

I'm having difficulties understanding whether or not this is the right process to use for a flow chart which illustrates the processes involved in an algorithm. For this, assume the following: A 1D X = [0, 1, 2, 3,........] data block is split into…
Phorce
  • 209
  • 1
  • 5
  • 9
2
votes
2 answers

In a flow chart, is there a convention on directionality of true/false conditions from a decision?

When writing a flow chart, I can understand that it is a best practice to generally read left-to-right or right-to-left per locale, and/or top-to-bottom and generally for the directional flow of the chart to be consistent. But, when it comes to a…
Douglas Held
  • 129
  • 4
1
2 3