JPH01134674A - System for processing tree structure data drawing - Google Patents

System for processing tree structure data drawing

Info

Publication number
JPH01134674A
JPH01134674A JP62293741A JP29374187A JPH01134674A JP H01134674 A JPH01134674 A JP H01134674A JP 62293741 A JP62293741 A JP 62293741A JP 29374187 A JP29374187 A JP 29374187A JP H01134674 A JPH01134674 A JP H01134674A
Authority
JP
Japan
Prior art keywords
tree structure
information
processing
tree
graphic
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.)
Granted
Application number
JP62293741A
Other languages
Japanese (ja)
Other versions
JPH0654468B2 (en
Inventor
Masayuki Sawamura
雅之 澤村
Yasuhiro Nakada
康博 中駄
Yutaka Usuda
裕 臼田
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.)
Hitachi Software Engineering Co Ltd
Original Assignee
Hitachi Software Engineering 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 Hitachi Software Engineering Co Ltd filed Critical Hitachi Software Engineering Co Ltd
Priority to JP62293741A priority Critical patent/JPH0654468B2/en
Publication of JPH01134674A publication Critical patent/JPH01134674A/en
Publication of JPH0654468B2 publication Critical patent/JPH0654468B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

PURPOSE:To prepare tree structure in a short time by executing a positioning with simple processing to use a returning call when the master and slave of the tree structure and linked and the arrangement of the slave and the position of the master are determined. CONSTITUTION:Information to be inputted from an input device 1 are converted to tree structure information operation by an input information converting part 21 and a result is stored to a storing part 22. Based on these three structure information and input parameter information from a storing part 23, a positioning processing is executed in a processing part 24. The result is stored to a storing part 25 and outputted to a display device 3 of a CRT, etc., or a printer 4 by a display part 26 or a printer output part 27. On the other hand, when a tree structure chart is prepared from the three structure data, the positioning is executed with the simple processing to use the returning call in case of the master and slave of the tree structure are linked and the arrangement of the slave and the position of the master are determined. Accordingly, the realizing method of the processing goes to be simple and a processing time is shortened.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、データ処理装置において、入力された図形や
文字等のデータを木構造図の構成要素とする時、木構造
図の作成1編集、出力等を行う木構造データ作図処理方
式に関し、特に、図形情報の表示もしくは記録に要する
面積が少なく、かつ、利用者にとって見易いように図形
情報の配置を自動的に決定する技術に関するものである
[Detailed Description of the Invention] [Industrial Application Field] The present invention provides a method for creating and editing a tree structure diagram when input data such as figures and characters is used as constituent elements of a tree structure diagram in a data processing device. , relates to a tree structure data drawing processing method for outputting etc., and in particular relates to a technology that automatically determines the arrangement of graphic information so that the area required for displaying or recording graphic information is small and it is easy for the user to see. .

〔従来の技術〕[Conventional technology]

従来、データ処理装置において、木構造型のデータを扱
う場合が多くある。特に、プログラム開発時において、
従来使われてきたフローチャートに代わって木構造図(
チャート)が普及してきた(日経コンピュータ、198
4.1.9.P71)。
Conventionally, data processing devices often handle tree-structured data. Especially when developing a program,
A tree structure diagram (
chart) has become popular (Nikkei Computer, 198
4.1.9. P71).

さらに高機能ワークステーションの普及に伴い、本構造
図をデータ処理装置で扱う様になってきた(日経コンピ
ュータ、1987.8.17.Pi49)。
Furthermore, with the spread of high-performance workstations, this structural diagram has come to be handled by data processing equipment (Nikkei Computer, 1987.8.17.Pi49).

