JPH02140828A - Program display system sorted by hierarchy in graphic program editor - Google Patents

Program display system sorted by hierarchy in graphic program editor

Info

Publication number
JPH02140828A
JPH02140828A JP29529388A JP29529388A JPH02140828A JP H02140828 A JPH02140828 A JP H02140828A JP 29529388 A JP29529388 A JP 29529388A JP 29529388 A JP29529388 A JP 29529388A JP H02140828 A JPH02140828 A JP H02140828A
Authority
JP
Japan
Prior art keywords
level
graphical
program
text
unit
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.)
Pending
Application number
JP29529388A
Other languages
Japanese (ja)
Inventor
Isao Takano
高野 功
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP29529388A priority Critical patent/JPH02140828A/en
Publication of JPH02140828A publication Critical patent/JPH02140828A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

PURPOSE:To display only a program structure graphic until a hierarchical level which is required to understand the program structure by indicating the hierarchical of the program structure graphic to be referred. CONSTITUTION:The hierarchical level of the program structure graphic to be referred is previously indicated from an input output device 101 and is held in a level holding part 102. A program structure read part 103 reads the program structure graphic, divides it into a graphic mark and a following text sentence, and they are held in a graphic mark holding part 104 and a text sentence holding part 105. A level analysis part 106 infers the hierarchical level based on the graphic mark which the graphic mark holding part 104 holds, compares it with the hierarchical level which the level holding part 102 holds and decides whether to display the graphic mark as it is. Since the program structure graphic to the hierarchical level to be referred can automatically be displayed, the understanding of the hierarchical program structure is prompted, and the maintenance work efficiency of program development can be improved.

Description

【発明の詳細な説明】 〔産業上の利用分舒〕 本発明は図式プログラムエディタにおける階層別プログ
ラム表示方式に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Industrial Application] The present invention relates to a hierarchical program display method in a graphical program editor.

〔従来の技術〕[Conventional technology]

図式プログラムエディタとは、構造化プログラミング技
法を取り入れたソースプログラムのエディタであり、罫
線やシンボル等の図式記号を用いてプログラムを構造的
に表現し、プログラムの作成および理解を容易にしたも
のである。第3図fatは図式プログラムエディタによ
り作成したプログラム構造図の例(図中の「表示レベル
?」を含む枠部分は除く、)を示したものであり、この
例では縦の罫線によってプログラム構造図の階層のレベ
ル(階層レベル)を示している。なお、従来の図式プロ
グラムエディタでは作成したプログラム構造図を表示さ
せる場合、レベル毎にではなく、その全てを表示するも
のであった。
A graphical program editor is a source program editor that incorporates structured programming techniques.It expresses programs structurally using graphical symbols such as borders and symbols, making it easier to create and understand programs. . Figure 3.fat shows an example of a program structure diagram created using a graphical program editor (excluding the frame containing "Display level?" in the diagram). In this example, the program structure diagram is drawn using vertical ruled lines. It shows the level of the hierarchy (hierarchy level). Note that when displaying a created program structure diagram with a conventional graphical program editor, the entire diagram is displayed, not each level.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述したように図式プログラムエディタにより作成した
プログラムは構造的に表現されているため、プログラム
の保守のために他のプログラム開発者が見る場合におい
ても理解のしやすいものであったが、プログラム構造図
の全てを表示するものであったため、人間の思考過程と
の関係で完全なものではなかった。すなわち、プログラ
ムの構造を理解しようとする場合、一般には大まかな構
造から順次詳細な構造へと階層的に理解を深めていくも
のであるが、従来の表示方式では最下位のレベルまでが
同時に表示されるため、その時点では理解に必要でない
部分までもが表示されることとなり、全体についての理
解が妨げられるからである。したがって、図式プログラ
ムエディタの表示だけでプログラム構造を理解しようと
する場合には、プログラム開発者が意識的に大まかな構
造と詳細な構造とを区別しなければならず、負担が大き
いという欠点があった。
As mentioned above, programs created using the graphical program editor are expressed structurally, so they are easy to understand when viewed by other program developers for program maintenance. Because it was intended to display all aspects of human thinking, it was not complete in relation to the human thought process. In other words, when trying to understand the structure of a program, one generally deepens the understanding in a hierarchical manner from the general structure to the detailed structure, but with conventional display methods, the lowest level is displayed at the same time. This is because even parts that are not necessary for understanding at that time are displayed, hindering understanding of the whole. Therefore, when trying to understand the program structure only by displaying the graphical program editor, the program developer has to consciously distinguish between the general structure and detailed structure, which has the disadvantage of being a heavy burden. Ta.

