JPS6325721A - Buffer control system for tree structure display - Google Patents

Buffer control system for tree structure display

Info

Publication number
JPS6325721A
JPS6325721A JP17029186A JP17029186A JPS6325721A JP S6325721 A JPS6325721 A JP S6325721A JP 17029186 A JP17029186 A JP 17029186A JP 17029186 A JP17029186 A JP 17029186A JP S6325721 A JPS6325721 A JP S6325721A
Authority
JP
Japan
Prior art keywords
tree structure
buffer
minimum unit
diagram
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.)
Pending
Application number
JP17029186A
Other languages
Japanese (ja)
Inventor
Kimisuke Wake
和気 公介
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 JP17029186A priority Critical patent/JPS6325721A/en
Publication of JPS6325721A publication Critical patent/JPS6325721A/en
Pending legal-status Critical Current

Links

Landscapes

  • Digital Computer Display Output (AREA)

Abstract

PURPOSE:To perform the processing with the titled control system in a simple and quick way by dividing an overall diagram of a tree structure into the minimum unit blocks showing the component elements of the tree structure and the connecting relation among those elements. CONSTITUTION:The buffer control system for display of tree structure contains a tree structure overall diagram 1, a buffer 2 and a display device 3 having a keyboard which supplies the information to a display processing means 6 in addition to a tree structure dividing means 4 for the diagram 1 and a buffer storing record storage means 5 for minimum unit block of the means 4. Thus the means 4 divides the diagram 1 into minimum unit blocks and the means 5 stores a buffer storing record 20 including a position information part, a line information part, an element presence/absence information part and an element part into the buffer 2. Then the means 6 reads the record 20 out of the buffer 2 and displays a part of the diagram 1 on the device 3.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は木構造表示用バッフ1制御力式に関し、特にコ
ンピュータのソフトウェア分野における木構造表示用、
バッファ制御方式に関する。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a buffer 1 control force type for displaying a tree structure, particularly for displaying a tree structure in the field of computer software.
Regarding buffer control methods.

〔従来の技術〕[Conventional technology]

従来、この種の木構造表示用バッファ制御方式は、木構
造全体図をそのままの形で格納できる記憶領域の大きさ
をあらかじめ計算により求めてその大きさを持つ記憶領
域をバッファとして確保し、木構造を構成する各要素お
よび要素間の関係を示す結合線の位置を求め、その位置
に基づき木構造全体図の1行をルコードとして木構造全
体図の行数骨のレコードを行番号順にこのバッファに保
持していた。
Conventionally, this type of tree structure display buffer control method calculates in advance the size of a storage area that can store the entire tree structure as it is, and reserves a storage area of that size as a buffer. The position of each element composing the structure and the connection line indicating the relationship between the elements is determined, and based on that position, one row of the tree structure overall diagram is coded, and the records of the row number bones of the tree structure diagram are stored in this buffer in order of line number. was held in

さらに、木構造を表示装置に表示するときには、表示装
置に表示が可能な縦横の大きさに基づいてこのバッファ
からレコードの一部を読み出し、表示装置上で要素が途
中で切れることのないように調整して表示する方式がと
られていた。
Furthermore, when displaying a tree structure on a display device, part of the record is read from this buffer based on the horizontal and vertical sizes that can be displayed on the display device, so that elements are not cut off in the middle on the display device. A method of adjusting and displaying was used.

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

上述した従来の木構造表示用バッファ制御方式は、木構
造全体図をそのままの形でバッファに記憶していたので
、要素の存在しない部分も含めた広大なバッファの領域
が必要になるという欠点がある。
The conventional tree structure display buffer control method described above stores the entire tree structure as is in the buffer, so it has the disadvantage of requiring a huge buffer area, including parts where no elements exist. be.

