You are on page 1of 1

140 • Ned Chapin

A third guideline is to use identifying A seventh guideline is to avoid using


names consistently. Given the type and successive connector outhnes. If more than
level of symbols for use within the out- one connector should properly appear in
hne, names for data and operations should a series (as when multiple names are as-
be used uniformly and accurately. Figures signed to one entry point, or when the
21, 26, and 27 illustrate good practice, for program calls for consecutive uncondi-
example. tional transfers of control), good practice
A fourth guideline is to use cross-refer- is to collect the connectors to the left or
ences liberally in the flow diagram. Cross- above the line of flow. A tree arrange-
references to both the program and to ment (hke an upside-down version of that
locatmns in the flow diagram improve the used for multiple exits from a decision
communication value of the flow diagram. outline, as shown in the top center of
To keep connectors small and to use space Figure 6) can also be used.
efficiently, it is helpful to use a location An eighth guideline is to observe con-
cross-reference inside the connector out- sistently the general flow pattern from top
line, and the program name cross-reference to bottom and from left to right. When
outside the connector, as illustrated in Fig- this guideline is observed, arrowheads may
ures 26 and 27. be omitted from the flowlines that con-
A fifth guideline is to keep the flow dia- form to the guideline. Clarity in a flow dia-
gram simple and clean. Clutter and lack of gram is improved by arranging the main
"white space" decreases the communica- flow to conform as much as possible to
tion value of the flow diagram. For con- the guideline. Minor and alternative flows
venience and clarity, spacing the diagram may then deviate from normal, and by this
so it can be typed (if it is prepared by deviation can be identified as not part of
manual means) is a real assistance. the main flow.
A sixth guidehne is to keep clearly sepa- A ninth guideline is to draw entrances
rate the operations to be performed on at upper left and exits at lower right.
program data structures from those to be Entry and exit connectors are most
performed on operand data structures. noticeable if they are in a consistent po-
sition Thus, the usual practice is to place
That is, operations on the program itself,
an entry either above or to the left of
such as switch settings, indexing, initiali-
the line of flow it is to join, and to place
zation of program control variables, and
an exit either below or to the right of the
the like, should be shown in preparation hne of flow it comes from, as shown in
outlines, separate from operations that Figure 27. For both cases, when set to the
transform input into output data. This left or right, then the flowline goes from
guideline helps make a flow diagram more left to right. If set above or below, the
easily understood, and it improves de- flowline drops down to or from the line
bugging work. To facilitate a clear sepa- of flow. Partial exceptions may be made
ration, some people add a mark to the to maintain symmetry, as when a deci-
basic outlines that specify operations on sion outline has three exits, as exampled
the program data structure. If used, the by exit D4 in Figure 27.
mark should be one that is easily detected A tenth guideline is to draw flowlines
in a quick scan of the flow diagram. Ex- so that they enter and exit at the visual
amples are a large round spot within the centers of the outlines. The outlines usually
outhne, or a bold left edge for the outline, possess either vertical or horizontal sym-
or a shaded upper left or center corner of metry, typically about their center points.
the outline. None of these techniques are If therefore entrance and exit flowline~
sanctioned by the standard; only the be drawn vertically and horizontally sc
second is a violation of the standard, and that they appear to point toward ol
hence should not be used. emerge from the center point of the sym

Computing Surveys, Vol 2, No 2, June 1970

You might also like