一方、このような理由から、実際に保守を行う場合、別
に作成されているプログラム設計書を参照して全体的に
理解した後、図式プログラムエディタで保守を行うとい
う方法がとられており、図式プログラムエディタが充分
に活用されないという欠点もあった。
On the other hand, for this reason, when actually performing maintenance, the method used is to refer to a separately created program design document and understand the whole, and then perform maintenance using a diagram program editor. Another drawback was that the program editor was not fully utilized.

本発明は上記の点に鑑み提案されたものであり、その目
的とするところは、図式プログラムエディタにより作成
されたプログラム構造図を表示させる場合に、参照した
いプログラム構造図の階層レベルを指示可能とし、プロ
グラム開発者がプログラム構造を理解するために必要と
する階層レベルまでのプログラム構造図のみを表示する
ことのできる図式プログラムエディタにおける階層別プ
ログラム表示方式を提供することにある。
The present invention has been proposed in view of the above points, and its purpose is to make it possible to specify the hierarchical level of the program structure diagram to be referenced when displaying a program structure diagram created by a graphical program editor. An object of the present invention is to provide a hierarchical program display method in a graphical program editor that can display only program structure diagrams up to the hierarchical levels necessary for a program developer to understand the program structure.

〔課題を解決するための手段〕[Means to solve the problem]

本発明は上記の目的を達成するため、図式プログラムエ
ディタにより作成されたプログラム構造図を読み込み、
図式記号とそれに付随するテキスト文とに分類してそれ
ぞれを出力するプログラム構造読込部と、 出力された図式記号およびテキスト文をそれぞれ保持す
る図式記号保持部およびテキスト文保持部と、 表示すべきプログラム構造図の階層レベルを入力装置よ
り入力して保持するレベル保持部と、前記図式記号保持
部に保持されている図式記号から階層レベルを割り出し
、前記レベル保持部に保持されている階層レベルと比較
して表示方法を判断するレベル解析部ト、 前記レベル解析部より注釈文を表示する旨の指示を受け
た際に、プログラム構造図の概略を表す図式記号を作成
すると共に、図式記号に付随すべき注釈文を前記テキス
ト文保持部に保持されているテキスト文より抽出する図
式記号作成部および注釈文抽出部と、 前記図式記号保持部に保持されている図式記号および前
記テキスト文保持部に保持されているテキスト文、もし
くは前記図式記号作成部により作成された図式記号およ
び前記注釈文抽出部により抽出された注釈文を表示装置
に出力する出力部とを備えるようにしている。
In order to achieve the above object, the present invention reads a program structure diagram created by a diagrammatic program editor,
A program structure reading unit that classifies and outputs graphical symbols and accompanying text sentences; a graphical symbol holding unit and a text sentence holding unit that hold the outputted graphical symbols and text sentences, respectively; and a program to be displayed. A level holding section that inputs and holds the hierarchical level of the structure diagram from an input device, and a hierarchical level determined from the schematic symbol held in the schematic symbol holding section, and compared with the hierarchical level held in the level holding section. When the level analysis unit receives an instruction from the level analysis unit to display the annotation text, it creates a graphical symbol that represents the outline of the program structure diagram, and also creates a graphical symbol that represents the outline of the program structure diagram. a graphical symbol creation section and an annotation sentence extraction section that extract annotation sentences to be written from text sentences held in the text sentence holding section; The apparatus further includes an output section that outputs to a display device a text sentence that has been written, or a graphical symbol created by the graphical symbol creation section and an annotation sentence extracted by the annotation sentence extraction section.