また、木構造を表示装置に表示する際に表示装置の大き
さに基づいてバッファからレコードの一部を読み出して
要素が途中で切れることのないように調整を行うことが
必要なので、表示に手間がかかるという欠点がある。
In addition, when displaying a tree structure on a display device, it is necessary to read part of the record from the buffer based on the size of the display device and make adjustments so that the elements are not cut off in the middle. The disadvantage is that it takes a lot of time.

本発明の目的は、上述の点に鑑み、木構造を表示する際
に必要となるバッファの領域を最小限にとどめ、表示装
置に表示するときのバッファからの続出し処理を簡華か
つ敏速に行うことができる木構造表示用バッファ制御方
式を提供することにある。
In view of the above-mentioned points, an object of the present invention is to minimize the buffer area required when displaying a tree structure, and to simplify and quickly perform continuous output processing from the buffer when displaying a tree structure on a display device. An object of the present invention is to provide a buffer control method for displaying a tree structure.

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

本発明の木構造表示用バッファ制御方式は、木構造全体
図を最小単位ブロックに分割する木構造分割手段と、前
記最小単位ブロックの位置を縦横のマトリックス形式で
示す位置情報部と前記最小単位ブロック間の結合関係を
示す線情報部と木構造を構成する要素が前記最小単位ブ
ロック中に存在するか否かを示す要素有無情報部と前記
最小単位ブロック中の前記要素を格納する要素部とから
なるバッファ格納レコードをバッファに格納するバッフ
ァ格納レコード格納手段と、前記バッファ格納レコード
を前記バッファから読み出して前記木構造全体図の一部
を表示装置に表示する表示処理手段とを存する。
The buffer control method for displaying a tree structure of the present invention includes a tree structure dividing means that divides the entire tree structure diagram into minimum unit blocks, a position information section that indicates the position of the minimum unit block in a matrix format of vertical and horizontal directions, and the minimum unit block. a line information section indicating a connection relationship between the elements, an element presence/absence information section indicating whether or not an element constituting the tree structure exists in the minimum unit block, and an element section storing the element in the minimum unit block. and a display processing means for reading out the buffered record from the buffer and displaying a part of the entire tree structure on a display device.

〔作用〕[Effect]

本発明の木構造表示用バッファ制御方式では、木構造分
割手段が木構造全体図を最小単位ブロックに分割し、バ
ッファ格納レコード格納手段が位置情報部と線情報部と
要素有無情報部と要素部とからなるバッファ格納レコー
ドをバッファに格納し、表示処理手段がバッファ格納レ
コードをバッファから読み出して木構造全体図の一部を
表示装置に表示する。
In the tree structure display buffer control method of the present invention, the tree structure dividing means divides the entire tree structure into minimum unit blocks, and the buffer storage record storage means includes a position information section, a line information section, an element presence/absence information section, and an element section. The display processing means reads the buffered record from the buffer and displays a part of the entire tree structure on the display device.

〔実施例〕〔Example〕

次に、本発明について図面を参照して詳細に説明する。 Next, the present invention will be explained in detail with reference to the drawings.

第1図は、本発明の木構造表示用バッファ制御方式の一
実施例の構成を示すブロック図である。
FIG. 1 is a block diagram showing the configuration of an embodiment of the tree structure display buffer control method of the present invention.

本実施例の木構造表示用バッファ制御方式は、表示の対
象である2次元方向に無限の大きさを持つ可能性のある
木構造全体図1と、バッファ格納レコード20 (第2
図参照)を格納するバッファ2と、表示画面および利用
者が表示処理手段6に対して情報を入力するキーボード
を有する表示装置3と、木構造全体図1を最小単位ブロ
ック11(第2図参照)に分割する木構造分割手段4と
、最小単位ブロック11に対応するバッファ格納レコー
ド20を生成してバッファ2に格納するバッファ格納レ
コード格納手段5と、バッファ2からバッファ格納レコ
ード20を読み出して木構造全体図1の一部を表示装置
3に表示する表示処理手段6とから構成されている。
The tree structure display buffer control method of this embodiment is based on an overall tree structure diagram 1 that may have an infinite size in the two-dimensional direction that is the object of display, and a buffer storage record 20 (second
a display device 3 having a display screen and a keyboard through which the user inputs information to the display processing means 6; ); a buffer storage record storage unit 5 that generates a buffer storage record 20 corresponding to the minimum unit block 11 and stores it in the buffer 2; The display processing means 6 displays a part of the overall structure diagram 1 on the display device 3.