木構造図を扱う装置としては、例えば、特開昭60−1
.0226号公報に記載されるように、木構造チャート
・テスト処理装置がある。木構造データを扱う場合には
1本構造を形成している各要素の位置を決め、木構造図
を作成する必要があるが前記公報はこの技術について述
べていない。
As a device for handling tree structure diagrams, for example, JP-A-60-1
.. As described in Japanese Patent No. 0226, there is a tree structure chart test processing device. When dealing with tree structure data, it is necessary to determine the position of each element forming a single structure and create a tree structure diagram, but the above-mentioned publication does not mention this technique.

また、木構造図の作成に関しては、特開昭62−142
65号公報にボックスを構成要素とした場合のボックス
間の親子関係情報を用いて作図する方法、すなわち、木
構造データの構成要素をボックスとした場合の配置を1
本構造の論理関係から導き出すことができることが開示
されている。
Regarding the creation of tree structure diagrams, please refer to JP-A-62-142
Publication No. 65 describes a method of drawing using parent-child relationship information between boxes when boxes are used as constituent elements, that is, the arrangement when the constituent elements of tree structure data are boxes.
It is disclosed that what can be derived from the logical relationships of this structure.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

しかしながら、前記従来のボックスを構成要素とした場
合のボックス間の親子関係情報を用いて作図する方法で
は、木構造図の構成要素を最初の左詰めで座標を設定し
、次に各構成要素に対して補正値を求め、最後にその補
正値を使って配置する座標を決定するという三段階を経
て作図される。
However, in the conventional drawing method using parent-child relationship information between boxes when boxes are used as constituent elements, coordinates are set for the constituent elements of the tree structure diagram by first aligning them to the left, and then each constituent element is The plot is drawn in three steps: finding a correction value for the object, and finally determining the coordinates for placement using the correction value.

このため、構成要素が多くなるにつれて処理時間がかか
り、また、処理の実現方法も複雑であるという問題があ
った。
Therefore, as the number of components increases, processing time increases, and the method for implementing the processing is also complicated.

本発明は、前記問題点を解決するためになされたもので
ある。
The present invention has been made to solve the above problems.

本発明の目的は、ボックスを構成要素とした場合のボッ
クス間の親子関係情報を用いて作図する木構造データ作
図処理方式であって、処理段階を低減することができ、
かつ処理時間を短縮することができる技術を提供するこ
とにある。
An object of the present invention is to provide a tree structure data drawing processing method for drawing using parent-child relationship information between boxes when boxes are used as constituent elements, which is capable of reducing processing steps.
Another object of the present invention is to provide a technology that can shorten processing time.

本発明の他の目的は、ボックスを構成要素とした場合の
ボックス間の親子関係情報を用いて作図する木構造デー
タ作図処理方式であって、図形情報の表示もしくは記録
に要する面積が少なく、かつ、利用者にとって見易いよ
うに図形情報の配置を自動的に決定することができる技
術を提供することにある。
Another object of the present invention is to provide a tree structure data drawing processing method for drawing using parent-child relationship information between boxes when boxes are used as constituent elements, which requires less area for displaying or recording figure information, and The object of the present invention is to provide a technology that can automatically determine the arrangement of graphic information so that it is easy for the user to view.

本発明の前記ならびにその他の目的と新規な特徴は、本
明細書の記述及び添付図面によって明らかになるであろ
う。
The above and other objects and novel features of the present invention will become apparent from the description of this specification and the accompanying drawings.

〔問題点を解決するための手段〕[Means for solving problems]

本願において開示される発明のうち、代表的なものの概
要を簡単に説明すれば、下記のとおりである。
A brief overview of typical inventions disclosed in this application is as follows.