(作用〕 本発明の図式プログラムエディタにおける階層別プログ
ラム表示方式にあっては、プログラム構造読込部が図式
プログラムエディタにより作成されたプログラム構造図
を読み込んで図式記号とそれに付随するテキスト文とに
分類してそれぞれを出力し、図式記号保持部およびテキ
スト文保持部が出力された図式記号およびテキスト文を
それぞれ保持し、レベル保持部が表示すべきプログラム
構造図の階層レベルを人力装置より入力して保持し、レ
ベル解析部が前記図式記号保持部に保持されている図式
記号から階層レベルを割り出すと共に前記レベル保持部
に保持されている階層レベルと比較して表示方法を判断
し、前記レベル解析部より注釈文を表示する旨の指示を
受けた際に、図式記号作成部および注釈文抽出部がプロ
グラム構造図の概略を表す図式記号を作成すると共に図
式記号に付随すべき注釈文を前記テキスト文保持部に保
持されているテキスト文より抽出し、出力部が前記図式
記号保持部に保持されている図式記号および前記テキス
ト文保持部に保持されているテキスト文、もしくは前記
図式記号作成部により作成された図式記号および前記注
釈文抽出部により抽出された注釈文を表示装置に出力す
る。
(Operation) In the hierarchical program display method in the graphical program editor of the present invention, the program structure reading section reads the program structure diagram created by the graphical program editor and classifies it into graphical symbols and accompanying text sentences. The graphical symbol holding unit and the text sentence holding unit hold the outputted graphical symbols and text sentences, respectively, and the level holding unit inputs and holds the hierarchical level of the program structure diagram to be displayed from a human-powered device. Then, the level analysis section determines the hierarchical level from the graphical symbol held in the graphical symbol holding section, compares it with the hierarchical level held in the level holding section, determines the display method, and calculates the display method from the level analyzing section. When receiving an instruction to display an annotation text, the graphical symbol creation unit and annotation text extraction unit create a graphical symbol representing the outline of the program structure diagram, and retain the annotation text that should accompany the diagrammatic symbol. The output section extracts from the text sentence held in the graphical symbol holding section, and the output section extracts the graphical symbol held in the graphical symbol holding section and the text sentence held in the text sentence holding section, or the graphical symbol created by the graphical symbol creation section. The graphical symbol and the annotation text extracted by the annotation text extraction section are output to a display device.

〔実施例〕〔Example〕

以下、本発明の実施例につき図面を参照して説明する。 Embodiments of the present invention will be described below with reference to the drawings.

第1図は本発明の図式プログラムエディタにおける階層
別プログラム表示方式の一実施例を示す構成図である。
FIG. 1 is a block diagram showing an embodiment of a hierarchical program display method in a graphical program editor of the present invention.

第1図において、本実施例は、入出力装置101と、レ
ベル保持部102と、プログラム構造読込部103と、
図式記号保持部104と、テキスト文保持部105と、
レベル解析部106と、出力部107と、図式記号作成
部108と、注釈文抽出部109とから構成されている
In FIG. 1, this embodiment includes an input/output device 101, a level holding section 102, a program structure reading section 103,
A diagrammatic symbol holding unit 104, a text sentence holding unit 105,
It is composed of a level analysis section 106, an output section 107, a graphical symbol creation section 108, and an annotation sentence extraction section 109.

なお、図中で矢印を伴った実線は制御の流れを示し、矢
印を伴った破線はデータの流れを示している。
In addition, in the figure, a solid line with an arrow indicates the flow of control, and a broken line with an arrow indicates the flow of data.

以下、各部の機能および動作を説明する。The functions and operations of each part will be explained below.

先ず、図式プログラムエディタにより作成されたプログ
ラム構造図を参照するにあたり、参照したいプログラム
構造図の階層を示す値である階層レベルを予め入出力装
置101より指示し、その階層レベルをレベル保持部1
02に保持しておく。
First, when referring to a program structure diagram created by a graphical program editor, a hierarchy level, which is a value indicating the hierarchy of the program structure diagram to be referenced, is specified in advance from the input/output device 101, and the hierarchy level is stored in the level holding unit 1.
Keep it at 02.

しかして、プログラム構造読込部103は図式プログラ
ムエディタにより作成されたプログラム構造図を読み込
み、図式記号とそれに付随するテキスト文とに分け、各
々を図式記号保持部104およびテキスト文保持部10
5に保持させ、レベル解析部106に階層レベルの解析
を指示する。
The program structure reading unit 103 reads the program structure diagram created by the graphical program editor, divides it into graphical symbols and accompanying text sentences, and divides each into the graphical symbol holding unit 104 and the text sentence holding unit 10.
5 and instructs the level analysis unit 106 to analyze the hierarchical level.

レベル解析部106は図式記号保持部104に保持され
ている図式記号を基に階層レベルを割り出し、レベル保
持部102に保持されている階層レベルと比較を行い、
その図式記号をそのまま表示するか否かを判断する。す
なわち、解析した階層レベルが指示された階層レベルよ
り小さい(レベルとしては高い)か同じ場合にはそのま
ま表示を行い、大きい場合には概略表示を行うことにな
る1判断の結果、その図式記号をそのまま表示すべきと
きは出力部107にその図式記号およびテキスト文の表
示を指示する。
The level analysis unit 106 determines the hierarchical level based on the graphical symbol held in the graphical symbol holding unit 104, and compares it with the hierarchical level held in the level holding unit 102.
It is determined whether the graphical symbol is to be displayed as is. In other words, if the analyzed hierarchy level is smaller than (higher in terms of level) or the same as the specified hierarchy level, it will be displayed as is, and if it is larger, it will be displayed schematically. If it should be displayed as is, the output unit 107 is instructed to display the graphic symbol and text sentence.

図式記号およびテキスト文の表示の指示を受けた出力部
107は、図式記号保持部IQ4に保持されている図式
記号とテキスト文保持部105に保持されているテキス
ト文とを合成して入出力装置101へ出力する。これに
より、入出力装置101によって表示が行われる。
The output unit 107, which has received an instruction to display a graphical symbol and a text sentence, synthesizes the graphical symbol held in the graphical symbol holding unit IQ4 and the text sentence held in the text sentence holding unit 105, and outputs it to the input/output device. Output to 101. As a result, display is performed by the input/output device 101.

また、レベル解析部106での判断の結果、その図式記
号を表示すべきでないとき、つまり表示不要のときは、
図式記号作成部108にその図式記号を概略表示するこ
とを指示する。
Further, as a result of the judgment by the level analysis unit 106, if the graphical symbol should not be displayed, that is, if it is unnecessary to display it,
The graphical symbol creation unit 108 is instructed to roughly display the graphical symbol.

概略表示の指示を受けた図式記号作成部108は、その
図式記号を概略表示するために新たな図式記号(例えば
順次記号)を作成し、それに付随する注釈文を得る指示
を注釈文抽出部109に出力する。
The graphical symbol creation unit 108, which has received the instruction for schematic display, creates a new graphical symbol (for example, a sequential symbol) to display the schematic symbol, and sends an instruction to the annotation text extraction unit 109 to obtain an annotation text accompanying it. Output to.

指示を受けた注釈文抽出部109は、テキスト文保持部
105に保持されているその図式記号に対応するテキス
ト文から概略を表示する注釈文を抽出する。
Upon receiving the instruction, the annotation sentence extracting unit 109 extracts an annotation sentence that displays the outline from the text sentence corresponding to the graphical symbol held in the text sentence holding unit 105.

そして、図式記号作成部108は注釈文抽出部109で
の注釈文の抽出が完了した時点で出力部107に図式記
号の概略表示を指示する。
Then, the graphical symbol creation unit 108 instructs the output unit 107 to display an outline of the graphical symbol when the annotation text extraction unit 109 completes extraction of the annotation text.

概略表示の指示を受けた出力部107は、図式記号作成
部108により作成された新たな図式記号と注釈文抽出
部109により抽出された注釈文とを合成して入出力装
置101へ出力する。これにより、入出力装置101に
よって表示が行われる。
The output unit 107 that has received the instruction to display the outline combines the new graphical symbol created by the graphical symbol creation unit 108 and the annotation text extracted by the annotation text extraction unit 109, and outputs the composite to the input/output device 101. As a result, display is performed by the input/output device 101.

第2図は第1図におけるレベル解析部106の処理の詳
細を示すフローチャートである。しかして、レベル解析
部106は、受は取った図式記号が構造化用ブロックの
開始を示すものであるか否かを判断しくステップ201
)、ブロックの開始を示すものである場合にはメモリ 
(図示せず)中に保持されているブロックの階層レベル
を1つ増加しくステップ202)、増加したブロックの
階層レベルを一時的(後述のステップ206の判断が終
了するまでの間)に1z減少しくステップ205)、ス
テップ206に制御を移す、なお、階層レベルを一時的
に減少するのは、ブロックの開始を示す図式記号が含ま
れている行目体は前の階層レベルであるからである。ま
た、ブロックの開始を示すものでない場合にはその図式
記号がブロックの終了を示すものであるか否かを判断し
くステップ203)、ブロックの終了を示すものである
場合にはブロックの階層レベルを1つ減少しくステップ
204)、ステップ206に制御を移す、また、両者ど
ちらでもないときは直接ステップ206に制御が移る。
FIG. 2 is a flowchart showing details of the processing of the level analysis section 106 in FIG. 1. Therefore, the level analysis unit 106 determines whether the received graphical symbol indicates the start of a structuring block (step 201).
), memory if it marks the start of a block
(Step 202) in which the hierarchy level of the block held in the block is increased by one (not shown), and the hierarchy level of the increased block is temporarily decreased by 1z (until the determination in Step 206 described below is completed). Step 205) transfers control to step 206, where the hierarchy level is temporarily reduced because the line containing the graphical symbol indicating the start of a block is at the previous hierarchy level. . If the graphical symbol does not indicate the start of the block, it is determined whether the graphical symbol indicates the end of the block (step 203), and if it indicates the end of the block, the hierarchical level of the block is determined. The control is then decreased by one (step 204) and then the control is transferred to step 206. If neither of the two is the case, the control is transferred directly to step 206.

