JPH0773029A - Flow chart display system - Google Patents

Flow chart display system

Info

Publication number
JPH0773029A
JPH0773029A JP24204993A JP24204993A JPH0773029A JP H0773029 A JPH0773029 A JP H0773029A JP 24204993 A JP24204993 A JP 24204993A JP 24204993 A JP24204993 A JP 24204993A JP H0773029 A JPH0773029 A JP H0773029A
Authority
JP
Japan
Prior art keywords
flowchart
symbol
flow chart
displayed
display
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
JP24204993A
Other languages
Japanese (ja)
Inventor
Hisahiro Akiyama
尚弘 秋山
Hideji Nakao
秀二 中尾
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Minolta Co Ltd
Original Assignee
Minolta Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Minolta Co Ltd filed Critical Minolta Co Ltd
Priority to JP24204993A priority Critical patent/JPH0773029A/en
Publication of JPH0773029A publication Critical patent/JPH0773029A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

PURPOSE:To provide a flow chart display system where continuous data processing instruction parts are displayed as one processing part to facilitate distinct recognition of the flow of the whole of a flow chart and the display space is economized with respect to the method which generates the flow chart from an assembler source file. CONSTITUTION:Continuous data processing instruction parts in the flow chart are simply displayed with blank symbols 11 and 12 where inside characters are omitted. When the blank symbol 11 is clicked, instruction names 13 are displayed by the blank symbol.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、アセンブラソースファ
イルからフローチャートを自動作成し、表示する方式に
関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a system for automatically creating and displaying a flowchart from an assembler source file.

【0002】[0002]

【従来の技術】従来から、この種のフローチャート表示
方式としては、例えば、ソースコードの各行毎にフロー
チャートを自動作成すると共に、それに対応して英数字
等の記号だけでなく漢字や平仮名により内容を表示し、
手書きのフローチャートに近いものを自動作成するもの
(特公平3−38611号公報参照)、ソフトウェアの
モジュール関連図を自動レイアウトするもの(特開昭6
2−89169号公報参照)、ソースファイルをモジュ
ール単位でフローチャート化するもの(特開平4−19
9424号公報参照)、パーソナルコンピュータ上でア
センブラプログラムからフローチャートを自動作成する
ツールとしてのプログラムソフト等がある。また、本出
願人は、フローチャートの階層的表示方法について先に
出願している(特願平4−338045号)。
2. Description of the Related Art Conventionally, as a flow chart display method of this kind, for example, a flow chart is automatically created for each line of a source code, and correspondingly, contents are displayed not only by symbols such as alphanumeric characters but also by kanji or hiragana. Display,
One that automatically creates something close to a handwritten flowchart (see Japanese Examined Patent Publication No. 3-38611), and one that automatically lays out a module-related diagram of software (Japanese Patent Laid-Open No. Sho 6-66
No. 2-89169), a flow chart of a source file in module units (Japanese Patent Laid-Open No. 4-19)
9424), and program software as a tool for automatically creating a flowchart from an assembler program on a personal computer. Moreover, the present applicant has previously applied for a hierarchical display method of a flowchart (Japanese Patent Application No. 4-338045).

【0003】[0003]

【発明が解決しようとする課題】しかしながら、上記特
公平3−38611号公報に示されるような方法では、
フローチャート表示において、複数のデータ処理(ここ
で言うデータ処理は、データの計算や転記、編集等の一
般の処理であって、ラベル等の機能記述、データの読み
込み、分岐条件の判断、結果の表示等を除くもの)が連
続する場合、図3に示すように、処理記号(シンボル)
を簡略化表示することなく、処理コマンド1つに対して
1つの処理シンボルを描くか、又は、図4に示すよう
に、処理コマンドを複数書き、これらを処理シンボルの
幅を大きくして囲んでいた。そのため、1つの画面に表
示されるフローチャートが部分的となり、フローチャー
ト全体の流れを把握することが困難な場合があった。な
お、フローチャートからソースファイルへ自動アクセス
できるようにはなっていない。
However, in the method disclosed in the above Japanese Patent Publication No. 3-38611,
In the flowchart display, multiple data processing (data processing here is general processing such as data calculation, transcription, editing, etc., function description such as label, data reading, branch condition judgment, result display 3) are consecutive, the processing symbols (symbols) as shown in FIG.
Is displayed without simplification, one processing symbol is drawn for one processing command, or as shown in FIG. 4, a plurality of processing commands are written and these are surrounded by enlarging the width of the processing symbol. I was there. Therefore, the flowchart displayed on one screen is partial, and it may be difficult to grasp the flow of the entire flowchart. Note that the source files cannot be automatically accessed from the flowchart.