すなわち、データ処理装置における木構造情報を保持す
る情報記憶媒体からの木構造の親子・兄弟関係にある情
報を図形情報に変換し、この図形情報を表示もしくは記
録する木構造データ作図処理方式であって、前記図形情
報の表示もしくは記録に要する面積が少なく、かつ、利
用者にとって見易いように図形情報の配置を自動的に決
定することを主な特徴とする木構造データ作図処理方式
前述した手段によれば、木構造の親と子を結ぶ時、子供
の配置と親の位置を決定する時に再帰呼び出しを用いた
簡単な処理により、短時間に木構造図が作成される。ま
た、パラメータ情報に基づいてバランスをとっているた
め、見易い木構造図が作成される。
In other words, it is a tree structure data drawing processing method that converts information in parent-child/sibling relationships of a tree structure from an information storage medium holding tree structure information in a data processing device into graphic information, and displays or records this graphic information. A tree-structured data drawing processing method, the main feature of which is that the area required for displaying or recording the graphical information is small, and the layout of the graphical information is automatically determined so that it is easy for the user to see. According to the above, a tree structure diagram can be created in a short time by simple processing using recursive calls when connecting parents and children of a tree structure and determining the placement of children and the position of the parent. Furthermore, since balance is achieved based on parameter information, an easy-to-read tree structure diagram is created.

〔発明の原理〕[Principle of the invention]

本発明は、木構造データの構成要素の位置を木構造デー
タの論理関係から一意に決定し、かつその時、配置のバ
ランスを予め与えられたパラメータ情報に基づいて設定
できるものである。この時の実現方法として再帰的手法
を用いることにより、非常に簡単な処理で位置決めが行
われているので、処理の実現方法を簡単にすることがで
き、かつ処理時間も短縮することができる。
The present invention uniquely determines the positions of constituent elements of tree-structured data from the logical relationships of the tree-structured data, and at the same time, it is possible to set the balance of the arrangement based on parameter information given in advance. By using a recursive method as an implementation method at this time, positioning is performed with very simple processing, so that the implementation method of the processing can be simplified and the processing time can also be shortened.

次に、r再帰的手法」について説明する。Next, the ``recursive method'' will be explained.

ある処理を実現する時に、処理の中に自分自身が含まれ
ている時、再帰的であると言われる。これは、数学の漸
化式と同様なものである。
When a process is implemented and itself is included in the process, it is said to be recursive. This is similar to a recurrence formula in mathematics.

再帰的手法によって階乗を求める例を示すと、p!=1
+ p==oの時 PI=PX (P−1)l、Proの時これをPa5c
al言語で記述すると次の様になる。
To give an example of finding the factorial using the recursive method, p! =1
+ When p==o, PI=PX (P-1)l, when Pro, use this as Pa5c
When written in al language, it looks like this:

function  F (1: intager) 
 : integer ;begin  if  I>
Othen  F:=I*F  (I−1)else 
 F : = 1 end この例をフローチャート(流れ図)で示すと第10図の
ようになる。
function F (1: intager)
: integer ;begin if I>
Othen F:=I*F (I-1) else
F:=1 end This example is shown in a flowchart as shown in FIG.

前記の例をI=5として実行すると次の様に動作する。When the above example is executed with I=5, the operation is as follows.

F(5)=5申F(4)→F(4)がコールされるF(
4)=4串F(3)→F(3) F(3)=3傘F(2)→F(2)     l/F(
2)=2吻F(1)→F(1) F(1)=1ws F(0))F(0)F(0)=1 
    →F(0)に1がセットされるF(1)=1 
    →F(1)に1F(2)=2     →F(
2)に2F(3)=6     →F(3)に6F(4
)=24    →F(4)に24F(5)=120 
  →F(5)に120〔発明の実施例〕 以下、本発明の一実施例を図面を用いて具体的に説明す
る。
F(5)=5F(4)→F(4) is called F(
4)=4 skewers F(3)→F(3) F(3)=3 umbrellas F(2)→F(2) l/F(
2) = 2 proboscis F(1) → F(1) F(1) = 1ws F(0)) F(0) F(0) = 1
→1 is set in F(0) F(1) = 1
→F(1) to 1F(2)=2 →F(
2) to 2F(3) = 6 → F(3) to 6F(4
)=24 → F(4) to 24F(5)=120
→F(5) 120 [Embodiment of the Invention] Hereinafter, an embodiment of the present invention will be specifically described using the drawings.