次いで、ステップ206ではその図式記号の階層レベル
がレベル保持部102(第1図参照)に保持された階層
レベル以下であるか否かを判断し、以下である場合はそ
の図式記号は表示すべきものであると判断し、表示済み
フラグをOFFにしくステップ209)、出力部107
 (第1図参照)に表示を指示する。
Next, in step 206, it is determined whether the hierarchical level of the graphical symbol is lower than or equal to the hierarchical level held in the level holding unit 102 (see FIG. 1), and if it is, the graphical symbol is determined to be displayed. It is determined that the displayed flag is turned off (step 209), and the output unit 107
(See Figure 1).

また、図式記号の階層レベルが表示すべき階層レベルよ
り大きい場合には、その図式記号は概略のみを表示すべ
きであると判断し、表示済みフラグを参照して既に注釈
文の表示が行われているか否かを判断しくステップ20
7)、行われていなければ表示済みフラグをONにしく
ステップ208)、図式記号作成部108.注釈文抽出
部109、出力部107に注釈文の表示を指示する。ま
た、既に表示が行われている場合には次のブロックの構
造図の読み込みに直接移行する。なお、表示済みフラグ
を設けているのは、概略のみを表示する場合に、以降連
続して同様の図式記号が現れても最初の図式記号のみに
ついて概略表示を行うようにするためである。
Additionally, if the hierarchical level of a graphical symbol is higher than the hierarchical level that should be displayed, it is determined that only the outline of the graphical symbol should be displayed, and the annotation text is already displayed by referring to the displayed flag. Step 20:
7), if it has not been done, turn on the displayed flag (step 208), graphical symbol creation unit 108. The annotation sentence extraction unit 109 and output unit 107 are instructed to display the annotation sentence. In addition, if the display has already been performed, the process moves directly to reading the structure diagram of the next block. Note that the reason why the displayed flag is provided is to display only the outline of the first graphical symbol even if similar graphical symbols appear consecutively when only the outline is displayed.