【0004】また、特開昭62−89169号公報のも
のは、ソースコードをフローチャートにするものではな
い。また、特開平4−199424号公報のものは、ソ
ースファイルからフローチャートを作成するには、ソー
スファイルのモジュールを識別して個別に分離するなど
の修正を施してからフローチャート化しなければならな
いため、処理が複雑になる。
In Japanese Patent Laid-Open No. 62-89169, the source code is not a flow chart. Further, according to the method disclosed in Japanese Patent Laid-Open No. 4-199424, in order to create a flowchart from a source file, it is necessary to make modifications such as identifying the modules of the source file and separating them individually, and then making the flowchart. Becomes complicated.

【0005】本発明は、上記問題を解決するもので、ア
センブラソースファイルから自動的にフローチャートを
作成する方法において、連続したデータ処理部分を1つ
の処理部として表示させることにより、フローチャート
全体の流れを明確に把握できると共に、処理が簡単であ
り、かつ、表示スペースを節約することができるフロー
チャートの表示方式を提供することを目的とする。
The present invention solves the above problem, and in a method of automatically creating a flowchart from an assembler source file, by displaying continuous data processing parts as one processing part, the flow of the entire flowchart is displayed. An object of the present invention is to provide a display method of a flowchart that can be clearly grasped, is easy to process, and can save display space.

【0006】[0006]

【課題を解決するための手段】上記目的を達成するため
に本発明は、アセンブラソースファイルを読み込んで自
動的にフローチャートを作成し、画面表示するフローチ
ャートの表示方式において、フローチャート中に連続す
るデータ処理命令がある場合に、これを当該データ処理
命令名を省略した一つの空白シンボルだけで表示すると
共に、この空白シンボルをクリックすることで該データ
処理命令名を該空白シンボルの近傍に表示するものであ
る。
In order to achieve the above-mentioned object, the present invention is a flowchart display method in which an assembler source file is read to automatically create a flowchart and the screen is displayed. When there is an instruction, it is displayed with only one blank symbol omitting the data processing instruction name, and the data processing instruction name is displayed near the blank symbol by clicking this blank symbol. is there.

【0007】[0007]

【作用】本発明のフローチャート表示方式によれば、ア
センブラソースファイルを読み込んで自動的にフローチ
ャートを作成し、それを表示する際に、フローチャート
中の連続したデータ処理命令部分は中身の文字を省略し
た空白シンボルで簡潔表示される。この簡潔表示によ
り、フローチャート全体の流れを把握し易くなる。ま
た、この文字が書かれていない空白シンボルをクリック
することで命令文字を該空白シンボルの近傍に表示する
ことができる。
According to the flow chart display method of the present invention, when the assembler source file is read to automatically create a flow chart and the flow chart is displayed, the characters in the continuous data processing command portion in the flow chart are omitted. It is displayed briefly with a blank symbol. This simple display makes it easy to understand the flow of the entire flowchart. Further, by clicking a blank symbol in which this character is not written, the command character can be displayed near the blank symbol.

【0008】[0008]

【実施例】本発明の一実施例を図面を参照して説明す
る。図1は本発明に係るフローチャート表示方式を実施
するためのフローチャート自動作成装置のブロック構成
図である。この装置は、フローチャート自動作成処理を
行うCPU1と、周辺機器としてCPU1に接続された
メモリ2と、外部記憶装置3と、作成されたフローチャ
ート等を画面表示するCRTディスプレィ4と、各種入
力を行うキーボード5と、ディスプレィ上でシンボル等
を指定(クリック)するためのマウス6と、作成された
フローチャート等を印字出力するプリンタ7及びプロッ
タ8から構成される。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram of an automatic flow chart creating apparatus for implementing the flow chart display system according to the present invention. This apparatus includes a CPU 1 that performs a flowchart automatic creation process, a memory 2 connected to the CPU 1 as a peripheral device, an external storage device 3, a CRT display 4 that displays a created flowchart and the like on a screen, and a keyboard that performs various inputs. 5, a mouse 6 for designating (clicking) a symbol or the like on the display, a printer 7 and a plotter 8 for printing out the created flowchart or the like.