なお、実施例を説明するための全回において。In addition, in all the times for explaining the example.

同一機能を有するものは同一符号を付け、その繰り返し
の説明は省略する。
Components having the same function are given the same reference numerals, and repeated explanations thereof will be omitted.

第1図は、本発明の一実施例の木構造データ処理装置の
概略構成を示すブロック図。
FIG. 1 is a block diagram showing a schematic configuration of a tree-structured data processing device according to an embodiment of the present invention.

第2図及び第3図は、本発明に係る位置決定処理のフロ
ーチャート(流れ図)の−例を示す説明図。
FIGS. 2 and 3 are explanatory diagrams showing examples of flowcharts of position determination processing according to the present invention.

第4図は、第1図に示す木構造情報記憶部のデータ例を
示す説明図、 第5図は、本発明により位置決めされた例を示す説明図
、 第6図は、本発明による位置決めが行われる過程を示す
説明図、 第7図は、本発明を適用したP A D (P rob
l、emA nalysis D iagram)での
テキスト表現の一例を示す説明図、 第8図は、本発明によるテキストがPAD図に変換され
た例を示す説明図である。
FIG. 4 is an explanatory diagram showing an example of data in the tree structure information storage section shown in FIG. 1; FIG. 5 is an explanatory diagram showing an example of positioning according to the present invention; FIG. An explanatory diagram showing the process to be carried out, FIG. 7 is a PAD (Prob
FIG. 8 is an explanatory diagram showing an example of text expression in a PAD diagram according to the present invention.

本実施例の木構造データ処理装置は、第1図に示すよう
に、キーボード、マウス等からなる入力装置1.コンピ
ュータからなるデータ処理装置2゜処理された情報を表
示するための表示装置3、処理された情報を記録印刷す
るためのプリンタ4が備えられている。データ処理装置
2は、入力装置1から入力された情報を木構造情報操作
に変換するための入力情報変換部21.この入力情報変
換部21で変換された情報を格納するための木構造情報
記憶部22.入力装置1から入力された情報にパラメー
タを付加するためのパラメータ情報記憶部23、木構造
情報記憶部22及びパラメータ情報記憶部23の情報を
読出してその情報の位置決定の処理を行うための位置決
定処理部24、この位置決定処理部24で処理された図
形・文字情報を記憶するための図形・文字情報記憶部2
5.この図形・文字情報記憶部25に格納されている情
報を表示装置3に表示するための表示部26、前記図形
・文字情報記憶部25に格納されている情報をプリンタ
4に印刷するためのプリンタ出力部27からなっている
As shown in FIG. 1, the tree-structured data processing apparatus of this embodiment includes an input device 1 consisting of a keyboard, a mouse, etc. A data processing device 2 consisting of a computer is equipped with a display device 3 for displaying processed information, and a printer 4 for recording and printing the processed information. The data processing device 2 includes an input information conversion unit 21 for converting information input from the input device 1 into tree structure information operations. A tree structure information storage section 22 for storing information converted by the input information conversion section 21. A parameter information storage unit 23 for adding parameters to information input from the input device 1, a position for reading out information in the tree structure information storage unit 22 and parameter information storage unit 23, and performing processing for determining the position of the information. A determination processing section 24, a graphic/character information storage section 2 for storing the graphic/character information processed by the position determination processing section 24.
5. A display section 26 for displaying the information stored in the graphic/character information storage section 25 on the display device 3; a printer for printing the information stored in the graphic/character information storage section 25 on the printer 4; It consists of an output section 27.

次に、本実施例の処理手順を第1図及、び第2図を用い
て説明する。
Next, the processing procedure of this embodiment will be explained using FIGS. 1 and 2.

第1図及び第2図において、入力装置1から入力された
情報は、入力情報変換部21で木構造情報操作に変換さ
れる(ステップ100〜500)。
In FIGS. 1 and 2, information input from the input device 1 is converted into tree structure information operations by the input information converter 21 (steps 100 to 500).

その結果は、木構造情報記憶部22に記憶される。The result is stored in the tree structure information storage section 22.

この木構造情報記憶部22に記憶される情報は、例えば
、第5図に示す木構造図の場合、第4図に示す様に記憶
される。この木構造情報とパラメータ情報記憶部23か
らの入力パラメータ情報に基づいて位置決定処理が動く
 (ステップ600)。その結果は、図形・文字情報記
憶部25に記憶され、表示部26又はプリンタ出力部2
7により、CRT等の表示装置3又はプリンタ4に出力
される。
For example, in the case of the tree structure diagram shown in FIG. 5, the information stored in the tree structure information storage section 22 is stored as shown in FIG. 4. Position determination processing is performed based on this tree structure information and input parameter information from the parameter information storage section 23 (step 600). The results are stored in the graphic/character information storage section 25 and displayed on the display section 26 or the printer output section 2.
7, the image is output to a display device 3 such as a CRT or a printer 4.

次に、第3図に基づいて、第4図に示す木構造データか
ら第5図に示す木構造図が作成される例を説明する。
Next, based on FIG. 3, an example in which the tree structure diagram shown in FIG. 5 is created from the tree structure data shown in FIG. 4 will be explained.

第4図及び第5図において、木構造を構成する要素はボ
ックスとし、各々にノード番号を付ける。
In FIGS. 4 and 5, the elements constituting the tree structure are boxes, and each node is given a node number.

ノード番号0のボックスを第0階層位置と定義し、第N
桁のノードの番号のボックスを第N階層位置と呼ぶ。第
N階層のボックスの中で一番上のボックスが1つ前の階
層のボックスに対して上方向に指している。子のボック
スに対しては、親は右方向に指しており、兄弟に対して
は、上下が指し合っている。
The box with node number 0 is defined as the 0th hierarchy position, and the
The box with the number of the digit node is called the Nth hierarchy position. The top box among the boxes in the N-th hierarchy points upward with respect to the box in the previous hierarchy. For child boxes, the parent points to the right, and for siblings, the top and bottom point to each other.

第3図において、まず、最初にボックス110 I+に
対して第2図に示すステップ600から第3図に示すス
テップ601をコールして処理がスタートする(第6図
参照)。ボックス″o”に対してステップ602で一番
上の位置が仮設定され、ステップ603で右ノード(子
ツリー)が存在するか否かの判断を行う。その判断がY
ESであれば、ステップ604でボックス111 I+
に対してステップ601が再帰的にコールされる。No
であればステップ608に進む。以下同様にボックス゛
111″の位置に対してステップ601がコールされる
と、ステップ605で右ノード設定値のリターン値と仮
設定値と比較して両者が等しいときは、ステップ608
によりボックス“111”の位置が定義される。仮設定
値が右ノード設定値のリターン値より大きいときは、右
ノード設定値を仮設定値と右ノードリターン値の差だけ
上げて、ステップ608によりボックス゛’111”の
位置が定義される。また、仮設定値が右ノード設定値の
リターン値より小さいときは、仮設定値を右ノード設定
値のリターン値まで上げて等しくし、ステップ608に
よりボックス“111 ”の位置が定義(決定)される
In FIG. 3, the process starts by calling the box 110 I+ from step 600 shown in FIG. 2 to step 601 shown in FIG. 3 (see FIG. 6). In step 602, the top position of box "o" is provisionally set, and in step 603, it is determined whether a right node (child tree) exists. That judgment is Y
If ES, in step 604 box 111 I+
Step 601 is called recursively. No
If so, proceed to step 608. Similarly, when step 601 is called for the position of box "111", step 605 compares the return value of the right node setting value with the temporary setting value, and if the two are equal, step 608
defines the position of box "111". When the temporary setting value is larger than the return value of the right node setting value, the right node setting value is increased by the difference between the temporary setting value and the right node return value, and the position of the box "'111" is defined in step 608. , when the temporary setting value is smaller than the return value of the right node setting value, the temporary setting value is increased to the return value of the right node setting value to make it equal, and the position of the box "111" is defined (determined) in step 608. .

次に、ステップ609で下ノード(兄弟ツリー)が存在
するか否かを判断する。この判断がYESであれば、ス
テップ610に移り、下ノード、すなわちボックス“1
12”’、”113”に対してステップがコールされ、
ステップ608によりそれぞれの位置が決まる[第6図
(a)]。
Next, in step 609, it is determined whether a lower node (sibling tree) exists. If this determination is YES, the process moves to step 610, and the lower node, that is, the box “1”
Steps are called for 12''', ``113'',
Each position is determined in step 608 [FIG. 6(a)].

次に、ステップ609での判断がNOの場合、すなわち
、ボックス“113”の下ノードは存在しないため、ス
テップ611によりパラメータによって次の接続位置を
求める。これにより、ボックス11111”〜“113
 ”とボックス“11″の接続位置がきまる。このパラ
メータにより、木構造図は第9図の(a)や(b)の例
のようにもできる。
Next, if the determination at step 609 is NO, that is, there is no lower node of box "113," then step 611 determines the next connection position using the parameters. As a result, boxes 11111” to “113”
” and the box “11” are determined. By using these parameters, a tree structure diagram can be created as shown in the examples of FIG. 9 (a) and (b).

次に再帰コールからステップ612によりボックス“1
1″のステップ604に戻り、ステップ605からステ
ップ606を通り、ステップ608によりボックス“1
1”に位置が決まる。そして、ステップ610からボッ
クス“12”に対しステップ601がコールされ、ステ
ップ608により位置が決まる[第6図(b)]、この
ようにして次々と位置が決まり、最後にボックス/# 
OI+が決まって処理が終了して第2図に示すステップ
600に戻る[第6図(C)]。
Next, from the recursive call, box "1" is entered by step 612.
1", returns to step 604, passes through steps 605 and 606, and returns to box "1" in step 608.
Then, step 601 is called for box "12" from step 610, and the position is determined in step 608 [Figure 6(b)]. In this way, the positions are determined one after another, and finally box/#
Once OI+ is determined, the process ends and returns to step 600 shown in FIG. 2 [FIG. 6(C)].

以上述べた手段を木構造チャートPADに適用した例を
次に示す。
An example in which the means described above is applied to a tree structure chart PAD will be shown below.

第7図にPADの構成要素のシンボルを示す。FIG. 7 shows symbols of the components of PAD.

各シンボルは、第8図の(a)に示すテキストに対応し
て本発明により位置が決定され、第8図の(b)に示す
PAD図が作成される。
The position of each symbol is determined according to the present invention in accordance with the text shown in FIG. 8(a), and the PAD diagram shown in FIG. 8(b) is created.

第8図中、MOVE  AA  To  BB−MOV
E  EE  To  FFに対応する3つの処理シン
ボルの位置が決定され、条件1のIFシンボルとの接続
関係からIFシンボルの位置が決定され、さらに条件2
反復シンボルとIFシンボルとの接続関係からIFシン
ボルの大きさが決まっている。
In Figure 8, MOVE AA To BB-MOV
The positions of the three processing symbols corresponding to E EE To FF are determined, the position of the IF symbol is determined from the connection relationship with the IF symbol of condition 1, and then condition 2 is determined.
The size of the IF symbol is determined by the connection relationship between the repetition symbol and the IF symbol.

以上の説明かられかるように、本実施例によれば、木構
造の親と子を結ぶ時、子供の配置と親の位置を決定する
時に再帰呼び出しを用いた簡単な処理により、短時間に
木構造図が作成される。また、木構造図作成時にバラン
スを考慮して作図ができる。この時のバランスは、パラ
メータによりセンタリングやある方向へ寄せたり、中間
にしたりできるので、種々の木構造図に対して最も見易
い作図を行うことができる。
As can be seen from the above explanation, according to this embodiment, when connecting the parent and child of the tree structure, when determining the placement of the child and the position of the parent, a simple process using recursive calls can be used in a short time. A tree structure diagram is created. Also, when creating a tree structure diagram, you can draw it with balance in mind. The balance at this time can be centered, moved toward a certain direction, or set in the middle depending on the parameters, so that the most legible drawings can be made for various tree structure drawings.

以上1本発明を実施例にもとづき具体的に説明したが、
本発明は、前記実施例に限定されるものではなく、その
要旨を逸脱しない範囲において種々変更可能であること
は言うまでもない。
The present invention has been specifically explained above based on examples, but
It goes without saying that the present invention is not limited to the embodiments described above, and can be modified in various ways without departing from the spirit thereof.

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

以上、説明したように、本発明によれば、木構造の親と
子を結ぶ時、子供の配置と親の位置を決定する時に再帰
呼び出しを用いた簡単な処理によリ、短時間に本構造図
が作成される。また、パラメータ情報に基づいてバラン
スをとっているため、見易い木構造図が作成される。
As explained above, according to the present invention, when connecting a parent and child in a tree structure, when determining the arrangement of children and the position of the parent, a simple process using recursive calls can be used to quickly complete the book. A structure diagram is created. Furthermore, since balance is achieved based on parameter information, an easy-to-read tree structure diagram is created.

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

第1図は、本発明の一実施例の木構造データ処理装置の
概略構成を示すブロック図、 第2図及び第3図は1本発明に係る位置決定処理の流れ
図の一例を示す説明図、 第4図は、第1図に示す木構造情報記憶部のデータ例を
示す説明図。 第5図は、本発明により位置決めされた例を示す説明図
。 第6図は、本発明による位置決めが行われる過程を示す
説明図、 第7図は、本発明を適用した木構造図PAD(Prob
lem Analysis Diagram)でのテキ
スト表現の一例を示す説明図、 第8図は1本発明によるテキストがPAD図に変換され
た例を示す説明図、 第9図は、木構造図の例を示す説明図、第10図は、再
帰的手法によって階乗を求める例を説明するためのフロ
ーチャートである。 図中、1・・・入力装置、2・・・データ処理装置、3
・・・表示装置、4・・・プリンタ、21・・・入力情
報変換部、22・・・木構造情報記憶部、23・・・パ
ラメータ情報記憶部、24・・・位置決定処理部、25
・・・図形・文字情報記憶部、26・・・表示部、27
・・・プリンタ出力部である。
FIG. 1 is a block diagram showing a schematic configuration of a tree-structured data processing device according to an embodiment of the present invention; FIGS. 2 and 3 are explanatory diagrams showing an example of a flowchart of a position determination process according to the present invention; FIG. 4 is an explanatory diagram showing an example of data in the tree structure information storage section shown in FIG. 1. FIG. 5 is an explanatory diagram showing an example of positioning according to the present invention. FIG. 6 is an explanatory diagram showing the process of positioning according to the present invention, and FIG. 7 is a tree structure diagram PAD (Prob
Fig. 8 is an explanatory diagram showing an example of text expression in a PAD diagram according to the present invention; Fig. 9 is an explanatory diagram showing an example of a tree structure diagram. 10 are flowcharts for explaining an example of calculating a factorial using a recursive method. In the figure, 1... input device, 2... data processing device, 3
Display device, 4 Printer, 21 Input information converter, 22 Tree structure information storage 23 Parameter information storage 24 Position determination processor 25
...Graphic/character information storage section, 26...Display section, 27
...This is a printer output section.

Claims (3)

【特許請求の範囲】[Claims] (1)データ処理装置における木構造情報を保持する情
報記憶媒体からの木構造の親子・兄弟関係にある情報を
図形情報に変換し、この図形情報を表示もしくは記録す
る木構造データ作図処理方式であって、前記図形情報の
表示もしくは記録に要する面積が少なく、かつ、利用者
にとって見易いように図形情報の配置を自動的に決定す
ることを特徴とする木構造データ作図処理方式。
(1) A tree-structured data drawing processing method that converts information in a tree-structured parent-child/sibling relationship from an information storage medium holding tree-structured information into graphical information in a data processing device, and displays or records this graphical information. A tree structure data drawing processing method, characterized in that the area required for displaying or recording the graphic information is small and the layout of the graphic information is automatically determined so that it is easy for the user to see.
(2)前記図形情報は、利用者が図形もしくはテキスト
を入力できる入力装置から作成できることを特徴とする
特許請求の範囲第1項に記載の木構造データ作図処理方
式。
(2) The tree structure data drawing processing method according to claim 1, wherein the graphic information can be created using an input device that allows a user to input a graphic or text.
(3)前記木構造情報を、木構造関係が抽出可能である
木構造情報として格納されていない情報を保持する情報
記憶媒体から、木構造関係抽出装置によって作成できる
ことを特徴とする特許請求の範囲第1項に記載の木構造
データ作図処理方式。
(3) The tree structure information can be created by a tree structure relationship extraction device from an information storage medium that holds information that is not stored as tree structure information from which tree structure relationships can be extracted. The tree structure data drawing processing method described in Section 1.
JP62293741A 1987-11-20 1987-11-20 Tree structure data drawing processing method Expired - Fee Related JPH0654468B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62293741A JPH0654468B2 (en) 1987-11-20 1987-11-20 Tree structure data drawing processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62293741A JPH0654468B2 (en) 1987-11-20 1987-11-20 Tree structure data drawing processing method

Publications (2)

Publication Number Publication Date
JPH01134674A true JPH01134674A (en) 1989-05-26
JPH0654468B2 JPH0654468B2 (en) 1994-07-20

Family

ID=17798640

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62293741A Expired - Fee Related JPH0654468B2 (en) 1987-11-20 1987-11-20 Tree structure data drawing processing method

Country Status (1)

Country Link
JP (1) JPH0654468B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0436871A (en) * 1990-05-31 1992-02-06 Hitachi Software Eng Co Ltd Automatic drawing system for transition diagram

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0436871A (en) * 1990-05-31 1992-02-06 Hitachi Software Eng Co Ltd Automatic drawing system for transition diagram

Also Published As

Publication number Publication date
JPH0654468B2 (en) 1994-07-20

Similar Documents

Publication Publication Date Title
JPH0640302B2 (en) Schematic / source program automatic generation method
JPH04271443A (en) Method and device for data base constitution
CN109241151B (en) Data structure conversion method and device and electronic equipment
US5469539A (en) Method for abstracting/detailing structuring elements of system specification information
JPH01134674A (en) System for processing tree structure data drawing
CN114090666A (en) Slide display method, apparatus, device and storage medium
JP2575664B2 (en) Screen control method
JP2851852B2 (en) Information processing device
JPS6254328A (en) Forming and editing device for tree structure
JPH01108670A (en) Mathematical formula input and edit system
JPS62145424A (en) Program managing method
JP3348943B2 (en) Table format conversion method for database search results
JPH11272524A (en) Data converter and storage medium
JP2594043B2 (en) Ruled line creation device
JPH0644033A (en) Data processor
JPH0769917B2 (en) Interactive sentence processor
JPH01236324A (en) Program design supporting system
JPH09212508A (en) Document processor
JPH10269227A (en) Generating method for classification data
JP2004227319A (en) Software code generating system and method, recording medium and program
JP2001101165A (en) Document editor
JPH05334068A (en) General purpose software generator by graphic input system
JPH0311470A (en) Component constitutional display system
JPH0214365A (en) System and device for supporting pre-edition
JPS63195737A (en) Program producing device

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees