Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0682333B2 - Tree structure editing method - Google Patents
[go: Go Back, main page]

JPH0682333B2 - Tree structure editing method - Google Patents

Tree structure editing method

Info

Publication number
JPH0682333B2
JPH0682333B2 JP62102100A JP10210087A JPH0682333B2 JP H0682333 B2 JPH0682333 B2 JP H0682333B2 JP 62102100 A JP62102100 A JP 62102100A JP 10210087 A JP10210087 A JP 10210087A JP H0682333 B2 JPH0682333 B2 JP H0682333B2
Authority
JP
Japan
Prior art keywords
node
tree structure
display
editing
internal data
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.)
Expired - Fee Related
Application number
JP62102100A
Other languages
Japanese (ja)
Other versions
JPS63268049A (en
Inventor
かおる 佐藤
恭子 土屋
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP62102100A priority Critical patent/JPH0682333B2/en
Publication of JPS63268049A publication Critical patent/JPS63268049A/en
Publication of JPH0682333B2 publication Critical patent/JPH0682333B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Description

【発明の詳細な説明】 〔概要〕 この発明は、画面上に表示された木構造に対して挿入な
どの編集を行う際に、編集しようとするノードの上下、
左右などの位置指定をする煩雑な手順を解決するため、
画面上に表示された木構造中の編集をしようとするノー
ド自身、上下位置、左右位置に夫々意味づけを持たせ、
これに対応した位置に挿入、削除、複写などの編集を行
わせることにより、簡単な操作かつ視覚的な感覚によっ
て編集を行い得るようにしたものである。
DETAILED DESCRIPTION OF THE INVENTION [Outline] In the present invention, when performing editing such as insertion on a tree structure displayed on a screen, the upper and lower sides of a node to be edited,
In order to solve the complicated procedure of specifying the position such as left and right,
Give meaning to the node itself to be edited in the tree structure displayed on the screen, the vertical position, and the horizontal position,
By performing editing such as insertion, deletion and copying at a position corresponding to this, the editing can be performed by a simple operation and a visual feeling.

〔産業上の利用分野〕[Industrial application field]

本発明は、画面上に表示された木構造中の編集しようと
するノード自身、上下位置、および左右位置に意味づけ
を持たせ、これに対応した位置に編集をするよう構成し
た木構造編集方式に関するものである。
The present invention is a tree structure editing method in which a node to be edited in a tree structure displayed on a screen, a vertical position, and a horizontal position are given meaning, and editing is performed at a position corresponding to this. It is about.

〔従来の技術〕[Conventional technology]

木構造データ中のノード自身を削除、変更などする編集
は、ディスプレイ上に表示された該当するノードをマウ
スを用いて指定、あるいはライントペンを用いて指定な
どした後、削除、変更などの処理を行えばよく、比較的
に簡単に編集処理を行うことが可能である。
For editing such as deleting or changing the node itself in the tree structure data, after specifying the corresponding node displayed on the display with the mouse or the line pen, delete or change the process. All that is required is that the editing process can be performed relatively easily.

しかし、ノードとノードとの間例えば親ノードと子コー
ドとの間、および兄ノードと弟ノードとの間を指定して
編集処理を行う場合、従来、編集対象となるノード自身
に加えて、ノードの前、ノードの後、ノードの左、およ
びノードの右からなる総計5つの表現の入力キー、また
は文字列によって区別していた。また、他の方法とし
て、コマンドに上記5つの表現を組み入れて、ノードの
前を操作するコマンド、ノードの後ろを操作するコマン
ドなどといった5種類のコマンドを用意し、いずれかの
コマンドを用いて編集処理を行っていた。
However, when performing edit processing by specifying between nodes, for example, between a parent node and a child code, and between a brother node and a brother node, conventionally, in addition to the node itself to be edited, the node Before, after, after the node, to the left of the node, and to the right of the node. As another method, the above five expressions are incorporated into a command to prepare five types of commands such as a command for operating in front of a node and a command for operating after a node, and edit using any of the commands. It was processing.

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

このため、ノードとノードとの間に新たなノードを挿入
するなどの編集を行う場合、ユーザは位置指定するため
に5種類のキーや、コマンドを記憶して使いわけして木
構造の編集処理を行わなければならないという問題点が
あった。
Therefore, when performing editing such as inserting a new node between nodes, the user stores and uses five types of keys and commands to specify the position and edits the tree structure. There was a problem that I had to do.

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

本発明は、前記問題点を解決するために、画面上に表示
された木構造中のあるノード自身、上下、あるいは左右
のいずれが指定されたかの指定情報を判別する判別部3
と、この判別部3によって判別された指定情報および入
力されたデータに基づいて木構造を編集する内部データ
処理部4とを設け、この内部データ処理部4によって編
集された内部データに対応して表示データを編集して表
示するようにしている。
In order to solve the above-mentioned problems, the present invention discriminates a discriminating unit 3 which discriminates designation information indicating whether a certain node in the tree structure displayed on the screen, top or bottom, or left or right is designated.
And an internal data processing unit 4 for editing the tree structure based on the designation information and the input data determined by the determination unit 3, and corresponding to the internal data edited by the internal data processing unit 4. The display data is edited and displayed.

第1図は本発明の原理構成図を示す。図中読込部1は、
ファイル8から文字列で表現された木構造データを読み
出して内部データに変換し、更にこの内部データをもと
に表示データ処理部6で作成した表示データを表示部5
に通知してディスプレイ7上に木構造を表示させるもの
である。
FIG. 1 shows the principle configuration of the present invention. The reading unit 1 in the figure
The tree structure data represented by a character string is read from the file 8 and converted into internal data, and the display data created by the display data processing unit 6 based on this internal data is displayed on the display unit 5.
To display the tree structure on the display 7.

コマンド読込部2は、入力されたコマンド例えば挿入、
削除、複写などの編集コマンドを読み込んで対応する編
集を行わせるものである。
The command reading unit 2 receives the input command, for example, insert,
This is to read an edit command such as delete or copy and perform the corresponding edit.

判別部3は、ディプレイ上7に表示された木構造中のい
ずれのノード自身、ノードの上下位置、あるいはノード
の左右位置が指定されたかを判別するものである。
The discriminating unit 3 discriminates which node in the tree structure displayed on the display 7 itself, the vertical position of the node, or the horizontal position of the node is designated.

内部データ処理部4は、判別部3によって判別された位
置情報および入力データによって指定された編集に対応
するように、内部データを書き換えるものである。
The internal data processing unit 4 rewrites the internal data so as to correspond to the position information discriminated by the discriminating unit 3 and the editing designated by the input data.

表示部5は、内部データをもとに表示データ処理部6で
作成された表示データをディスプレイ7上に表示するも
のである。
The display unit 5 displays the display data created by the display data processing unit 6 based on the internal data on the display 7.

表示データ処理部6は、内部データ処理部4が内部デー
タを書き換えたことに対応して表示データを書き換え、
この書き換え後の表示データを表示部5に通知してディ
スプレイ7上に表示させるものである。また、表示デー
タ処理部6は、読込部1によって変換された内部データ
をもとに表示データを作成し、この表示データ部を表示
部5に通知してディスプレイ7上に表示させるものであ
る。
The display data processing unit 6 rewrites the display data in response to the internal data processing unit 4 rewriting the internal data,
The display data after the rewriting is notified to the display unit 5 and displayed on the display 7. The display data processing unit 6 creates display data based on the internal data converted by the reading unit 1, notifies the display unit 5 of the display data unit, and causes the display unit 7 to display the display data.

ディスプレイ7は、木構造の表示データなどを表示する
ものである。
The display 7 is for displaying display data of a tree structure and the like.

ファイル8は、内部データなどを格納するものである。The file 8 stores internal data and the like.

格納部9は、内部データ処理部4によって書き換えられ
た内部データを文字列で表現された木構造データに変換
し、ファイル8に格納するものである。
The storage unit 9 converts the internal data rewritten by the internal data processing unit 4 into tree structure data represented by a character string and stores the tree structure data in the file 8.

〔作用〕[Action]

次に動作を説明する。 Next, the operation will be described.

第1図において、読込部1がファイル8から読み出し、
変換した編集しようとする内部データを表示部5に通知
し、ディスプレイ7上に木構造の態様で表示させる。こ
のディスプレイ7上に表示された木構造中のあるノード
自身、上下位置、あるいは左右位置のいずれかをマウス
などを用いて指定すると共に、編集コマンド(例えば挿
入コマンド)およびデータをコマンド読込部および判別
部3に入力すると、判別部3は指定された位置情報から
これに対応する意味(ノード自身、ノードの上下位置、
あるいはノードの左右位置の編集)を判別し、コマンド
読込部2は入力された編集コマンドを認識(挿入、削
除、複写など)する。これら両者の通知を受けた内部デ
ータ処理部4は、指定された位置情報に対応する位置
に、入力された挿入などの編集処理を実行する。この実
行に対応して表示データ処理部6は、表示データの書き
換えを行い、この結果を表示部5に通知してディスプレ
イ7上に編集処理後の木構造を表示させる。
In FIG. 1, the reading unit 1 reads from the file 8,
The display unit 5 is notified of the converted internal data to be edited, and is displayed on the display 7 in a tree structure. A node in the tree structure displayed on the display 7 is designated by the mouse or the vertical position or the horizontal position, and an edit command (for example, an insert command) and data are read by the command reading unit and discriminated. When input to the unit 3, the determination unit 3 uses the specified position information to have a corresponding meaning (node itself, vertical position of node,
Alternatively, the command reading unit 2 recognizes (edits, inserts, deletes, copies, etc.) the input edit command by determining whether the node is located at the left or right position. The internal data processing unit 4, which has received the notification of both of these, executes the editing process such as the input insertion at the position corresponding to the specified position information. In response to this execution, the display data processing unit 6 rewrites the display data, notifies the display unit 5 of the result, and causes the display 7 to display the tree structure after the editing process.

以上のように、ディスプレイ7上に表示された木構造中
のノード自身、上下位置、あるいは左右位置を指定する
と共に、編集コマンドおよびデータを入力し、この指定
された位置情報の意味あいに対応して内部データを編集
することにより、簡単な操作かつ視覚的な感覚で木構造
データの編集を行うことが可能となる。
As described above, the node itself, the vertical position, or the horizontal position in the tree structure displayed on the display 7 is specified, and the edit command and data are input to correspond to the meaning of the specified position information. It is possible to edit the tree-structured data with a simple operation and a visual feeling by editing the internal data with the touch panel.

〔実施例〕〔Example〕

次に、第1図ないし第7図を用いて本発明の1実施例の
構成および動作を詳細に説明する。
Next, the configuration and operation of one embodiment of the present invention will be described in detail with reference to FIGS.

第2図(イ)はディスプレイ7上に表示された表示例を
示し、第2図(ロ)は内部データ構造例を示す。
FIG. 2A shows a display example displayed on the display 7, and FIG. 2B shows an internal data structure example.

第2図(イ)において、ディスプレイ7上に表示された
木構造の表示例は、矢印を用いて示すように、上下方向
に親子関係を示し、左右方向に兄弟関係を示す。この図
示表示例は、f(x、g(y))という論理式で表現さ
れるものである。
In FIG. 2A, the display example of the tree structure displayed on the display 7 shows a parent-child relationship in the up-down direction and a sibling relationship in the left-right direction, as indicated by the arrows. The illustrated display example is expressed by a logical expression f (x, g (y)).

第2図(ロ)は、第2図(イ)図示表示例を内部データ
構造を用いて表したものである。左斜め下に向かう線分
を用いて親子関係を表し、右斜め下に向かう線分を用い
て兄弟関係を表している。
FIG. 2B shows an example of the display shown in FIG. 2A by using the internal data structure. A line segment going diagonally downward to the left is used to represent parent-child relationships, and a line segment going diagonally downward to the right is used to represent sibling relationships.

以上のように、第2図(ロ)図示内部データ構造を第2
図(イ)に示すような木構造を用いてディスプレイ7上
に表示する。そして、第1に、例えば第2図(イ)図中
点線を用いて囲んだノード“g"を含む領域をマウスなど
を用いて指定した場合、当該ノード“g"自身に対して入
力した編集コマンド例えば削除編集が実行される。第2
に、ノード“g"の上側(下側)に斜線を用いて示す矩形
領域(a)(矩形領域(b))を指定した場合、当該ノ
ード“g"と、1レベル上のノード“f"(1レベル下のノ
ード“y")との間に編集処理例えば挿入処理が実行され
る。尚、上位のノード(下位のノード)がない場合に
は、上位(下位)の方向に対して編集処理される。第3
に、ノード“g"の左側(右側)に斜線を用いて示す矩形
領域(c)(矩形領域(d))を指定した場合、当該ノ
ード“g"に対して兄(弟)に対応する編集処理例えば書
込処理が実行される。
As described above, the internal data structure shown in FIG.
It is displayed on the display 7 using a tree structure as shown in FIG. First, for example, when the area including the node “g” surrounded by the dotted line in FIG. 2 (a) is designated by using a mouse, the edit input to the node “g” itself is performed. A command such as delete edit is executed. Second
When a rectangular area (a) (rectangular area (b)) indicated by using diagonal lines is specified above (downside) the node "g", the node "g" and the node "f" one level above An edit process, for example, an insert process is executed between the node and the node "y" one level below. If there is no upper node (lower node), edit processing is performed in the upper (lower) direction. Third
When a rectangular area (c) (rectangular area (d)) indicated by using diagonal lines is specified on the left side (right side) of the node "g", the editing corresponding to the elder brother (brother) for the node "g" Processing, for example, writing processing is executed.

以上のように、あるノードを囲む矩形領域、上下の矩形
領域、および左右の矩形領域に対して上述した意味づけ
を持たせることにより、簡単かつ視覚的な感覚で位置情
報を入力して編集処理を行うことが可能となる。以下詳
細に説明する。
As described above, by giving the above-described meanings to the rectangular area surrounding a certain node, the upper and lower rectangular areas, and the left and right rectangular areas, it is possible to easily and visually input position information and perform editing processing. It becomes possible to do. The details will be described below.

第3図において、図中は、初期データを読み出す状態
を示す状態を表す。これは、第1図読込部1がファイル
8からディスプレイ7上に表示して編集処理を行おうと
する文字列で表現された木構造データを読み出し、内部
データに変換することを意味している。
In FIG. 3, the figure shows a state in which initial data is read. This means that the reading unit 1 shown in FIG. 1 reads the tree-structured data represented by the character string to be displayed on the display 7 from the file 8 and to be edited, and converts the tree-structured data into internal data.

図中は、初期データを表示する状態を示す。これは、
第1図表示部5が、読込部1によってファイル8から読
み出され、変換された第2図(ロ)に示すような内部デ
ータを、第2図(イ)に示すような木構造の態様でディ
スプレイ7上に表示することを意味している。
The figure shows a state in which initial data is displayed. this is,
The display unit 5 in FIG. 1 reads the converted internal data from the file 8 by the reading unit 1 and converts the internal data as shown in FIG. 2B into a tree structure as shown in FIG. Means to be displayed on the display 7.

図中は、ユーザ指定の読み込みを行う状態を示す。こ
れは、ユーザが、ディスプレイ7上のいずれの位置を指
定したかを読み込むことを意味している。
The figure shows a state in which user-specified reading is performed. This means that the user reads which position on the display 7 has been designated.

図中は、判断する状態を示す。これは、図中でユー
ザが指定した位置情報が、いずれのもの、即ちあるノー
ド自身の位置情報、あるノードの上下位置情報、あるノ
ードの左右位置情報のいずれであるかを判断する状態を
示す。この状態に応じて図中ないしのいずれかが選
択される。
The figure shows the state of determination. This shows a state in which the position information designated by the user in the figure is judged to be any one of the position information of a certain node itself, the vertical position information of a certain node, and the horizontal position information of a certain node. . One of the items in the figure is selected according to this state.

図中は、あるノード自身が指定されたと判断された場
合、当該ノードの置き換えを行う状態を示す。これは、
例えば第2図(イ)点線を用いて囲んだ矩形領域を指定
した場合、この点線を用いて囲んだノード“g"に対して
編集処理例えば置き換え処理が実行されることを意味し
ている。この置き換え処理は、当該位置指定と、書き込
みコマンドと、書き込むデータとを入力することによっ
て実行される。尚、当該位置指定と、削除コマンドとを
入力した場合には、削除編集が実行される。
In the figure, when it is determined that a node itself is designated, the node is replaced. this is,
For example, when the rectangular area surrounded by the dotted line in FIG. 2A is designated, it means that the editing process, for example, the replacement process is executed on the node "g" surrounded by the dotted line. This replacement process is executed by inputting the position designation, the write command, and the write data. When the position designation and the delete command are input, the delete edit is executed.

図中は、あるノードの上下の位置が指定されたと判断
された場合、親子関係の挿入を行う状態を示す。これ
は、例えば第2図(イ)に示すあるノード“g"の上側の
矩形領域(a)(下側の矩形領域(b))を指定した場
合、このノード“g"の真上(真下)に挿入する態様で新
たなノードを書き込む編集処理が実行されることを意味
している。この書き込み処理は、当該位置指定と、書き
込みコマンドと、書き込むデータとを入力することによ
って実行される。
The figure shows a state in which a parent-child relationship is inserted when it is determined that the upper and lower positions of a node have been designated. This is because, for example, when the upper rectangular area (a) (lower rectangular area (b)) of a certain node "g" shown in FIG. 2 (a) is specified, it is directly above (immediately below) this node "g". ) Means that an edit process for writing a new node is executed. This writing process is executed by inputting the position designation, the write command, and the write data.

図中は、あるノードの左右の位置が指定されたと判断
された場合、兄弟関係の挿入を行う状態を示す。これ
は、例えば第2図(イ)に示すあるノード“g"の左側の
矩形領域(c)あるいは右側の矩形領域(d)を指定し
た場合、このノード“g"の左側あるいは右側に挿入する
態様で新たなノードを書き込む編集処理が実行されるこ
とを意味している。この書き込み処理は、当該位置指定
と、書き込みコマンドと書き込むデータとを入力するこ
とによって実行される。
In the figure, when it is determined that the left and right positions of a certain node are designated, the state of inserting a sibling relationship is shown. For example, when a left rectangular area (c) or right rectangular area (d) of a node "g" shown in FIG. 2 (a) is specified, the node is inserted to the left or right of this node "g". It means that the edit process of writing a new node is executed in the mode. This writing process is executed by inputting the position designation, the write command, and the write data.

図中は、再表示を行う状態を示す。これは、図中な
いしで編集処理された結果に基づいて、表示部5がデ
ィスプレイ7上に編集結果を表示することを意味してい
る。
The figure shows the state of re-display. This means that the display unit 5 displays the editing result on the display 7 based on the result of the editing process in the drawing.

図中は、編集が全て終了したか否かを判別する状態を
示す。YESの場合には、図中で編集後の内部データを
ファイル8に格納し、一連の編集処理を終了する。NOの
場合には、図中ないしを繰り返し実行する。
The figure shows a state in which it is determined whether or not all editing has been completed. In the case of YES, the internal data after editing is stored in the file 8 in the figure, and a series of editing processing ends. In the case of NO, the steps in the figure are repeated.

以上のように、ディスプレイ7上に表示した木構造中の
ノード自身、上下位置、および左右位置に意味あいを持
たせ、このうちのいずれかの位置を指定して編集処理を
行うことにより、簡単な操作かつ視覚的な感覚で木構造
の編集処理を行うことが可能となる。
As described above, the node itself, the vertical position, and the horizontal position in the tree structure displayed on the display 7 have a meaning, and any one of these positions is designated to perform the editing process. It is possible to perform a tree structure editing process with various operations and a visual sense.

次に、第4図および第5図を用いて挿入編集の具体例、
第6図を用いて削除編集の具体例を詳細に説明する。
Next, referring to FIGS. 4 and 5, a specific example of insertion editing,
A specific example of deletion editing will be described in detail with reference to FIG.

第4図(イ)に示すディスプレイ7上に表示された木構
造中のノード“g"と、ノード“y"との間(親“g"と子
“y"との間)に、新たなノード“g1"を挿入する場合に
ついて説明する。第1に、第4図(イ)図中斜線を用い
て示す矩形領域をマウスを用いて位置指定する。第2
に、書き込むべき新たなノードデータ“g1"を入力す
る。第3に、書き込みコマンドをコマンド読込部2に入
力する。以上の操作によって、第4図(ロ)に示すよう
に、ノード“g1"が挿入される。この挿入に伴って、当
初第4図(ハ)に示すような内部データが、第4図
(ニ)に示すような内部データに書き換えられる。以上
によって、第4図(イ)、(ハ)に対応する論理式f
(x、g(y))に対して、新たなノード“g1"を親子
関係間に挿入した第4図(ロ)、(ニ)に対応する論理
式f(x、g(g1(y)))が挿入編集処理される。
Between the node “g” and the node “y” (between the parent “g” and the child “y”) in the tree structure displayed on the display 7 shown in FIG. The case of inserting the node "g 1 " will be described. First, the rectangular area indicated by the diagonal lines in FIG. 4 (a) is designated by using the mouse. Second
In, input new node data “g 1 ” to be written. Thirdly, the write command is input to the command reading unit 2. By the above operation, the node "g 1 " is inserted as shown in FIG. With this insertion, the internal data initially shown in FIG. 4C is rewritten to the internal data shown in FIG. 4D. From the above, the logical expression f corresponding to FIGS.
For (x, g (y)), a new node "g 1 " is inserted between the parent-child relationships, and the logical expression f (x, g (g 1 ( y))) is inserted and edited.

同様に、第5図(イ)に示すディスプレイ7上に表示さ
れた木構造中のノード“y"の右側(弟)に、新たなノー
ド“y1"を追加する場合について説明する。第1に、第
5図(イ)図中斜線を用いて示す矩形領域をマウスを用
いて位置指定する。第2に、書き込むべき新たなノード
データ“y1"を入力する。第3に、書き込みコマンドを
コマンド読込部2に入力する。以上の操作によって、第
5図(ロ)に示すように、ノード“y1"が書き込まれ
る。この書き込みに伴って、当初第5図(ハ)に示すよ
うな内部データが、第5図(ニ)に示すような内部デー
タに書き換えられる。
Similarly, a case where a new node “y 1 ” is added to the right side (younger brother) of the node “y” in the tree structure displayed on the display 7 shown in FIG. First, the rectangular area indicated by the diagonal lines in FIG. 5 (a) is designated by using the mouse. Secondly, input new node data "y 1 " to be written. Thirdly, the write command is input to the command reading unit 2. By the above operation, the node "y 1 " is written as shown in FIG. With this writing, the internal data initially shown in FIG. 5C is rewritten to the internal data shown in FIG. 5D.

また、第6図(イ)に示すディスプレイ7上に表示され
た木構造中のノード“g"を削除する場合について説明す
る。第1に、第6図(イ)図中削除しようとするノード
“g"を囲む図示矩形領域をマウスを用いて位置指定す
る。第2に、削除コマンドをコマンド読込部2に入力す
る。以上の操作によって、第6図(ロ)に示すように、
ノード“g"が削除される。この削除に伴って、当初第6
図(ハ)に示すような内部データが、第6図(ニ)に示
すような内部データに書き換えられる。
A case will be described in which the node "g" in the tree structure displayed on the display 7 shown in FIG. 6 (a) is deleted. First, the illustrated rectangular area surrounding the node "g" to be deleted in FIG. 6 (a) is specified with the mouse. Secondly, the delete command is input to the command reading unit 2. By the above operation, as shown in FIG.
Node "g" is deleted. With this deletion, the 6th
The internal data as shown in FIG. 6C is rewritten to the internal data as shown in FIG.

第7図は、ディスプレイ7上に表示された木構造中のノ
ードのみを指定して編集処理を行うか、あるいは部分木
全体を指定して編集処理を行うかを選択するモードを設
けた場合の説明図を示す。まず、ディスプレイ7上に第
7図(イ)に示す木構造が表示されている状態で、1回
目の指定によって、第7図(ロ)図中矩形を用いて囲ん
で示すように、当該指定したノード“g"を含む部分木全
体が編集対称となり、例えば削除編集を行うと、論理式
f(x、g(x))がf(x)となる。2回目の指定に
よって、第7図(ハ)図中矩形を用いて囲んで示すよう
に、当該指定したノード“g"のみが編集対象となり、例
えば削除編集を行うと、論理式f(x、g(x))がf
(x、x)となる。更に指定すると、上記第7図
(イ)、(ロ)、および(ハ)に示す状態が繰り返され
る。このような位置指定を採用して編集処理を行うこと
により、更に編集処理操作を簡単なものにすることが可
能となる。
FIG. 7 shows a case in which a mode is provided for selecting whether to perform editing processing by designating only the nodes in the tree structure displayed on the display 7 or by designating the entire subtree. An explanatory view is shown. First, in the state where the tree structure shown in FIG. 7 (a) is displayed on the display 7, by the first designation, the designation is made as shown by enclosing with a rectangle in FIG. 7 (b). The entire subtree including the node "g" is edited symmetrically. For example, when deletion editing is performed, the logical expression f (x, g (x)) becomes f (x). By the second designation, as shown by enclosing it with a rectangle in FIG. 7C, only the designated node “g” is to be edited. For example, if deletion editing is performed, the logical expression f (x, g (x)) is f
(X, x). When the designation is further made, the states shown in FIGS. 7A, 7B and 7C are repeated. By performing the editing process by adopting such position designation, it becomes possible to further simplify the editing process operation.

尚、本発明に係わる編集処理と従来のものとを比較する
と下記のようになる。
The following is a comparison between the editing process according to the present invention and the conventional process.

本発明の表現→従来の表現 書込+ノード自身→置換+ノード指定 ・・・(1) 書込+ノードの上→レベル追加+(上+ノード指定)・
・・・・・(2) 書込+ノードの下→レベル追加+(下+ノード指定)・
・・・・・(3) 書込+ノードの左→挿入+(左+ノード指定)(4) 書込+ノードの右→挿入+(右+ノード指定)(5) 削除+ノード自身→削除+ノード指定 ・・・(6) 以上のように、本発明によれば、書込、削除、およびデ
ィスプレイ7上にの位置指定の3表現によって編集処理
を行うことができる。
Expression of the present invention → Conventional expression Write + node itself → replacement + node designation ... (1) Write + node top → level addition + (top + node designation)
(2) Write + node down → level addition + (down + node specified)
(3) Write + node left → insert + (left + node designation) (4) Write + node right → insert + (right + node designation) (5) Delete + node itself → delete + Node designation (6) As described above, according to the present invention, the editing process can be performed by three expressions of writing, deleting, and position designation on the display 7.

一方、従来の方式は、置換、挿入、レベル追加、ノード
の左(前)、ノードの右(後)、ノードの上、ノードの
下、削除の8表現と、ノード指定を行う必要があり、ユ
ーザがこれらを記憶する必要があると共に、操作が視覚
的な感覚で行い難くかつ煩雑であった。
On the other hand, in the conventional method, it is necessary to perform the eight expressions of replacement, insertion, level addition, node left (front), node right (rear), node top, node bottom, and deletion, and node designation, It is necessary for the user to memorize these, and it is difficult and complicated to perform the operation visually.

また、上記の他に、複写先および複写元という2つの区
別を設けることにより、更に下記に示す10種類の複写、
移動といった編集処理を表現することができる。
In addition to the above, by making two distinctions, copy destination and copy source, the following 10 types of copy,
It is possible to express an editing process such as moving.

複写元+ノード自身+(削除+) (1)複写先+ノード自身:あるノードへ上書きする複
写(移動) (2)複写先+ノードの前:あるノードの前(左)へ複
写(移動) (3)複写先+ノードの後:あるノードの後(右)へ複
写(移動) (4)複写先+ノードの上:あるノードの上のレベルへ
複写(移動) (5)複写先+ノードの下:あるノードの下のレベルへ
複写(移動) 〔発明の効果〕 以上説明したように、本発明によれば、画面上に表示さ
れた木構造中の編集をしようとするノード自身、上下位
置、左右位置に夫々意味づけを持たせ、これに対応した
位置に挿入、削除、複写などの編集を行わせる構成を採
用しているため、簡単な操作かつ視覚的な感覚によって
挿入、削除、複写、移動などの編集処理を行うことがで
きる。特に、図示した木構造中の編集対象を視覚的に容
易に指定することができると共に、少ないコマンドの組
み合わせで多様な編集処理を行うことができる。
Copy source + node itself + (delete +) (1) Copy destination + node itself: Copy (move) overwriting to a certain node (2) Copy destination + Before node: Copy (move) to the front (left) of a certain node (3) Copy destination + After node: Copy (move) after a certain node (right) (4) Copy destination + Above node: Copy (move) to a level above a certain node (5) Copy destination + node Below: Copy (move) to the level below a certain node [Effect of the invention] As described above, according to the present invention, the node itself to be edited in the tree structure displayed on the screen is moved up and down. Since the position and the left and right positions have meanings and the corresponding positions are used for editing such as insertion, deletion and copying, insertion and deletion can be performed with simple operation and visual sensation. Editing processing such as copying and moving can be performed. In particular, the object to be edited in the illustrated tree structure can be easily specified visually, and various editing processes can be performed with a small number of command combinations.

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

第1図は本発明の原理構成図、第2図はデータ構造例、
第3図は本発明の動作説明フローチャート、第4図は親
子関係編集説明図、第5図は兄弟関係編集説明図、第6
図は削除編集説明図、第7図は指定態様説明図を示す。 図中、2はコマンド読込部、3は判別部、4は内部デー
タ処理部、5は表示部、6は表示データ処理部、7はデ
ィスプレイ、8はファイルを表す。
FIG. 1 is a block diagram of the principle of the present invention, FIG. 2 is an example of a data structure,
FIG. 3 is an operation explanatory flowchart of the present invention, FIG. 4 is a parent-child relationship editing explanatory diagram, FIG.
FIG. 7 is a deletion / editing explanatory diagram, and FIG. 7 is a designation mode explanatory diagram. In the figure, 2 is a command reading unit, 3 is a discriminating unit, 4 is an internal data processing unit, 5 is a display unit, 6 is a display data processing unit, 7 is a display, and 8 is a file.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】画面上に表示された木構造の編集を行う木
構造編集方式において、 画面上に表示された木構造のあるノード自身、該ノード
の上又は下、あるいは該ノードの左又は右のいずれか
が、当該画面上で指定されたかの指定情報を判別する判
別部(3)と、 該判別部(3)によって判別された指定情報および入力
されたデータに基づいて木構造の編集処理を行うとき、
該ノード自身が当該画面上で指定された場合は該ノード
自身に関する編集処理を行い、該ノードの上又は下が当
該画面上で指定された場合は該ノードに関する親子関係
の編集処理を行い、該ノードの左又は右が当該画面上で
指定された場合は該ノードに関する兄弟関係の編集処理
を行う内部データ処理部(4)とを備え、 該内部データ処理部(4)によって編集された内部デー
タに対応して表示データを編集して表示するよう構成し
たことを特徴とする木構造編集方式。
1. In a tree structure editing method for editing a tree structure displayed on a screen, a node having a tree structure displayed on the screen itself, above or below the node, or left or right of the node. Discriminating unit (3) for discriminating the designation information designated on the screen, and a tree structure editing process based on the designation information discriminated by the discrimination unit (3) and the input data. When doing
When the node itself is specified on the screen, edit processing for the node itself is performed, and when upper or lower of the node is specified on the screen, parent-child relationship edit processing for the node is performed. An internal data processing unit (4) for performing a sibling editing process for the node when the left or right of the node is specified on the screen, and the internal data edited by the internal data processing unit (4) A tree structure editing method characterized in that display data is edited and displayed according to.
JP62102100A 1987-04-27 1987-04-27 Tree structure editing method Expired - Fee Related JPH0682333B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62102100A JPH0682333B2 (en) 1987-04-27 1987-04-27 Tree structure editing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62102100A JPH0682333B2 (en) 1987-04-27 1987-04-27 Tree structure editing method

Publications (2)

Publication Number Publication Date
JPS63268049A JPS63268049A (en) 1988-11-04
JPH0682333B2 true JPH0682333B2 (en) 1994-10-19

Family

ID=14318368

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62102100A Expired - Fee Related JPH0682333B2 (en) 1987-04-27 1987-04-27 Tree structure editing method

Country Status (1)

Country Link
JP (1) JPH0682333B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3262034B2 (en) * 1997-08-20 2002-03-04 日本電気株式会社 Electronic bulletin board system, article display method, and recording medium recording display control program therefor
JP5653250B2 (en) * 2011-02-21 2015-01-14 中国電力株式会社 Data analysis support device, data analysis support method and program

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5995645A (en) * 1982-11-24 1984-06-01 Toshiba Corp Information arranging device
JPS6115276A (en) * 1984-06-30 1986-01-23 Toshiba Corp Document file device
JP2635025B2 (en) * 1986-08-25 1997-07-30 株式会社日立製作所 Tree display editing method

Also Published As

Publication number Publication date
JPS63268049A (en) 1988-11-04

Similar Documents

Publication Publication Date Title
US7225405B1 (en) System and method for audio creation and editing in a multimedia messaging environment
US5689718A (en) System and method for processing document information using password protected icons that represent document content
US6760039B2 (en) Program for graphic priority editing
WO2004023310A1 (en) Method for managing file using network structure, operation object display limiting program, and recording medium
JP2004118550A (en) Text editing device and program
JPS6037945B2 (en) How to display hierarchical tree-structured text in an ordered structure
EP0200227A2 (en) Word processor system capable of displaying and arranging stored documents
JPH06266742A (en) Tabulating device
JPH0682333B2 (en) Tree structure editing method
JPH01267725A (en) Window operation method in multi-window system
US8099682B1 (en) Proxies for viewing hierarchical data
JPH01116729A (en) Editor for specification description
JP2785941B2 (en) Window information division / integration processing method
JPH06231030A (en) Multimedia authoring system
GB2387754A (en) Representing information as 3D image
JPH09185482A (en) Screen scroll control method
JP2833158B2 (en) Browser display method for hypermedia device
KR20070109398A (en) Tree structure text editor and document editing method
JP3651750B2 (en) Document storage retrieval method, document storage retrieval apparatus, and recording medium
JP2618855B2 (en) Program editing and creation device
JPH0935083A (en) Animation editing equipment
JP3444620B2 (en) Filing system equipment
JPH0289123A (en) Menu display control system
JP3393717B2 (en) Document editing device
JP3042666B2 (en) Database information display device in database system

Legal Events

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