【0009】図2は上記装置で実行されるフローチャー
ト自動作成方法のフローチャートである。フローチャー
ト自動作成が指示されると、CPU1はソースファイル
を読み込み(S1)、それを解析してフローチャートを
作成し、これをCRTディスプレィ4に表示する(S
2)。また、分岐部のジャンプラインを描く(S3)。
その後、プリント指示を待って、指示があればプリント
し(S5)、指示がなければ処理はそのまま終了する。
FIG. 2 is a flowchart of a flowchart automatic creating method executed by the above apparatus. When the automatic flow chart creation is instructed, the CPU 1 reads the source file (S1), analyzes it and creates a flow chart, and displays it on the CRT display 4 (S1).
2). Also, a jump line at the branch portion is drawn (S3).
After that, waiting for a print instruction, if there is an instruction, printing is performed (S5), and if there is no instruction, the process ends.

【0010】図5、図6、図7は本発明の表示方式によ
るフローチャート表示例を示す。図8は本表示方式を実
行するための全体の流れを示すフローチャート、図9は
ソースファイル読み込み及びフローチャート表示のため
のフローチャート、図10はフローチャートの非省略表
示のためのフローチャートである。上述したように、従
来のフローチャート表示方式では、データ処理命令が連
続した場合、その処理命令は順次シンボル化されて表示
されるか(図3)、命令名を一括し、1つの矩形の図形
枠(シンボル)で囲んで表示されるか(図4)であり、
データ処理命令が多数連続するため、プログラム全体の
流れを知りたくとも、認識するのが困難となっていた。
そこで、本発明の方式では図5に示すように、データ処
理命令が連続する場合、その部分については命令名を省
略した1つの空白シンボル11,12をCRTディスプ
レィ4に表示する。これによって、一画面毎に表示され
るフローチャートのプログラム量をより多くすることが
でき、その結果、プログラム全体の流れを容易に把握す
ることができるようになる。
FIG. 5, FIG. 6 and FIG. 7 show examples of flow chart display according to the display system of the present invention. FIG. 8 is a flowchart showing the entire flow for executing this display method, FIG. 9 is a flowchart for reading a source file and displaying the flowchart, and FIG. 10 is a flowchart for non-abbreviated display of the flowchart. As described above, in the conventional flow chart display method, when the data processing instructions are consecutive, the processing instructions are sequentially symbolized and displayed (FIG. 3), or the instruction names are collectively displayed in one rectangular graphic frame. Whether it is displayed surrounded by (symbols) (Fig. 4),
Since many data processing instructions are continuous, it is difficult to recognize the flow of the entire program even if it is desired to know it.
Therefore, in the method of the present invention, as shown in FIG. 5, when the data processing instructions are continuous, one blank symbol 11 or 12 with the instruction name omitted is displayed on the CRT display 4 for that portion. As a result, the program amount of the flowchart displayed for each screen can be increased, and as a result, the flow of the entire program can be easily grasped.

【0011】また、省略された命令名を知りたい場合に
は、図6に示すように、CRTディスプレィ4に表示さ
れた空白シンボル11又は12をマウス6に対応して表
示されたポインタ(矢印で示す)でクリックすることに
より、矩形枠線で囲まれたコマンドである命令名13を
表示することができる。ここでは、空白シンボル11を
クリックした状態を示している。
When it is desired to know the abbreviated instruction name, as shown in FIG. 6, the blank symbol 11 or 12 displayed on the CRT display 4 is displayed on the pointer (corresponding to the arrow) corresponding to the mouse 6. By clicking (shown), the command name 13 which is a command surrounded by a rectangular frame can be displayed. Here, the blank symbol 11 is clicked.

【0012】次に、図8を参照して表示方式の全体の流
れを説明する。まず、ソースファイルを読み込む(S1
1)。この時、非省略表示に切換えるときのためにシン
ボル属性(図11)をメモリ2に格納する。次に、簡潔
フローチャートを表示する(S12)。この表示例が図
5に相当する。この時、処理シンボルである矩形の図形
枠が連続してフローチャートに描かれる場合、命令文字
を省略した1つの空白シンボルを表示し、2つ目以降の
処理シンボルを省略する。次に、必要に応じて空白シン
ボルの近傍の所定領域をポインタでクリックすることに
より省略された命令名を傍らに表示し(S13)、処理
を終了する。S13の処理の表示例が図6に相当する。
Next, the overall flow of the display system will be described with reference to FIG. First, read the source file (S1
1). At this time, the symbol attribute (FIG. 11) is stored in the memory 2 for switching to the non-abbreviated display. Next, a brief flowchart is displayed (S12). This display example corresponds to FIG. At this time, when rectangular graphic frames which are processing symbols are continuously drawn in the flowchart, one blank symbol in which instruction characters are omitted is displayed, and the second and subsequent processing symbols are omitted. Next, if necessary, a predetermined area near the blank symbol is clicked with a pointer to display the omitted instruction name beside it (S13), and the processing is terminated. A display example of the process of S13 corresponds to FIG.