第2図を参照すると、木構造全体図1の一例は、要素A
I、  B1. 82. C1,C2,C3,C4およ
びC5と各要素間の関係を示す結合線とを含んで最小単
位ブロック11の集合として構成されている。
Referring to FIG. 2, an example of the overall tree structure diagram 1 is an element A
I, B1. 82. It is configured as a set of minimum unit blocks 11 including C1, C2, C3, C4, and C5 and connecting lines indicating relationships between each element.

最小単位ブロック11は、木構造全体図1上の位置を示
すための縦位置m(正整数)と横位置n(正整数)とを
(m、  n)の形式で表現した位置表現形式12(図
中の要素C5を含む最小単位ブロック11では(5,3
)になる)と、要素の内容を示す箱と、その要素の他の
要素との関係を示す結合線とから構成されている(後2
者については、ない場合もある)。
The minimum unit block 11 has a position representation format 12 () in which vertical position m (positive integer) and horizontal position n (positive integer) are expressed in the format (m, n) to indicate the position on the overall tree structure diagram 1. In the minimum unit block 11 including element C5 in the figure, (5, 3
)), a box that shows the contents of the element, and a connecting line that shows the relationship of that element with other elements (see below).
)

バッファ格納レコード20は、最小単位ブロック11の
位置を縦位置mと横位置nとのマトリックス形式で示し
た情報を記憶するための位置情報部21と、その最小単
位ブロック11の上下左右の最小単位ブロック11との
結合関係を記憶するための線情報部22と、その最小単
位ブロック11内の要素の有無を記憶するための要素有
無情報部23と、要素の内容を記憶するための要素部2
4とからなる。
The buffer storage record 20 includes a position information section 21 for storing information indicating the position of the minimum unit block 11 in a matrix format of vertical position m and horizontal position n, and minimum units of the minimum unit block 11 in the upper, lower, left, and right directions. A line information section 22 for storing the connection relationship with the block 11, an element presence/absence information section 23 for storing the presence or absence of an element in the minimum unit block 11, and an element section 2 for storing the contents of the element.
It consists of 4.

第3図を参照すると、最小単位ブロック1■内の要素お
よび結合線の各態様に対するバッファ格納レコード20
内の線情報部22と要素有無情報部23との情報の持ち
方は、それぞれの情報について1ビツトが割り当てられ
てビットがオンの状態を○印で示して表現することがで
きる。
Referring to FIG. 3, buffer storage records 20 for each aspect of elements and connection lines within the minimum unit block 1
The way in which information is held in the line information section 22 and the element presence/absence information section 23 can be expressed by assigning one bit to each piece of information and indicating the state where the bit is on with a circle.

第4図を参照すると、木構造全体図1の他の例は、表示
装置3の表示画面の大きさに対応する実線で囲まれる範
囲に含まれる複数の最小単位ブロック11を有して構成
されている。
Referring to FIG. 4, another example of the overall tree structure diagram 1 is configured with a plurality of minimum unit blocks 11 included in a range surrounded by a solid line corresponding to the size of the display screen of the display device 3. ing.

第5図を参照すると、表示処理手段6の処理は、表示面
サイズ入力ステップ61と、計算ステップ62と、開始
位置情報入力ステップ63と、終了位置計算ステップ6
4と、バッファ続出しステップ65と、レコード変換ス
テップ66と、表示装置出力ステップ67とからなる。
Referring to FIG. 5, the processing of the display processing means 6 includes a display screen size input step 61, a calculation step 62, a start position information input step 63, and an end position calculation step 6.
4, a buffer output step 65, a record conversion step 66, and a display device output step 67.

