Search code examples
modeling

How do I draw a switch statement in a graphical design?


Does anyone know how to draw a switch statement in a graphical design?

For example:

If statement is a diamond shape

Loops are a square with a circle inside....?


Also is there a technical name for this kind of graphical representation? I have searched the internet and Java graphical designs do not seem to come up at all.


Solution

  • Switch Statement Graphical Representation

    Here's how a switch statement is represented. A simple Switch Flowchart search on the internet can give you this result.