【0013】上記S11,S12の処理の詳細を図9に
より説明する。読み込むソースファイルが終了かを調べ
(S101)、終了するまで、ソースファイルの先頭か
ら順次プログラム命令を読み込む(S102)。次に、
読み込んだプログラム命令がデータ処理命令(分岐条件
の判断等を除く、データの計算や転記、編集等の一般の
処理)であるか否かを判断し(S103)、データ処理
命令でない場合は、そのままその処理に対応する図形及
び説明文を表示し(S106)、S101に戻り、同様
の処理を繰り返す。
The details of the processing in S11 and S12 will be described with reference to FIG. It is checked whether or not the source file to be read is completed (S101), and program commands are sequentially read from the beginning of the source file until the completion (S102). next,
It is determined whether or not the read program instruction is a data processing instruction (general processing such as data calculation, transfer, editing, etc. excluding the determination of branch conditions) (S103), and if it is not a data processing instruction, it is left as it is. A graphic and a description corresponding to the process are displayed (S106), the process returns to S101, and the same process is repeated.

【0014】S103において、プログラム命令がデー
タ処理命令である場合は、その属性値(中心の座標、画
面上のページ等)をシンボルテーブル(図11)に格納
し(S104)、そのデータ処理命令が連続しているか
どうかを判断し(S105)、連続していれば、処理は
リターンする。S105で連続でなければ、命令名は表
示しないで空白シンボルのみを表示し(S107)、S
101に戻り、同様の処理を繰り返す。このS107に
よる表示が図5の空白シンボル11,12である。ソー
スファイルの最後の命令を処理すると(S101でYE
S)、処理は終了する。S104で格納されるシンボル
テーブルの例を図11に示す。シンボル属性は登録番号
n(nは変数)毎に登録される。
If the program instruction is a data processing instruction in S103, the attribute value (coordinates of the center, page on the screen, etc.) is stored in the symbol table (FIG. 11) (S104), and the data processing instruction is stored. It is determined whether or not they are continuous (S105), and if they are continuous, the process returns. If it is not continuous in S105, only the blank symbol is displayed without displaying the instruction name (S107).
Returning to 101, the same processing is repeated. The display in S107 is the blank symbols 11 and 12 in FIG. When the last instruction of the source file is processed (Y in S101
S), the process ends. FIG. 11 shows an example of the symbol table stored in S104. The symbol attribute is registered for each registration number n (n is a variable).

【0015】次に、上記図8のS13の省略命令名を表
示する処理の詳細を図10により説明する。まず、初期
設定としてマウス6でのクリックにより図形枠(シンボ
ル)を指定できる領域(以下、イベント領域という)を
ソフト的に予め設定しておく。ここでは、シンボルの中
心座標から上下にdx、左右にdyの矩形と設定する
(S201、図17参照)。フローチャートが簡略表示
された状態にて、目的とする空白シンボルをマウス6で
クリックする(S203)。そのときのフローチャート
のページpcと座標(xc,yc)をメモリ2に格納す
る(S204)。次に、クリックした位置がどのシンボ
ルのイベント領域中であるか判定するために、変数nを
最初は1とし、その後、順次インクリメントして、シン
ボルテーブル(図11)の各シンボルについて、クリッ
クしたページとシンボルテーブルのページの一致を判定
し、また、クリック位置がどのシンボルのイベント領域
中であるかを判定する(S205〜S208)。
Next, the details of the processing for displaying the abbreviated instruction name in S13 of FIG. 8 will be described with reference to FIG. First, as an initial setting, an area in which a graphic frame (symbol) can be designated by clicking with the mouse 6 (hereinafter referred to as an event area) is set in advance by software. Here, the rectangle is set as dx vertically and dy horizontally from the center coordinates of the symbol (S201, see FIG. 17). With the flow chart displayed in a simplified form, the target blank symbol is clicked with the mouse 6 (S203). The page pc and the coordinates (xc, yc) of the flowchart at that time are stored in the memory 2 (S204). Next, in order to determine which symbol is in the event area of the clicked position, the variable n is first set to 1, and then sequentially incremented, and for each symbol in the symbol table (FIG. 11), the page clicked And the page of the symbol table are determined to coincide with each other, and it is also determined which symbol is in the event area of the click position (S205 to S208).