次に、このように構成された木構造表示用バッファ制御
方式の動作について説明する。。
Next, the operation of the tree structure display buffer control system configured as described above will be explained. .

木構造全体図1が与えられたときに、木構造分割手段4
は、その木構造全体図1を最小単位ブロック11の形に
分割する。
When the overall tree structure diagram 1 is given, the tree structure dividing means 4
divides the entire tree structure diagram 1 into the form of minimum unit blocks 11.

次に、バッファ格納レコード格納手段5は、各最小単位
ブロックll中の位置表現形式12と要素の内容と他の
要素との結合関係とを解析し、第3図に示す情報の変換
等を利用してバッファ格納レコード20を生成しバッフ
ァ2に任意の順序で格納する。
Next, the buffer storage record storage means 5 analyzes the position representation format 12, the contents of the elements, and the connection relationships with other elements in each minimum unit block ll, and utilizes the information conversion etc. shown in FIG. A buffer storage record 20 is generated and stored in the buffer 2 in an arbitrary order.

このとき、バッファ格納レコード20は、位置情報部2
1の縦位置と横位置とをそれぞれキーとして検索できる
形式で格納される。
At this time, the buffer storage record 20 is
It is stored in a format that allows searching using the vertical and horizontal positions of 1 as keys.

なお、位置表現形式12が第2図中の木構造全体図1の
(2,1)、  (3,1)、  (4,1)、  (
5,1)および(5,2)で示される最小単位ブロック
11のように要素および結合線の存在しないものについ
ては、その最小単位ブロック11に対応するバッファ格
納レコード20は不要なので生成されない。
Note that the position representation format 12 is (2,1), (3,1), (4,1), (
For minimum unit blocks 11 shown by 5, 1) and (5, 2) in which no element or connection line exists, the buffer storage record 20 corresponding to the minimum unit block 11 is unnecessary and is not generated.

2 このようにして、木構造全体図1の全要素および全
結合線についてのバッファ格納レコード20がバッファ
2に格納されると、このバッファ2の情報が参照されて
表示処理手段6によって表示装置3に木構造全体図1の
一部が表示される。
2 In this way, when the buffer storage records 20 for all the elements and all the connection lines of the overall tree structure diagram 1 are stored in the buffer 2, the information in the buffer 2 is referred to and displayed on the display device 3 by the display processing means 6. A part of the overall tree structure diagram 1 is displayed.

この動作を第4図の木構造全体図1を表示する場合を例
にあげて説明すると、まず表示装置3の表示面の大きさ
く横方向の桁数および縦方向の行数)が表示処理手段6
によって求められる(ステップ61)。
To explain this operation using the case of displaying the overall tree structure diagram 1 shown in FIG. 4 as an example, first, the display processing means 6
(step 61).

次に、最小単位ブロック11を表示装置3の表示画面上
に表示するときの大きさから、縦横それぞれいくつの最
小単位ブロック11を表示画面上に表示できるかという
ことが計算される(この計算の結果は横方向がC(正整
数)個、縦方向が1(正整数)個であるとする)(ステ
ップ62)。
Next, from the size of the minimum unit block 11 to be displayed on the display screen of the display device 3, it is calculated how many minimum unit blocks 11 can be displayed in the vertical and horizontal directions on the display screen (this calculation Assume that the result is C (positive integer) in the horizontal direction and 1 (positive integer) in the vertical direction) (step 62).

