DRAKON Visual Language: Tutorial. Part 1: How To Draw DRAKON Flowcharts
DRAKON Visual Language: Tutorial. Part 1: How To Draw DRAKON Flowcharts
DRAKON Visual Language: Tutorial. Part 1: How To Draw DRAKON Flowcharts
Language
Tutorial. Part 1:
How to draw DRAKON flowcharts
Types of DRAKON diagrams
A vertical skewer
What does a primitive consist of?
The header
What does a primitive consist of?
The algorithm
What does a primitive consist of?
An “Action” icon
“Action” icon
an order to do
something
The skewer must be vertical
Wrong!
Wrong again
●
Use lines instead of arrows
●
Arrows create visual noise
In DRAKON,
the next icon is always below
Even worse
●
It is not allowed to break the skewer
“Insertion” icon
It is a reference
to an algorithm
that is defined elsewhere
“Insertion” icon
“If” icon
“If” icon
Contains a question
that can be answered
“yes” or “no”
The happy path goes straight
Good
Wrong
The algorithm
of the branch
What does a branch consist of?
The address
of the next branch
Silhouette answers
the three questions of the king:
Contains a question:
●
that cannot be answered “yes” or “no”
●
that can have several answers
Icon “Select”
How to arrange the answers?
●
Following the principle “The further to the right, the
worse it is”
or
●
Following the principle “The further to the right, the
larger it is”
or
●
Following the principle “The further to the right, the
higher it is”
or...
If yes, then
eat a hamburger
start from the
beginning
Wrong!
A second
entrance is
not allowed
Silhouette loop: some branches are run several times
Silhouette loop: some branches are run several times
Loop branches are marked
with black triangles
“Select” loop
End
Stepan Mitkin
stipan.mitkin@gmail.com
June 2013