【0016】上記の判定で、変数nが最大値nmax を越
えて条件を満たしていなければ(S209でYES)、
S203に戻り、再度のクリックを促す。条件を満たし
ていれば(S209でNO)、該当シンボルの登録番号
をもとに、シンボルテーブルを参照し、その空白シンボ
ルにて表示が省略されている命令名群を画面上にシンボ
ルの中心点から一定距離離れた位置に、矩形枠線と共に
表示する(S210、図6の13参照)。次に、命令名
群の表示が必要でなくなった場合は、前記矩形枠線内を
マウス6でクリックすることによって(S211でYE
S)、命令名群と矩形枠線を消去することができる(S
212、図7参照)。図7では消去される対象を破線で
示し、併せて、上記でクリックされた空白シンボルより
下方の空白シンボル12をクリックした時の矩形枠線と
命令名14の表示状態を示している。
In the above judgment, if the variable n exceeds the maximum value nmax and does not satisfy the condition (YES in S209),
The process returns to S203 and prompts the user to click again. If the condition is satisfied (NO in S209), the symbol table is referred to based on the registration number of the corresponding symbol, and the instruction name group whose display is omitted by the blank symbol is displayed on the screen as the center point of the symbol. It is displayed together with the rectangular frame line at a position separated by a certain distance from (S210, see 13 in FIG. 6). Next, when the display of the instruction name group is not necessary, the inside of the rectangular frame line is clicked with the mouse 6 (YE in S211).
S), the instruction name group and the rectangular frame line can be deleted (S
212, see FIG. 7). In FIG. 7, the object to be erased is indicated by a broken line, and the display state of the rectangular frame line and the instruction name 14 when the blank symbol 12 below the clicked blank symbol is clicked is also shown.

【0017】次に、フローチャートからソースファイル
へのアクセス方式について説明する。図12は同アクセ
ス方式によりソースファイル表示を行うための全体の流
れを示すフローチャート、図13はソースファイル表示
を行うためにソースファイル中のコマンドに対応するフ
ローチャート表示シンボルを登録するフローチャート、
図14はフローチャート表示シンボルの属性が登録され
るシンボルテーブル、図15はソースファイル表示のフ
ローチャート、図16は本アクセス方式を実施した表示
例、図17は画面上のマウスクリック範囲(イベント領
域)を示す。
Next, the method of accessing the source file from the flowchart will be described. FIG. 12 is a flowchart showing the overall flow for displaying a source file by the same access method, and FIG. 13 is a flowchart for registering a flowchart display symbol corresponding to a command in the source file for displaying the source file.
14 is a symbol table in which attributes of flow chart display symbols are registered, FIG. 15 is a flow chart of source file display, FIG. 16 is a display example in which this access method is implemented, and FIG. 17 is a mouse click range (event area) on the screen. Show.

【0018】図12により本アクセス方式の全体の流れ
を説明する。まず、ソースファイルを読み込む(S2
1)。次いで、フローチャートからソースファイルへア
クセスするためのシンボル属性(図14)をメモリ2に
格納する。フローチャートを表示(S22)した後に、
ソースファイルの表示を行う(S23)。シンボル近傍
の所定領域(図17)をクリックすることで、ソースフ
ァイルの対応する行近傍を表示して(S23)、処理を
終了する。
The overall flow of this access method will be described with reference to FIG. First, read the source file (S2
1). Next, the symbol attribute (FIG. 14) for accessing the source file from the flowchart is stored in the memory 2. After displaying the flowchart (S22),
The source file is displayed (S23). By clicking a predetermined area (FIG. 17) near the symbol, the vicinity of the corresponding line of the source file is displayed (S23), and the process ends.

【0019】上記S21,S22の処理の詳細を図13
により説明する。まず、ソースファイルを開き(S30
1)、シンボルテーブルに登録するために用いるシンボ
ル登録番号nを最初は1として(S302)、ソースフ
ァイルを一行ずつ読み込み(S303)、コマンド(コ
メントや空白行を除く)を含む行でなければ(S304
でNO)、S303に戻り、上記処理を繰り返す。コマ
ンドを含む行であれば(S304でYES)、予め作成
されているシンボルとコマンドを対応させたシンボル対
応表から対応するシンボルを探し(S305)、CRT
ディスプレイ4上にフローチャート(コマンド及びシン
ボル)を表示する(S306)。
Details of the processing of S21 and S22 are shown in FIG.
Will be described. First, open the source file (S30
1) First, the symbol registration number n used for registering in the symbol table is set to 1 (S302), the source file is read line by line (S303), and the line does not include a command (excluding comments and blank lines) ( S304
NO), the process returns to S303 and the above process is repeated. If it is the line including the command (YES in S304), the corresponding symbol is searched for from the symbol correspondence table in which the symbol and the command created in advance are associated (S305), and the CRT is displayed.
A flowchart (commands and symbols) is displayed on the display 4 (S306).