また、表示の起点(表示画面の最左上にくる最小単位ブ
ロック11の位置)が表示装置3から利用者によって入
力される(ここでは位置表現形式12で表して(m、n
)であるとする) (ステップ63)。
Further, the display starting point (the position of the minimum unit block 11 at the top left of the display screen) is input by the user from the display device 3 (here, it is expressed in the position expression format 12 (m, n
) (step 63).

なお、表示の起点の入力の態様としては、起点を利用者
に直接入力させることも、スクロールキー等からの入力
により表示処理手段6に自動的に起点を求めさせること
も可能である。
Note that the display starting point may be input by the user directly, or by inputting from a scroll key or the like, the display processing means 6 may automatically determine the starting point.

さらに、ステップ62とステップ63とで得られた値に
基づいて表示画面上の終了位置(表示画面の最古下にく
る最小単位ブロック11の位置)が計算される(ここで
は位置表現形式12で表して(m+1、n+c)になる
) (ステップ64)。
Furthermore, the end position on the display screen (the position of the smallest unit block 11 at the bottom of the display screen) is calculated based on the values obtained in steps 62 and 63 (here, in position expression format 12). (m+1, n+c) (step 64).

この結果に基づいて、(m、n)から(m+2゜n+c
)までのバッファ2内に任意の順序で格納されているバ
ッファ格納レコード20が位置情報部21の縦位置と横
位置とのキーにより検索されて読み出される(ステップ
65)。
Based on this result, from (m, n) to (m+2゜n+c
) are searched and read out using the vertical position and horizontal position keys of the position information section 21 (step 65).

このようにして読み出されたバッファ格納レコード20
が、縦位置と横位置とをキーとしてソートされて木構造
の形に整理された木構造全体図1の一部が表示装置3に
表示される。
Buffer storage record 20 read out in this way
A part of the overall tree structure diagram 1, which is sorted using the vertical position and horizontal position as keys and arranged in the form of a tree structure, is displayed on the display device 3.

なお、本実施例では表示装置として表示画面を持つ表示
装置を使用する場合について述べたが、プリンタ等の他
の表示装置を使用することも可能である。
In this embodiment, a case has been described in which a display device having a display screen is used as the display device, but it is also possible to use other display devices such as a printer.

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

以上説明したように本発明は、木構造全体図を木構造を
構成する要素とそれぞれの要素の結合関係とを示す最小
単位ブロックに分割して木構造全体図を位置情報部をキ
ーとして検索できる必要最小限のバッファ格納レコード
(不必要な最小単位ブロックに対応するバッファ格納レ
コードは生成しない)に細分化することにより、バッフ
ァとして用いる記憶領域の使用を最小限にとどめること
ができるとともに、表示装置に木構造を表示する際のバ
ッファからの読出しの処理を簡単かつ敏速に行うことが
できるという効果がある。
As explained above, the present invention divides the overall tree structure diagram into the minimum unit blocks that indicate the elements that make up the tree structure and the connection relationships between the respective elements, and allows the entire tree structure diagram to be searched using the position information part as a key. By subdividing into the minimum necessary buffer storage records (buffer storage records corresponding to unnecessary minimum unit blocks are not generated), the use of storage area used as buffers can be kept to a minimum, and the display device This has the advantage that reading from the buffer when displaying a tree structure can be easily and quickly performed.

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

第1図は本発明の一実施例の構成を示すブロック図、 第2図は本実施例の木構造表示用バッファ制御方式によ
る木構造全体図の一例と最小単位ブロックとバッファ格
納レコードとの各構成と関連とを示す図、 第3図は第1図中のバッファ格納レコード中の線情報部
と要素有無情報部との情報の持ち方を示す図、 第4図は第1図中の木構造全体図の他の例の構成を表示
装置の表示画面の大きさと関連させて示す図、 第5図は第1図中の表示処理手段の処理を示す流れ図で
ある。 図において、 1・・・木構造全体図、 2・・・バッファ、 3・・・表示装置、 4・・・木構造分割手段、 5・・・バッファ格納レコード格納手段、6・・・表示
処理手段、 20・・・バッファ格納レコードである。
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention. FIG. 2 is an example of an overall tree structure diagram based on the tree structure display buffer control method of this embodiment, and each of the minimum unit blocks and buffer storage records. Figure 3 is a diagram showing the structure and relationship; Figure 3 is a diagram showing how the line information section and element presence/absence information section in the buffer storage record in Figure 1 hold information; Figure 4 is the tree diagram in Figure 1. FIG. 5 is a flowchart showing the processing of the display processing means in FIG. 1. In the figure, 1... Tree structure overall diagram, 2... Buffer, 3... Display device, 4... Tree structure dividing means, 5... Buffer storage record storage means, 6... Display processing. Means: 20: Buffer storage record.

Claims (1)

【特許請求の範囲】 木構造全体図を最小単位ブロックに分割する木構造分割
手段と、 前記最小単位ブロックの位置を縦横のマトリックス形式
で示す位置情報部と前記最小単位ブロック間の結合関係
を示す線情報部と木構造を構成する要素が前記最小単位
ブロック中に存在するか否かを示す要素有無情報部と前
記最小単位ブロック中の前記要素を格納する要素部とか
らなるバッファ格納レコードをバッファに格納するバッ
ファ格納レコード格納手段と、 前記バッファ格納レコードを前記バッファから読み出し
て前記木構造全体図の一部を表示装置に表示する表示処
理手段と、 を有することを特徴とする木構造表示用バッファ制御方
式。
[Scope of Claims] Tree structure dividing means for dividing an entire tree structure diagram into minimum unit blocks; a position information section indicating the position of the minimum unit block in a matrix format of vertical and horizontal directions; and a connection relationship between the minimum unit blocks. A buffer storage record consisting of a line information section, an element presence/absence information section indicating whether or not an element constituting the tree structure exists in the minimum unit block, and an element section storing the element in the minimum unit block is buffered. A tree structure display device comprising: buffer storage record storage means for storing the buffer storage record from the buffer; and display processing means for reading the buffer storage record from the buffer and displaying a part of the tree structure overall diagram on a display device. Buffer control method.
JP17029186A 1986-07-18 1986-07-18 Buffer control system for tree structure display Pending JPS6325721A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP17029186A JPS6325721A (en) 1986-07-18 1986-07-18 Buffer control system for tree structure display

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP17029186A JPS6325721A (en) 1986-07-18 1986-07-18 Buffer control system for tree structure display

Publications (1)

Publication Number Publication Date
JPS6325721A true JPS6325721A (en) 1988-02-03

Family

ID=15902232

Family Applications (1)

Application Number Title Priority Date Filing Date
JP17029186A Pending JPS6325721A (en) 1986-07-18 1986-07-18 Buffer control system for tree structure display

Country Status (1)

Country Link
JP (1) JPS6325721A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0358133A (en) * 1989-07-26 1991-03-13 Fujitsu Ltd Display system for tree structure data

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0358133A (en) * 1989-07-26 1991-03-13 Fujitsu Ltd Display system for tree structure data

Similar Documents

Publication Publication Date Title
KR940018770A (en) Imaging tool for generating graphical display of tracking data and method for generating graphical display of tracking data
KR950020280A (en) Method and apparatus for interlocking graphical objects
JPS6325721A (en) Buffer control system for tree structure display
EP1209655A2 (en) Method and system for displaying images
JPH02310592A (en) Screen scroll control system
JPH0443588B2 (en)
JPH08235200A (en) Method and device for data display
JPH07146765A (en) Automatic control system of display area layout
JPH0476773A (en) Map retrieving device
JPH05242167A (en) Pointer retrieval device for raster drawing and method for displaying vector data on raster drawing
JPH02143325A (en) Window displaying system
JPS6177889A (en) Screen control system
JP2639224B2 (en) Method of sharing process selection between multiple processes
JPH01173170A (en) Image data filing system
JPH04321169A (en) Document preparing device
JPH0869249A (en) Continuous display system for map symbol
JPH04184570A (en) Block diagram drawing device
JPS63138391A (en) Character processor
JPH0916662A (en) Design cost management system
JPH10283023A (en) System monitor picture display device
JPH05273909A (en) Device for managing various scaled maps
JPH09230784A (en) Map display system
JPH0442366A (en) Data retrieving device
JPH0553752A (en) Page image partial display control system
JPH03135623A (en) Document preparing device