第3図は表示の例を示したものであり、(alは全ての
階層レベルの表示を行った状態、(blは階層レベル1
までの表示を指示した場合の表示である。
Figure 3 shows an example of the display, where (al is the state where all hierarchical levels are displayed, (bl is the state where all hierarchical levels are displayed, and (bl is the state where hierarchical level 1 is displayed.
This is the display when the display up to is instructed.

すなわち、+a+において罫線(−、l)やシンボル(
0,◇、−)が図式記号であり、図式記号の右側に記述
されている文字列がテキスト文である。
In other words, in +a+, ruled lines (-, l) and symbols (
0, ◇, -) are graphical symbols, and the character string written on the right side of the graphical symbol is a text sentence.

また、テキスト文中の「/*」と「*/」の間の文字列
が注釈文である。なお、本例の図式記号では縦の罫線(
1)が階層レベルを表しており、最左端の縦の罫線を階
層レベルl (最も高いレベル)として、各図式記号が
交わっている縦の罫線までの縦の罫線の数がその図式記
号の階層レベルを表している。
Furthermore, the character string between "/*" and "*/" in the text sentence is an annotation sentence. In addition, in this example of the graphical symbol, the vertical ruled line (
1) represents the hierarchical level, and the leftmost vertical ruled line is the hierarchical level l (highest level), and the number of vertical ruled lines up to the vertical ruled line where each graphical symbol intersects is the hierarchical level of that graphical symbol. represents the level.

しかして、+alの図中の「表示レベル?」を含む枠部
分において参照したいプログラム構造図の階層レベルと
してレベルlを指示したとすると、前述した動作により
その値が取り込まれ、各図式記号がこの値に適合するか
否かが判断され、指示された階層レベル以下であればそ
のままの表示とされ、大きければ概略表示とされる。す
なわち、1行目の図式記号「−」および2行目の図式記
号rOJは階層レベルlであるのでそのままテキスト文
と共に表示され、3行目の図式記号「−」から7行目の
図式記号「=」までは階層レベル2以上であるため3行
目のテキスト文中の注釈文である「更新処理」だけが罫
線と共に表示される。同様に、8行目、11行目および
12行目の図式記号は階層レベル1であるのでそのまま
テキスト文と共に表示され、9行目および10行目の図
式記号は階層レベル2であるので9行目のテキスト文中
の注釈文である「異常処理」だけが罫線と共に表示され
る。
Therefore, if you specify level l as the hierarchical level of the program structure diagram that you want to refer to in the box containing "Display level?" It is determined whether the value matches the value, and if it is below the specified hierarchy level, it is displayed as is, and if it is larger, it is displayed as a summary. In other words, the graphical symbol "-" on the first line and the graphical symbol rOJ on the second line are displayed as they are along with the text since they are at hierarchy level l, and the graphical symbol "-" on the third line to the graphical symbol "rOJ" on the seventh line =" is at the hierarchy level 2 or higher, so only the annotation "update process" in the text on the third line is displayed together with the ruled line. Similarly, the graphical symbols in the 8th, 11th, and 12th lines are at hierarchy level 1, so they are displayed as they are with the text, and the 9th and 10th graphical symbols are at hierarchy level 2, so they are displayed in 9th line. Only the annotation sentence "Abnormal Processing" in the text text is displayed with ruled lines.

この結果伽】に示すようなプログラム構造図が表示され
ることになる。
As a result, a program structure diagram as shown in Figure 3 will be displayed.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明の図式プログラムエディタに
おける1llN別プログラム表示方式にあっては、参照
したいプログラム構造図の階層レベルを指示することに
より自動的にその階層レベルまでのプログラム構造図を
表示させることができるので、人間の思考過程に沿った
階層的なプログラム構造の理解が促進され、プログラム
開発の保守作業効率の向上を図ることができる効果があ
る。
As explained above, in the 1llN program display method in the graphical program editor of the present invention, by specifying the hierarchical level of the program structure diagram that you want to refer to, the program structure diagram up to that hierarchical level is automatically displayed. This facilitates understanding of the hierarchical program structure that follows the human thought process, and has the effect of improving the efficiency of program development and maintenance work.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の図式プログラムエディタにおける階層
別プログラム表示方式の一実施例を示す構成図、 第2図は第1図におけるレベル解析部の処理を示すフロ
ーチャートおよび、 第3図は表示の例を示す図である。 図において、 101・・・入出力装置 102・・・レベル保持部 103・・・プログラム構造読込部 104・・・図式記号保持部 105・・・テキスト文保持部 106・・・レベル解析部 107・・・出力部 108・・・図式記号作成部 109・・・注釈文抽出部
FIG. 1 is a block diagram showing an embodiment of the hierarchical program display method in the graphical program editor of the present invention, FIG. 2 is a flowchart showing the processing of the level analysis section in FIG. 1, and FIG. 3 is an example of display. FIG. In the figure, 101... Input/output device 102... Level holding section 103... Program structure reading section 104... Diagram symbol holding section 105... Text statement holding section 106... Level analysis section 107. ...Output section 108...Graphic symbol creation section 109...Annotation sentence extraction section

Claims (1)

【特許請求の範囲】 図式プログラムエディタにより作成されたプログラム構
造図を読み込み、図式記号とそれに付随するテキスト文
とに分類してそれぞれを出力するプログラム構造読込部
と、 出力された図式記号およびテキスト文をそれぞれ保持す
る図式記号保持部およびテキスト文保持部と、 表示すべきプログラム構造図の階層レベルを入力装置よ
り入力して保持するレベル保持部と、前記図式記号保持
部に保持されている図式記号から階層レベルを割り出し
、前記レベル保持部に保持されている階層レベルと比較
して表示方法を判断するレベル解析部と、 前記レベル解析部より注釈文を表示する旨の指示を受け
た際に、プログラム構造図の概略を表す図式記号を作成
すると共に、図式記号に付随すべき注釈文を前記テキス
ト文保持部に保持されているテキスト文より抽出する図
式記号作成部および注釈文抽出部と、 前記図式記号保持部に保持されている図式記号および前
記テキスト文保持部に保持されているテキスト文、もし
くは前記図式記号作成部により作成された図式記号およ
び前記注釈文抽出部により抽出された注釈文を表示装置
に出力する出力部とを備えたことを特徴とする図式プロ
グラムエディタにおける階層別プログラム表示方式。
[Claims] A program structure reading unit that reads a program structure diagram created by a graphical program editor, classifies it into graphical symbols and accompanying text sentences, and outputs each of them; and the outputted graphical symbols and text sentences. a graphical symbol holding section and a text statement holding section that respectively hold the information, a level holding section that inputs and holds the hierarchical level of the program structure diagram to be displayed through an input device, and a graphical symbol holding section that holds the graphical symbols held in the graphical symbol holding section. a level analysis unit that determines the hierarchy level from the hierarchy level and compares it with the hierarchy level held in the level storage unit to determine the display method; and upon receiving an instruction from the level analysis unit to display the annotation text, a diagrammatic symbol creation unit and an annotation text extraction unit that create a diagrammatic symbol representing an outline of a program structure diagram, and extract an annotation text to be attached to the diagrammatic symbol from a text sentence held in the text sentence storage unit; Graphical symbols held in the graphical symbol holding unit and text sentences held in the text sentence holding unit, or graphical symbols created by the graphical symbol creation unit and annotation sentences extracted by the annotation text extraction unit. A hierarchical program display method in a graphical program editor, characterized by comprising an output section for outputting to a display device.
JP29529388A 1988-11-22 1988-11-22 Program display system sorted by hierarchy in graphic program editor Pending JPH02140828A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP29529388A JPH02140828A (en) 1988-11-22 1988-11-22 Program display system sorted by hierarchy in graphic program editor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP29529388A JPH02140828A (en) 1988-11-22 1988-11-22 Program display system sorted by hierarchy in graphic program editor

Publications (1)

Publication Number Publication Date
JPH02140828A true JPH02140828A (en) 1990-05-30

Family

ID=17818729

Family Applications (1)

Application Number Title Priority Date Filing Date
JP29529388A Pending JPH02140828A (en) 1988-11-22 1988-11-22 Program display system sorted by hierarchy in graphic program editor

Country Status (1)

Country Link
JP (1) JPH02140828A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0926873A (en) * 1995-05-31 1997-01-28 Internatl Business Mach Corp <Ibm> Method and system for discrimination of class relationship of object-oriented system
US7272450B2 (en) * 2004-03-31 2007-09-18 Omron Corporation Development aid device
JP2009086922A (en) * 2007-09-28 2009-04-23 Toshiba Mitsubishi-Electric Industrial System Corp Program editing device
JP2011039618A (en) * 2009-08-07 2011-02-24 Meidensha Corp Software development support system, support method, and program
JP2011086118A (en) * 2009-10-15 2011-04-28 Yokogawa Electric Corp Program input device
JP2013025716A (en) * 2011-07-25 2013-02-04 Shinichi Ishida Device and program for supporting structure analysis of module

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60221828A (en) * 1984-04-18 1985-11-06 Nec Corp Program outputting method
JPS62262136A (en) * 1986-05-08 1987-11-14 Fujitsu Ltd Program edition and display system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60221828A (en) * 1984-04-18 1985-11-06 Nec Corp Program outputting method
JPS62262136A (en) * 1986-05-08 1987-11-14 Fujitsu Ltd Program edition and display system

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0926873A (en) * 1995-05-31 1997-01-28 Internatl Business Mach Corp <Ibm> Method and system for discrimination of class relationship of object-oriented system
US7272450B2 (en) * 2004-03-31 2007-09-18 Omron Corporation Development aid device
JP2009086922A (en) * 2007-09-28 2009-04-23 Toshiba Mitsubishi-Electric Industrial System Corp Program editing device
JP2011039618A (en) * 2009-08-07 2011-02-24 Meidensha Corp Software development support system, support method, and program
JP2011086118A (en) * 2009-10-15 2011-04-28 Yokogawa Electric Corp Program input device
JP2013025716A (en) * 2011-07-25 2013-02-04 Shinichi Ishida Device and program for supporting structure analysis of module
US9128807B2 (en) 2011-07-25 2015-09-08 Shinichi Ishida Module structural analysis supporting device and program

Similar Documents

Publication Publication Date Title
JPH02140828A (en) Program display system sorted by hierarchy in graphic program editor
JPS63289667A (en) Japanese document editor
JPH04167049A (en) Document processor
JPS60186904A (en) Program input system
JPS63109578A (en) Processing system for logic diagram outline display
JP2973906B2 (en) Character user interface device
JP3112298B2 (en) Program text editing device
JPH1115826A (en) Document analyzer and its method
JPH1055364A (en) Character and figure editing device
JPH01149162A (en) System for controlling syllable hyphen display and non-display
JPH01236324A (en) Program design supporting system
JPS60200359A (en) Simple sentence producer
JPH04178728A (en) Program structure display and output system
JPS61259337A (en) Electronic memo device
JPH0734193B2 (en) Text-separated learning system
JP2729996B2 (en) Document processing apparatus and method
JPS61160139A (en) Automatic stepping editor of program list
JPH0675958A (en) Document processor
JPH0793329A (en) Document processor and allocating method for document
JP3347322B2 (en) Document processing apparatus and document processing method in the apparatus
JPS62166441A (en) Conversational type interruption information display system
JPH04139568A (en) Document processor
JPH0785026A (en) Method and device for revising dictionary
JPH03130828A (en) Flow chart producing device
JPH02308328A (en) Source code explanatory sentence editing system