【0020】次に、表示したシンボルの属性値(中心の
座標、画面上のページ、ソースファイル中の行数)をメ
モリ2内のシンボルテーブル(図14)に格納する(S
307)。次に、ソースファイルの最終行であるかを調
べて(S308)、最終行でなければ、シンボル登録番
号nをインクリメントして(S309)、S303に戻
り、ソースファイルの最終行まで上記処理を繰り返し、
最終行になれば、最後に登録シンボルの最大値nmax を
記録し(S310)、処理を終了する。
Next, the attribute values (coordinates of the center, the page on the screen, the number of lines in the source file) of the displayed symbols are stored in the symbol table (FIG. 14) in the memory 2 (S).
307). Next, it is checked whether it is the last line of the source file (S308). If it is not the last line, the symbol registration number n is incremented (S309), the process returns to S303, and the above process is repeated until the last line of the source file. ,
When the last line is reached, the maximum value nmax of the registered symbols is finally recorded (S310), and the process ends.

【0021】次に、上記図12のS23の処理の詳細を
図15により説明する。最初に、イベント領域をシンボ
ルの中心座標から上下にdx、左右にdyの矩形と設定
する(S401、図17参照)。次に、表示されたフロ
ーチャート上において、アクセスしようとするシンボル
をマウス6でクリックする(S403)。このときのフ
ローチャートのページpcと座標(xc,yc)を格納
する(S404)。次に、S406〜S408におい
て、クリックした位置がどのシンボルのイベント領域中
であるか判定するために、上述した図10のS205〜
S208と同様に、クリックしたページとシンボルテー
ブルのページの一致(S406)、及びクリック位置が
どのシンボル領域中であるかの判定(407)を、シン
ボルテーブルの各シンボルについて行う。
Next, the details of the processing in S23 of FIG. 12 will be described with reference to FIG. First, the event area is set to a rectangle of dx vertically and dy horizontally from the center coordinates of the symbol (S401, see FIG. 17). Next, on the displayed flowchart, the symbol to be accessed is clicked with the mouse 6 (S403). The page pc and the coordinates (xc, yc) of the flowchart at this time are stored (S404). Next, in S406 to S408, in order to determine which symbol is in the event area at the clicked position, S205 to S205 in FIG.
Similar to S208, matching of the clicked page and the page of the symbol table (S406) and determination of which symbol area the click position is in (407) are performed for each symbol of the symbol table.

【0022】上記の処理でクリック位置が判定条件を満
たしていれば(S409でNO)、該当シンボルの登録
番号をもとにシンボルテーブルを参照して、そのシンボ
ルがソースファイルの何行目の命令に対応しているかを
求め(S410)、その後、ソースファイルを該当行か
ら表示し(S411、図16の21参照)、かつ、該当
行へカーソルを移動させる(S412)。図16に上記
の処理によってフローチャートの近傍にソースファイル
21を画面表示させた状態を示す。図16におけるソー
スファイル中の黒白反転表示がカーソル位置である。
If the click position satisfies the judgment condition in the above processing (NO in S409), the symbol table is referred to based on the registration number of the corresponding symbol, and that symbol indicates the command of what line in the source file. (S410), the source file is displayed from the corresponding line (S411, see 21 in FIG. 16), and the cursor is moved to the corresponding line (S412). FIG. 16 shows a state in which the source file 21 is displayed on the screen near the flow chart by the above processing. The black and white reverse display in the source file in FIG. 16 is the cursor position.

【0023】本アクセス方式を採用すれば、フローチャ
ート表示からソースファイルを参照し、その修正を行う
場合に、フローチャートが表示された画面上において目
的とするシンボルをクリックするだけで即時にソースフ
ァイルが表示され、カーソルが対応行へ移動する。従っ
て、表示させたソースファイルの中からフローチャート
をもとに目的とする対応行を探さなければならない従来
方式に比べて、ソースファイルの参照・修正の作業効率
が向上する。
If this access method is adopted, when the source file is referenced from the flow chart display and the correction is performed, the source file is immediately displayed by simply clicking the desired symbol on the screen displaying the flow chart. And the cursor moves to the corresponding line. Therefore, the work efficiency of referring / correcting the source file is improved as compared with the conventional method in which the desired corresponding line is searched from the displayed source file based on the flowchart.

