Showing posts with label Code. Show all posts

ASCII flowchart shapes

≤≥≠≈∏∑
Subscript ₍₀₁₂₃₄₅₆₇₈₉₊₋₌ₐₑₒₓₔ₎
Superscript ⁽⁰¹²³⁴⁵⁶⁷⁸⁹⁺⁻⁼ⁿⁱ⁾
Process
    -----------------------
    |                     |
    |                     |
    |                     |
    -----------------------

Terminator
      .-"""""""""""""""-.
     /                   \
    :                     :
     \                   /
      '-...............-'

      .-"""""""""""""""-.
     (                   )
      '-...............-'

Delay
    """""""""""""""""""-.
    |                    \
    |                     :
    |                    /
    ...................-'

    |"""""""""""""""""-.
    |                   )
    |.................-'

Sub process
    -----------------------
    ||                   ||
    ||                   ||
    ||                   ||
    -----------------------

Data I/O
        -------------------
       /                 /
      /                 /
     /                 /
    -------------------

Print
    -----------------------
    |                     |
    |                     |
    |                     |
    |                ...  |
     '-..   ..---''''   '''
         '''

Preparation
      -------------------
     /                   \
    <                     >
     \                   /
      -------------------

Decision
             .-'-.
          .-'     '-.
       .-'           '-.  
    .-'                 '-.
  -:                       :-
    '-.                 .-'
       '-.           .-'
          '-.     .-'
             '-.-'
  
             .-'-.
          .-'     '-.
       .-'           '-.
     -:                 :-
       '-.           .-'
          '-.     .-'
             '-.-'
  
             .-'-.
          .-'     '-.
        -:           :-
          '-.     .-'
             '-.-'

Connector
             .-.
            (   )
             '-'

Database
          .--'''--.
          |--...--|
          |       |
          |       |
          '--...--'

Arrows
| ▲
| |
▼ |

◄------

------►

|
|
----► 

----► 
|
|

|
|◄---
|

    |
---►|
    |
Example
      .-"""""""""""""""-.
     (       Start       )
      '-...............-'
               |
               |
               ▼
        -------------------
       /   "Your age?"   /
      /                 /
     /       AGE       /
    -------------------
               |
               |◄--------------------
               |                    |
               ▼                    |
        -------------------         |   
       /                 /          |  
      /       "i"       /           | 
     /                 /            |
    -------------------             |
               |                    |
               |                    |
               ▼                    |
    -----------------------         |
    |                     |         |
    |    AGE = AGE - 1    |         |
    |                     |         |
    -----------------------         |
               |                    |
               |                    |
               ▼                    |
             .-'-.                  |
          .-'     '-.               |
       .-'           '-.   NO       |
     -:     AGE = 0     :------------
       '-.           .-'
          '-.     .-'
             '-.-'
        YES    |
               |
               ▼
        -------------------
       /                 /
      /    "Puff..."    /
     /                 /
    -------------------
               |
               |
               ▼
      .-"""""""""""""""-.
     (        End        )
      '-...............-'
Computer science flowchart symbols, Algorithm symbols.
Share:

Subscribe to: Posts (Atom)