【0024】本発明は上記実施例に限られず種々の変形
が可能である。例えば、処理シンボルを省略するときの
図形は矩形枠線に限られず、シンボル間の線を破線にし
てもよい。また、フローチャート表示画面上のシンボル
をダブルクリックし、又は、ソースファイル表示命令後
にクリックもしくはダブルクリックして初めて所望の動
作に入り得るようにすることにより、誤動作を防止でき
る。また、マウスでクリックして目的とするシンボルを
指定するイベント範囲を、シンボルの輪郭線形状内に限
ってもよい。なお、処理命令名を省略した簡潔フローチ
ャート表示から、非省略表示である通常フローチャート
表示に切換えることができるようにしてもよい。
The present invention is not limited to the above embodiment, but various modifications can be made. For example, the figure when the processing symbols are omitted is not limited to the rectangular frame line, and the line between the symbols may be a broken line. Further, by double-clicking the symbol on the flow chart display screen, or by clicking or double-clicking after the source file display command, it is possible to start the desired operation, so that a malfunction can be prevented. Further, the event range in which the target symbol is specified by clicking with the mouse may be limited to within the outline shape of the symbol. The simple flowchart display in which the processing instruction name is omitted may be switched to the normal flowchart display which is a non-abbreviated display.

【0025】[0025]

【発明の効果】以上のように本発明によれば、フローチ
ャート中に一般のデータ処理命令部が複数連続するとき
に、その部分については命令名を省略して一つの空白シ
ンボルだけで簡略化表示するようにしているので、従来
の全ての処理命令毎に処理シンボルを描く場合に比し、
データ処理命令以外の、例えば分岐判断シンボル等が強
調されることになり、フローチャート全体の流れを容易
に把握することができ、また、表示スペースを節約でき
る。さらには、命令名が省略された空白シンボルを画面
上でクリックすることにより、命令名を表示させること
ができるので、省略部分の詳細内容の確認をも容易に行
うことができる。
As described above, according to the present invention, when a plurality of general data processing instruction parts are consecutive in a flow chart, the instruction name is omitted for that part and the display is simplified with only one blank symbol. Since it is done, compared with the case of drawing a processing symbol for every conventional processing instruction,
For example, a branch determination symbol or the like other than the data processing instruction is emphasized, so that the flow of the entire flowchart can be easily grasped and the display space can be saved. Furthermore, since the instruction name can be displayed by clicking on the blank symbol with the instruction name omitted on the screen, the detailed content of the omitted portion can be easily confirmed.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明のフローチャート表示方式を実施するた
めのフローチャート自動作成装置の一例を示すブロック
構成図である。
FIG. 1 is a block configuration diagram showing an example of a flowchart automatic creation apparatus for implementing a flowchart display method of the present invention.

【図2】本発明の一実施例によるフローチャート作成処
理のフローチャートである。
FIG. 2 is a flowchart of a flowchart creating process according to an embodiment of the present invention.

【図3】従来のフローチャート表示例を示す図である。FIG. 3 is a diagram showing a conventional flowchart display example.

【図4】従来のフローチャート表示例を示す図である。FIG. 4 is a diagram showing an example of a conventional flowchart display.

【図5】本発明によるフローチャートの表示例を示す図
である。
FIG. 5 is a diagram showing a display example of a flowchart according to the present invention.

【図6】本発明によるフローチャートの表示例を示す図
である。
FIG. 6 is a diagram showing a display example of a flowchart according to the present invention.

【図7】本発明によるフローチャートの表示例を示す図
である。
FIG. 7 is a diagram showing a display example of a flowchart according to the present invention.

【図8】本発明によるフローチャート表示処理全体のフ
ローチャートである。
FIG. 8 is a flowchart of the entire flowchart display process according to the present invention.

【図9】本発明によるフローチャート簡潔表示処理のフ
ローチャートである。
FIG. 9 is a flowchart of a flowchart concise display process according to the present invention.

【図10】本発明による省略命令名を表示する処理のフ
ローチャートである。
FIG. 10 is a flowchart of a process of displaying an abbreviated instruction name according to the present invention.

【図11】図9の処理におけるシンボルテーブル例を示
す図である。
11 is a diagram showing an example of a symbol table in the processing of FIG.

【図12】本発明によるフローチャートからのソースフ
ァイルアクセス方式の処理全体を示すフローチャートで
ある。
FIG. 12 is a flowchart showing the entire processing of the source file access method from the flowchart according to the present invention.

【図13】ソースファイルアクセス方式におけるフロー
チャート表示シンボルを登録処理するためのフローチャ
ートである。
FIG. 13 is a flowchart for registering a flowchart display symbol in the source file access method.

【図14】図13の処理におけるシンボルテーブル例を
示す図である。
FIG. 14 is a diagram showing an example of a symbol table in the processing of FIG.

【図15】ソースファイルアクセス方式におけるソース
ファイル表示のためのフローチャートである。
FIG. 15 is a flowchart for displaying a source file in the source file access method.

【図16】図15の処理を実行したときの画面表示例を
示す図である。
16 is a diagram showing an example of a screen display when the process of FIG. 15 is executed.

【図17】シンボルをクリックする範囲を示す図であ
る。
FIG. 17 is a diagram showing a range in which a symbol is clicked.

【符号の説明】[Explanation of symbols]

1 CPU 2 メモリ 4 CRTディスプレイ 6 マウス 11,12 空白シンボル 13,14 命令名 21 ソースファイル 1 CPU 2 memory 4 CRT display 6 mouse 11 and 12 blank symbol 13 and 14 instruction name 21 source file

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 アセンブラソースファイルを読み込んで
自動的にフローチャートを作成し、画面表示するフロー
チャートの表示方式において、 フローチャート中に連続するデータ処理命令がある場合
に、これを当該データ処理命令名を省略した一つの空白
シンボルだけで表示すると共に、この空白シンボルをク
リックすることで該データ処理命令名を該空白シンボル
の近傍に表示することを特徴としたフローチャートの表
示方式。
1. When a assembler source file is read, a flow chart is automatically created and displayed on the screen, if there is a continuous data processing instruction in the flow chart, omit the data processing instruction name. A method of displaying a flow chart, characterized in that the data processing instruction name is displayed in the vicinity of the blank symbol by clicking on the blank symbol alone and displaying the data processing instruction name.
JP24204993A 1993-09-01 1993-09-01 Flow chart display system Withdrawn JPH0773029A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP24204993A JPH0773029A (en) 1993-09-01 1993-09-01 Flow chart display system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP24204993A JPH0773029A (en) 1993-09-01 1993-09-01 Flow chart display system

Publications (1)

Publication Number Publication Date
JPH0773029A true JPH0773029A (en) 1995-03-17

Family

ID=17083514

Family Applications (1)

Application Number Title Priority Date Filing Date
JP24204993A Withdrawn JPH0773029A (en) 1993-09-01 1993-09-01 Flow chart display system

Country Status (1)

Country Link
JP (1) JPH0773029A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000242479A (en) * 1999-02-23 2000-09-08 Matsushita Electric Works Ltd Method for supporting software program generation
GB2510453B (en) * 2012-10-29 2018-11-14 Vestatec U K Ltd Lighted trim assembly and perforated member therefor

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000242479A (en) * 1999-02-23 2000-09-08 Matsushita Electric Works Ltd Method for supporting software program generation
GB2510453B (en) * 2012-10-29 2018-11-14 Vestatec U K Ltd Lighted trim assembly and perforated member therefor

Similar Documents

Publication Publication Date Title
US5703962A (en) Image processing method and apparatus
JPH08212203A (en) Document display device and method
JP4136282B2 (en) Image processing apparatus, image processing method, and storage medium
JPH0773029A (en) Flow chart display system
JPH0322014A (en) Menu selecting method
JPH0635987A (en) Device and mehtod for preparing circuit diagram
JPH08202856A (en) Image processing method
JPH03282495A (en) Crop image display method
JPH06314118A (en) Monitor device
JPH0376491B2 (en)
JPH103516A (en) Information processing method and apparatus
JP2001051771A (en) System and method for processing picture
JPH0816809A (en) Drawing system
JP3154790B2 (en) Optical character reader
JPH08293033A (en) Information processing device
CN115509664A (en) Multi-frame large-screen visualization method, system, equipment and storage medium
JPH0836563A (en) Document edition system and device for preparing document using the same
JPH02257271A (en) Character cursor control system
JPH04307659A (en) Data display system
JPH0581467A (en) Image processing method and apparatus
JP2000347777A (en) Method for displaying data input picture
JPH0836569A (en) File editing processor
JPH0877381A (en) Image forming device
JPH09319554A (en) Partial scrolling method for table data
JPS6159530A (en) Retrieval system of processing object

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20001107