JPH07282060A - Document processor - Google Patents

Document processor

Info

Publication number
JPH07282060A
JPH07282060A JP6097006A JP9700694A JPH07282060A JP H07282060 A JPH07282060 A JP H07282060A JP 6097006 A JP6097006 A JP 6097006A JP 9700694 A JP9700694 A JP 9700694A JP H07282060 A JPH07282060 A JP H07282060A
Authority
JP
Japan
Prior art keywords
link
node
unit
document
information
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
JP6097006A
Other languages
Japanese (ja)
Other versions
JP3395347B2 (en
Inventor
Akifumi Sekijima
章文 関島
Koichi Hayashi
浩一 林
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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox 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 Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP09700694A priority Critical patent/JP3395347B2/en
Publication of JPH07282060A publication Critical patent/JPH07282060A/en
Application granted granted Critical
Publication of JP3395347B2 publication Critical patent/JP3395347B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

PURPOSE:To provide a document generation device which can generate a flexible document by simultaneously extracting documents constituting the plural tree structures of different forms from a document constituting a network structure such as a hyper text. CONSTITUTION:A document structure management means 104 managing a node and a link, a tree structure extraction means 106 extracting the documents constituting the tree structures from the hyper text by following the link with the node that a user designates as a start and a reference unit information setting means 105 setting link information for controlling the extraction of the tree structures in the link are provided. Link information is that controlling the extraction of the tree structures. The document structure management means 104 manages plural pieces of link information in accordance with the number of the tree structures extracted from the hyper text and in accordance with the link. The tree structure extraction means 106 uses the relation of link information and extracts the tree structures. Thus, the documents constituting the plural tree structures in the different forms can simultaneously be extracted from the document constituting the network structure such as the hypertext.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、所定の構成単位を関係
づけて構成した文書構造を扱う文書処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a document processing apparatus which handles a document structure formed by associating predetermined constituent units.

【0002】[0002]

【従来の技術】一般に文書は、章や段落や図などの論理
的なまとまりを組み合わせた文書構造として表現するこ
とができる。文書構造としては、章や節などの論理的な
まとまりを格納するノードから構成される木構造がよく
知られている。これに対し、近年利用されるようになっ
たハイパーテキストでは、ノード間を自由にリンクで接
続して関連づけることにより、文書構造をネットワーク
構造として表現している。図10(a)は、ハイパーテ
キストの文書構造の一例を示したものである。図10
(a)の例では、矩形が段落や図など文書の論理的なま
とまりを格納する論理単位であるノードである。また、
矢印を持つ線分がノード間の参照関係を示す参照単位で
あるところのリンクである。図10(a)に示すよう
に、ハイパーテキストでは、複数のノードから一つのノ
ードを参照するような文章構造を構築することが可能で
ある。このような文書構造を編集対象とすることによ
り、利用者は、文書の章立てに拘らずノードを自由に関
連づけて柔軟な編集作業を行うことができる。また、単
一の文書に限らず、複数の文書を関連づけてハイパーテ
キストとして表現し、文書間でノードを共有することも
可能である。特に、文書作成の初期段階における、様々
な情報断片やアイデアから文書を形成する作業において
は、ハイパーテキストを用いることが有効であることが
知られている。
2. Description of the Related Art Generally, a document can be expressed as a document structure in which logical groups such as chapters, paragraphs, and figures are combined. As a document structure, a tree structure composed of nodes that store logical groups such as chapters and sections is well known. On the other hand, in the hypertext that has recently been used, the document structure is expressed as a network structure by freely connecting and associating nodes with each other. FIG. 10A shows an example of the document structure of hypertext. Figure 10
In the example of (a), a rectangle is a node that is a logical unit that stores a logical unit of a document such as a paragraph or a figure. Also,
A line with an arrow is a link that is a reference unit indicating a reference relationship between nodes. As shown in FIG. 10A, in hypertext, it is possible to construct a sentence structure that refers to one node from a plurality of nodes. By setting such a document structure as an editing target, the user can freely associate nodes to perform flexible editing work regardless of the chaptering of the document. Further, not only a single document but also a plurality of documents can be associated and expressed as hypertext, and nodes can be shared between the documents. In particular, it is known that the use of hypertext is effective in the work of forming a document from various information fragments and ideas in the initial stage of document creation.

【0003】ところで、一般に文書作成の最終段階にお
いては、文書の内容を印刷するために割り付け処理を行
う。ところが、ハイパーテキストは、前述のノードの共
有や図12(b)に示すような参照関係の循環を含んで
いるので、そのままでは適切な割り付け処理を行うこと
ができない。そこで、ハイパーテキストを通常の木構造
で表現される文書に変換する必要が生じる。ハイパーテ
キストから通常の文書への変換においては、所定のノー
ドを起点として、リンクに沿って参照先のノードを取り
出していくことにより、ネットワーク構造から木構造を
抽出するということが行われる。しかし、図10(a)
のように複数のノードが一つのノードを参照している場
合、単純にリンクを辿って木構造を抽出すると、図10
(b)に示すように、抽出した木構造中に同じノードが
重複して現れてしまう。図10(a)では、ノードN1
とノードN5がそれぞれノードN2を参照しているの
で、図10(b)において、ノードN1とノードN5の
下にそれぞれノードN2、ノードN3、ノードN4が重
複して現れている。すなわち、抽出した文書に同じ内容
が何度も繰り返して現れることになる。また、図12
(b)のようにハイパーテキストがループ構造をなす場
合、木構造を抽出する作業が無限ループに陥ってしま
う。
By the way, generally, at the final stage of document creation, an allocation process is performed to print the contents of the document. However, since the hypertext includes the sharing of the above-mentioned nodes and the circulation of the reference relationship as shown in FIG. 12B, the proper allocation processing cannot be performed as it is. Therefore, it becomes necessary to convert hypertext into a document represented by a normal tree structure. In converting a hypertext into a normal document, a tree structure is extracted from a network structure by extracting a reference destination node along a link from a predetermined node as a starting point. However, FIG.
When a plurality of nodes refer to one node as shown in FIG.
As shown in (b), the same node appears in the extracted tree structure in duplicate. In FIG. 10A, the node N1
Since the node N5 and the node N5 respectively refer to the node N2, the node N2, the node N3, and the node N4 are duplicated under the node N1 and the node N5 in FIG. 10B. That is, the same content appears repeatedly in the extracted document. In addition, FIG.
When the hypertext has a loop structure as in (b), the work of extracting the tree structure falls into an infinite loop.

【0004】このような問題を解決するために、特開平
4−171575号公報で示される、ネットワーク構造
で表現された文書構造を木構造に変換する方式が発明さ
れている。この方式では、ノードに一意な識別子を与
え、ネットワーク構造からノードを取り出す際に、その
ノードがすでに木構造に加えられているかどうかを識別
子に基づいて判定し、すでに木構造に加えられていれば
そのノードを取り出さない、という方法によって木構造
中でノードが重複しないようにしている。この方式によ
って、図10(a)のネットワーク構造を木構造に変換
した例を、図10(c)に示す。この例では、先にノー
ドN1からリンクL2を辿ってノードN2を取り出して
いるので、後からノードN5からリンクL6を辿ってノ
ードN2を取り出そうとしても取り出せない。すなわ
ち、ノードN5の下にノードN2が加えられることがな
く、ノードの重複が生じない。ところが、上記従来技術
においては、必ずしも利用者が意図した木構造をネット
ワーク構造から抽出することができない。例えば図10
(a)のネットワーク構造から、図10(d)に示すよ
うな木構造を抽出したいと利用者が意図しても、上記従
来技術ではそのように木構造の抽出を制御することはで
きなかった。
In order to solve such a problem, a method for converting a document structure represented by a network structure into a tree structure has been invented, which is disclosed in Japanese Patent Laid-Open No. 4-171575. In this method, a unique identifier is given to a node, and when a node is extracted from the network structure, it is determined whether the node is already added to the tree structure based on the identifier, and if it is already added to the tree structure. The node is not taken out in the tree structure by not extracting the node. An example of converting the network structure of FIG. 10A into a tree structure by this method is shown in FIG. In this example, since the node N2 is first extracted by following the link L2 from the node N1, the node N2 cannot be extracted even if the node N2 is later extracted by following the link L6 from the node N5. That is, the node N2 is not added below the node N5, and no node duplication occurs. However, in the above conventional technique, the tree structure intended by the user cannot always be extracted from the network structure. For example, in FIG.
Even if the user intends to extract the tree structure shown in FIG. 10D from the network structure shown in FIG. 10A, the extraction of the tree structure cannot be controlled in the above-described conventional technique. .

【0005】そこで、特開平5−197719号公報に
示される、リンクの種類によって木構造の抽出を制御
し、利用者がリンクを指定してその種類を決定する手段
を用意することにより、利用者の意図する木構造をネッ
トワーク構造から抽出する方式が発明されている。この
方法によれば、木構造抽出時に参照先のノードを取り出
すリンクと、参照先のノードを取り出さないリンクの2
種類を用意し、複数のノードから一つのノードを参照す
る場合、リンクについて、利用者がそれぞれの種類を決
定することにより、利用者の意図する木構造を抽出する
ことができる。例えば、図10(a)のネットワーク構
造においては、リンクL2をノードを取り出す種類に、
リンクL6をノードをノードを取り出さない種類に設定
することにより、図10(d)に示す木構造が抽出され
る。
Therefore, by providing a means for controlling the extraction of a tree structure depending on the type of link and allowing the user to specify the link and determine the type, as disclosed in Japanese Patent Laid-Open No. 5-197719, Has invented a method for extracting the tree structure intended by the above from the network structure. According to this method, there are two links, one for extracting the reference destination node and the other for not extracting the reference destination node when extracting the tree structure.
When a type is prepared and one node is referred to from a plurality of nodes, the user can extract the tree structure intended by the user by determining the type of each link. For example, in the network structure shown in FIG. 10A, the link L2 is selected as a node extraction type.
The tree structure shown in FIG. 10D is extracted by setting the link L6 to a type in which the node is not extracted.

【0006】[0006]

【発明が解決しようとする課題】ところで、複数の文書
で章や図などの構成要素を共有するような場合、木構造
を抽出する際に、複数のノードから参照されるノードを
取り出したとき、それがどのノードからのリンクを辿っ
て取り出されたかによって、次に辿るべきリンクの参照
先のノードを取り出すか取り出さないかを、切替える必
要が生じる。例えば、互いにノードを共有する図11の
2つの木構造をなす文書を関連づけたハイパーテキスト
を図12(a)に示す。図12(a)のハイパーテキス
トから図11の文書1を抽出するためには、ノードN5
を取り出した後にノードN2を取り出さないようにしな
ければならない。すなわち、リンクL6をノードを取り
出さない種類に設定していなければならない。これに対
し、図12(a)のハイパーテキストから図11の文書
2を抽出するためには、ノードN5を取り出した後にノ
ードN2を取り出すようにしなければならない。すなわ
ち、リンクL6をノードを取り出す種類に設定していな
ければならない。したがって、図12(a)のハイパー
テキストから図11の2つの文書を抽出するためには、
リンクL6の種類を切替える必要がある。ところが上記
従来技術では、リンクに対して常に1つの種類しか設定
しておくことができないので、ハイパーテキストからノ
ードを共有する異なる形態の複数の木構造をいずれも抽
出するように設定することは不可能であった。
By the way, when components such as chapters and diagrams are shared by a plurality of documents, when a node referenced from a plurality of nodes is extracted when extracting a tree structure, Depending on from which node the link is taken out, it is necessary to switch whether to take out the node to which the link to be followed next is referred or not. For example, FIG. 12A shows hypertext in which documents having the two tree structures in FIG. 11 that share nodes with each other are associated with each other. To extract the document 1 shown in FIG. 11 from the hypertext shown in FIG.
Should be taken out after taking out N2. That is, the link L6 must be set to a type that does not extract the node. On the other hand, in order to extract the document 2 of FIG. 11 from the hypertext of FIG. 12A, it is necessary to extract the node N5 and then the node N2. That is, the link L6 must be set to the type of extracting a node. Therefore, in order to extract the two documents of FIG. 11 from the hypertext of FIG.
It is necessary to switch the type of link L6. However, in the above-mentioned related art, since only one type can be set for a link at any time, it is not possible to set all tree structures of different forms sharing a node from hypertext. It was possible.

【0007】本発明は、かかる問題を解決するためにな
されたものであり、ハイパーテキストのようなネットワ
ーク構造をなす文書から、複数の異なる形態の木構造を
なす文書をともに抽出可能にすることにより、柔軟な文
書作成を行うことができる文書処理装置を提供すること
を目的とする。
The present invention has been made to solve the above problem, and it is possible to extract a plurality of documents having different tree structures from a document having a network structure such as hypertext. An object of the present invention is to provide a document processing device capable of flexible document creation.

【0008】[0008]

【課題を解決するための手段】上述の問題を解決するた
めに、本発明の第1の発明による文書処理装置は、文書
の論理的なまとまりである論理単位と論理単位間の参照
関係を規定する参照単位で表される文書構造を管理する
文書構造管理手段と、前記文書構造の論理単位を指定す
る論理単位指定手段、前記文書構造管理手段に格納され
ている文書構造の少なくとも一部をなす木構造の構成の
情報を管理する木構造管理手段と、前記木構造管理手段
の管理する木構造の情報に基づいて、前記論理単位指定
手段により指定された論理単位をルートとする木構造を
抽出する木構造抽出手段と、前記木構造抽出手段の抽出
する木構造に基づいて文書の割付けを行う文書割り付け
手段を有することを特徴とする。
In order to solve the above problems, a document processing apparatus according to a first aspect of the present invention defines a logical unit which is a logical unit of a document and a reference relationship between the logical units. Document structure management means for managing the document structure represented by the reference unit, logical unit specification means for specifying the logical unit of the document structure, and at least a part of the document structure stored in the document structure management means. A tree structure management unit that manages information on the structure of the tree structure, and a tree structure whose root is the logical unit designated by the logical unit designation unit is extracted based on the information on the tree structure managed by the tree structure management unit. And a document allocating unit for allocating the document based on the tree structure extracted by the tree structure extracting unit.

【0009】また、本発明の第2の発明による文書処理
装置は、文書の論理的なまとまりである論理単位と論理
単位間の参照関係を規定する参照単位で表される文書構
造を管理する文書構造管理手段と、前記文書構造の論理
単位を指定する論理単位指定手段、論理単位指定手段に
より指定された論理単位を起点として文書構造中の参照
関係を探索することにより、文書構造から文書構造の部
分構造である木構造を抽出する木構造抽出手段と、木構
造の抽出を制御するための情報を参照単位に対応づけて
設定し、管理する参照単位情報設定・管理手段とを具備
し、その参照単位情報設定・管理手段は、所定の参照単
位に対応する参照単位情報を設定する際に、該参照単位
情報と該参照単位の参照元に存在する参照単位に対応す
る参照単位情報との関連づけを行うものであり、前記木
構造抽出手段は、前記参照単位情報間の関連に基づいて
木構造を抽出するものであることを特徴とする。
A document processing apparatus according to a second aspect of the present invention manages a document structure represented by a reference unit that defines a logical unit that is a logical unit of a document and a reference relationship between the logical units. A structure management unit, a logical unit designating unit that designates a logical unit of the document structure, and a reference relationship in the document structure are searched from the logical unit designated by the logical unit designating unit as a starting point, thereby changing the document structure from the document structure. A tree structure extraction unit that extracts a tree structure that is a partial structure, and a reference unit information setting / management unit that sets and manages information for controlling the extraction of the tree structure in association with a reference unit, The reference unit information setting / managing unit, when setting the reference unit information corresponding to the predetermined reference unit, includes the reference unit information and the reference unit information corresponding to the reference unit existing in the reference source of the reference unit. Association is intended to perform, the tree structure extraction means is characterized in that it is intended to extract the tree structure based on the relation between the reference unit information.

【0010】第2の発明の一態様(第1の態様)では、
前記木構造抽出手段の抽出する木構造に基づいて文書の
割付けを行う文書割り付け手段を有し、参照単位に対応
する参照単位情報に該参照単位が参照する論理単位を割
り付けるための情報を含むことを特徴とする。
According to one aspect (first aspect) of the second invention,
A document allocation unit for allocating a document based on the tree structure extracted by the tree structure extraction unit, wherein the reference unit information corresponding to the reference unit includes information for allocating a logical unit to which the reference unit refers; Is characterized by.

【0011】また、本発明の第2の発明の他の態様(第
2の態様)では、上記第2の発明の構成に加えて、論理
単位を表現する図形要素と参照単位を表現する図形要素
を管理する図形要素管理手段と、論理単位間の参照関係
に基づいて図形要素を配置することにより、木構造抽出
手段によって得られた木構造を図化する構造図作成手段
とを具備し、参照単位情報設定・管理手段が利用者によ
って指定された木構造図中の図形要素に対応する参照単
位について、参照単位情報を設定することを特徴とす
る。また、さらに他の態様では、上記第2の態様におい
て、図形要素管理手段が論理単位を表現する図形要素に
ついて複数の種類を管理し、構造図作成手段が複数の論
理単位から同時に参照されている論理単位とそれ以外の
論理単位とで、異なる種類の図形要素を用いて構造図を
作成することを特徴とする。さらに他の態様では、構造
図作成手段が複数の木構造を図化する際に、複数の木構
造に同時に含まれている論理単位について、該論理単位
を表現する図形を木構造間で関連づけて表示することを
特徴とする。
According to another aspect (second aspect) of the second aspect of the present invention, in addition to the configuration of the second aspect of the invention, a graphic element expressing a logical unit and a graphic element expressing a reference unit. And a structure diagram creating unit for arranging the graphic elements based on the reference relationship between the logical units to map the tree structure obtained by the tree structure extracting unit. It is characterized in that the unit information setting / management means sets the reference unit information for the reference unit corresponding to the graphic element in the tree structure diagram designated by the user. In still another aspect, in the second aspect, the graphic element management unit manages a plurality of types of graphic elements expressing a logical unit, and the structural drawing creation unit is simultaneously referred to by the plurality of logical units. It is characterized in that a structural diagram is created using different types of graphic elements for logical units and other logical units. In still another aspect, when the structure diagram creating unit maps a plurality of tree structures, with respect to logical units that are simultaneously included in the plurality of tree structures, a graphic representing the logical units is associated between the tree structures. It is characterized by displaying.

【0012】[0012]

【作用】第1の発明においてネットワーク構造をなす文
書から木構造で表される文書を抽出する際に、木構造抽
出手段は、論理単位指定手段により利用者の指定した論
理単位を起点として参照単位を辿って参照先の論理単位
を順次に取り出す。複数の論理単位から参照される論理
単位を取り出したとき、それがどの論理単位を起点とす
る木構造に沿って取り出されたかによって、次に辿るべ
き参照単位の参照先の論理単位を決定しなければならな
い。その決定を可能にするために、本発明は木構造の構
成の情報を文書構造中に用意し、木構造管理手段により
管理する。その木構造の構成の情報としては、木構造の
抽出を制御する参照単位情報(例えば、図2(c)のデ
ータ構造を有するリンク情報)や、抽出する木構造を指
定する木構造情報(例えば、図25(b)のリンクのデ
ータ構造の一部として保持される木構造識別子リスト)
などがある。文書割り付け手段は、木構造抽出手段によ
って抽出された木構造に基づいて文書の割付けを行う。
本発明によれば、文章構造中の参照関係を探索する際
に、木構造の構成の情報を用いて、指定された論理単位
を起点とする木構造を抽出するようにしたので、異なる
形態の木構造をなす複数の文書を、ネットワーク構造の
文書からともに抽出することができ、柔軟な文書作成を
行うことができる。
According to the first aspect of the present invention, when the document represented by the tree structure is extracted from the document having the network structure, the tree structure extracting means uses the logical unit specified by the user by the logical unit specifying means as a reference unit. The logical units of the reference destination are sequentially extracted by tracing. When a logical unit referenced from multiple logical units is extracted, the logical unit of the reference destination of the reference unit to be traced next must be determined depending on which logical unit the logical structure is taken out from. I have to. In order to enable the determination, the present invention prepares the information of the structure of the tree structure in the document structure and manages it by the tree structure management means. As the information of the structure of the tree structure, reference unit information (for example, link information having the data structure of FIG. 2C) that controls extraction of the tree structure, and tree structure information that specifies the tree structure to be extracted (for example, , A tree structure identifier list held as part of the data structure of the link in FIG. 25 (b))
and so on. The document allocating means allocates documents based on the tree structure extracted by the tree structure extracting means.
According to the present invention, when searching for a reference relation in a text structure, a tree structure starting from a designated logical unit is extracted by using information on the structure of the tree structure. A plurality of documents having a tree structure can be extracted together from a document having a network structure, and flexible document creation can be performed.

【0013】第2の発明は、第1の発明における木構造
の構成の情報として参照単位情報を用いるように構成し
たものである。参照単位情報設定・管理手段は、ネット
ワーク構造の文書から抽出する木構造の数に応じて、複
数の参照単位情報を参照単位に対応づけて管理する。す
なわち、参照単位情報設定・管理手段が参照情報を設定
する際に、すでに参照元の参照単位に設定されている参
照単位情報との関連づけを行う。例えば、図2(b)お
よび(c)には参照単位であるリンクおよび参照単位情
報であるリンク情報のそれぞれのデータ構造の例が示さ
れており、リンクは対応するリンク情報へのポインタを
有し、リンク情報は参照元のリンクのリンク情報と関連
づけを示す参照元リンク情報へのポインタと抽出するか
否かを示す抽出制御情報を有するが、参照単位情報設定
・管理手段はその参照元リンク情報へのポインタの設定
と、抽出制御情報の設定を行う。木構造の抽出において
は、木構造抽出手段は、参照単位情報間の関係を利用し
て木構造の抽出を行う。具体例で言えば、木構造抽出手
段が、複数のノードから参照されているノードを取り出
した後に、次に辿るべきリンクに設定されている複数の
リンク情報の中から、参照元のリンクに設定されている
リンク情報に対応するものを選択する。本発明によれ
ば、所定の参照単位に対応する参照単位情報は該参照単
位の参照元に存在する参照単位に対応する参照単位情報
との関連づけが設定されるので、その参照単位情報を用
いることによりハイパーテキストのようなネットワーク
構造をなす文書から、複数の異なる形態の木構造をなす
文書をいずれも抽出することができる。また、参照単位
情報は一つの参照単位に対して複数対応させて設けるこ
とができるので、同じ参照単位を重複して含むような木
構造の抽出が可能となり、複雑な木構造の抽出が可能と
なる。
A second aspect of the invention is configured to use the reference unit information as the information of the structure of the tree structure in the first aspect of the invention. The reference unit information setting / managing unit manages a plurality of reference unit information in association with reference units according to the number of tree structures extracted from a document having a network structure. That is, when the reference unit information setting / managing unit sets the reference information, the reference unit information is associated with the reference unit information already set as the reference unit of the reference source. For example, FIGS. 2B and 2C show examples of respective data structures of a link which is a reference unit and link information which is reference unit information, and each link has a pointer to the corresponding link information. The link information has the pointer to the reference source link information indicating the association with the link information of the reference source link and the extraction control information indicating whether or not to extract, but the reference unit information setting / management means has the reference source link. Set pointers to information and extraction control information. In extracting the tree structure, the tree structure extracting means extracts the tree structure by utilizing the relationship between the reference unit information. In a specific example, the tree structure extraction unit extracts the node referred to from the plurality of nodes, and then sets the reference source link from the plurality of pieces of link information set to the link to be followed next. Select the one that corresponds to the link information provided. According to the present invention, the reference unit information corresponding to the predetermined reference unit is set to be associated with the reference unit information corresponding to the reference unit existing in the reference source of the reference unit, so that the reference unit information is used. With this, it is possible to extract any of a plurality of documents having a tree structure of different forms from a document having a network structure such as hypertext. Further, since the reference unit information can be provided in association with a plurality of reference units, it is possible to extract a tree structure that includes the same reference unit redundantly, and it is possible to extract a complicated tree structure. Become.

【0014】文書割り付け手段は、前記木構造抽出手段
の抽出する木構造に基づいて文書の割付けを行う。な
お、その際、参照単位に対応する参照単位情報に該参照
単位が参照する論理単位を割り付けるための情報、例え
ばシングルカラムで割り付けるあるいはダブルカラムで
割り付けるなどの値を持つ割り付け制御情報を用意して
おくことにより、抽出する木構造毎に異なる割付け処理
を適用することができる。
The document allocating means allocates documents based on the tree structure extracted by the tree structure extracting means. At that time, information for allocating the logical unit referred to by the reference unit to the reference unit information corresponding to the reference unit, for example, allocation control information having a value such as allocation in a single column or allocation in a double column, is prepared. By setting the allocation, different allocation processing can be applied to each tree structure to be extracted.

【0015】図形要素管理手段と構造図作成手段を設け
た本発明の態様においては、各単位を表現する図形要素
を図形要素管理手段により管理し、その図形要素を用い
て木構造抽出手段により得られた木構造を構造図作成手
段により図化する。そして、その図化された図形要素を
利用者が指定することによって、参照単位情報設定手段
は参照単位情報を設定する。これにより、利用者に構造
図を提示するとともに、分かりやすいインタフェースで
参照情報の設定を容易に行うことができる。また、その
構成において、複数の論理単位から同時に参照されてい
る論理単位とそれ以外の論理単位とで、異なる種類の図
形要素で図化するようにした場合、あるいは複数の木構
造に同時に含まれている論理単位について、論理単位を
表現する図形を木構造間で関連づけて表示するようにし
た場合には、複数の木構造で共有している部分を利用者
が明確に把握することができる。
In the aspect of the present invention in which the graphic element managing means and the structure diagram creating means are provided, the graphic element representing each unit is managed by the graphic element managing means and is obtained by the tree structure extracting means using the graphic element. The obtained tree structure is visualized by the structure diagram creating means. Then, the reference unit information setting means sets the reference unit information by the user designating the graphic element thus illustrated. This makes it possible to present the structural diagram to the user and easily set the reference information with an easy-to-understand interface. In addition, in the configuration, when the logical units that are simultaneously referred to by a plurality of logical units and the other logical units are designed by different types of graphic elements, or if they are included in a plurality of tree structures at the same time. When the graphic representing the logical unit is displayed in association with each other in the tree structure, the user can clearly understand the part shared by the plurality of tree structures.

【0016】[0016]

【実施例】【Example】

[第1の実施例]本実施例は、ハイパーテキストから木
構造をなす文書を抽出する文書作成装置である。
[First Embodiment] This embodiment is a document creation apparatus for extracting a document having a tree structure from hypertext.

【0017】(実施例の構成)実施例の構成を図1に示
す。本実施例の文書作成装置は、入力手段101、ノー
ド・リンク選択手段102、文書構造格納手段103、
文書構造管理手段104、リンク情報設定手段105、
木構造抽出手段106、構造図作成手段107、図形要
素管理手段108、文書割り付け手段109、表示手段
110から構成される。入力手段101は、利用者から
の入力を扱うキーボードやマウスなどの装置である。ノ
ード・リンク選択手段102は、入力手段101より得
られる利用者が入力した情報に応じて、ノードおよびリ
ンクを選択する手段である。文書構造格納手段103
は、ハイパーテキストを格納するハードディスクなどの
装置である。文書構造管理手段104は、ハイパーテキ
ストを構成するノードとリンクおよびリンク情報の管理
を行うものであり、ノードを管理するノード管理手段1
041とリンクを管理するリンク管理手段1042およ
びリンク情報管理手段1043等を有している。リンク
情報設定手段105は、リンクを指定して木構造を抽出
する際に必要となるリンク情報を設定する手段である。
木構造抽出手段106は、与えられたノードを起点とし
てハイパーテキスト内の参照関係を辿り、リンクに付与
されたリンク情報に基づいて木構造を抽出する。構造図
作成手段107は、木構造抽出手段106によって得ら
れた木構造を、ノードを表すノード図形とリンクを表す
リンク図形を用いて図化する。図形要素管理手段108
は、ノード図形とリンク図形を管理する。文書割り付け
手段109は、木構造抽出手段によって得られた木構造
に対し割り付け処理を行う。表示手段110は、構造図
作成手段によって作成された構造図や文書割り付け手段
によって作成された割り付け結果を表示するためのディ
スプレイなどの装置である。
(Structure of Embodiment) The structure of the embodiment is shown in FIG. The document creating apparatus of this embodiment includes an input unit 101, a node / link selecting unit 102, a document structure storing unit 103,
Document structure management means 104, link information setting means 105,
The tree structure extracting unit 106, the structure diagram creating unit 107, the graphic element managing unit 108, the document allocating unit 109, and the displaying unit 110 are included. The input unit 101 is a device such as a keyboard or a mouse that handles input from the user. The node / link selecting means 102 is means for selecting a node and a link according to the information input by the user obtained from the input means 101. Document structure storage means 103
Is a device such as a hard disk for storing hypertext. The document structure management means 104 manages nodes and links that form a hypertext and link information, and the node management means 1 that manages the nodes.
041 and a link management unit 1042 for managing links, a link information management unit 1043, and the like. The link information setting unit 105 is a unit that sets the link information necessary for specifying a link and extracting a tree structure.
The tree structure extracting unit 106 traces the reference relation in the hypertext starting from the given node and extracts the tree structure based on the link information given to the link. The structure diagram creating unit 107 maps the tree structure obtained by the tree structure extracting unit 106 using a node graphic representing a node and a link graphic representing a link. Graphic element management means 108
Manages node and link graphics. The document allocating means 109 allocates the tree structure obtained by the tree structure extracting means. The display unit 110 is a device such as a display for displaying the structure diagram created by the structure diagram creation unit and the layout result created by the document layout unit.

【0018】(実施例のデータ構造)図2(a)、
(b)、(c)に、文書構造管理手段104によって管
理される、ノードとリンクおよびリンク情報のデータ構
造を示す。ノードは、図2(a)に示すように、ノード
識別子、ノード名、内容データ、リンクリストの各デー
タから構成される。ノード識別子は、ノードに一意に与
えられる識別子である。ノード名は、ノードが保持する
内容データを認識するために利用者が与える名前であ
る。内容データは、文字列や図形などのデータである。
リンクリストは、ノードから他のノードを参照するリン
クの順序付リストであり、リンク識別子が格納される。
ノードが他のノードを参照していない場合、リンクリス
トは空になる。
(Data structure of the embodiment) FIG. 2A,
(B) and (c) show data structures of nodes and links and link information managed by the document structure management means 104. As shown in FIG. 2A, each node is composed of a node identifier, a node name, content data, and linked list data. The node identifier is an identifier uniquely given to a node. The node name is a name given by the user to recognize the content data held by the node. The content data is data such as character strings and graphics.
The link list is an ordered list of links in which a node refers to another node, and a link identifier is stored therein.
If the node does not reference any other node, the linked list will be empty.

【0019】リンクは、図2(b)に示すように、リン
ク識別子、参照ノード、リンク情報リストから構成され
る。リンク識別子は、リンクに一意に与えられる識別子
である。参照ノードは、リンクが参照するノードの識別
子を格納する。リンク情報リストは、参照ノードの抽出
を制御するための情報のリストであり、リンク情報識別
子が格納される。リンク情報が設定されていない場合、
リンク情報リストは空になる。
As shown in FIG. 2B, the link is composed of a link identifier, a reference node and a link information list. The link identifier is an identifier uniquely given to the link. The reference node stores the identifier of the node referred to by the link. The link information list is a list of information for controlling the extraction of the reference node and stores the link information identifier. If the link information is not set,
The link information list will be empty.

【0020】リンク情報は、リンク情報識別子、参照元
リンク情報、抽出制御情報から構成される。リンク情報
識別子は、リンク情報に一意に与えられる識別子であ
る。参照元リンク情報は、木構造抽出の際に、参照元の
リンクに応じて複数のリンク情報の中から一つのリンク
情報を選択するための情報であり、対応するリンクの参
照元にあるリンクが保持するリンク情報の内いずれかの
識別子を格納する。ただし、木構造の根となるノードか
ら他のノードを参照するリンクに対応するリンク情報に
ついては、参照元のリンクが存在しないため、参照元リ
ンク情報は設定されない。抽出制御情報は、対応するリ
ンクの参照ノードの抽出を制御する情報であり、「抽出
する」および「抽出しない」のいずれかの値が格納され
る。
The link information is composed of a link information identifier, reference source link information, and extraction control information. The link information identifier is an identifier uniquely given to the link information. The reference source link information is information for selecting one piece of link information from a plurality of pieces of link information according to the reference source link when extracting the tree structure, and the link at the reference source of the corresponding link is Any one of the retained link information is stored. However, with respect to the link information corresponding to the link that refers to another node from the node that is the root of the tree structure, the reference source link information is not set because the reference source link does not exist. The extraction control information is information that controls the extraction of the reference node of the corresponding link, and stores one of the values “extract” and “not extract”.

【0021】図3に、上述のデータ構造を持つノードお
よびリンクを用いて、ハイパーテキストを表現した例を
示す。図3の例においては、ノードN003がリンクL
002とリンクL006により参照されている。そのた
め、ノードN003からノードN004を参照するため
のリンクL003は、2つのリンク情報C003とC0
07を保持し、リンク情報C003がリンクL002が
保持するリンク情報C002に対応づけられ、リンク情
報C007がリンクL006が保持するリンク情報C0
06に対応づけられている。同様に、リンクL004が
保持するリンク情報についても、リンク情報C004が
リンクL002が保持するリンク情報C002に対応づ
けられ、リンク情報C008がリンクL006が保持す
るリンク情報C006に対応づけられている。さらに、
リンクL005が保持するリンク情報についても、リン
ク情報C005がリンクL002が保持するリンク情報
C002に対応づけられ、リンク情報C009がリンク
L006が保持するリンク情報C006に対応づけられ
ている。
FIG. 3 shows an example in which hypertext is represented by using the nodes and links having the above-mentioned data structure. In the example of FIG. 3, the node N003 is the link L.
002 and link L006. Therefore, the link L003 for referring to the node N004 from the node N003 has two pieces of link information C003 and C0.
07, the link information C003 is associated with the link information C002 held by the link L002, and the link information C007 is held by the link L006.
It is associated with 06. Similarly, regarding the link information held by the link L004, the link information C004 is associated with the link information C002 held by the link L002, and the link information C008 is associated with the link information C006 held by the link L006. further,
Regarding the link information held by the link L005, the link information C005 is associated with the link information C002 held by the link L002, and the link information C009 is associated with the link information C006 held by the link L006.

【0022】図2(d)、(e)に、図形要素管理手段
108によって管理される、ノード図形およびリンク図
形のデータ構造を示す。ノード図形は、図2(d)に示
すように、図形識別子、対応ノード、配置座標、表示タ
イプの各データから構成される。図形識別子は、ノード
図形に対して一意に与えられる識別子である。対応ノー
ドは、ノード図形に対応するノードの識別子が格納され
る。配置座標は、ノード図形が配置される座標の値であ
る。表示タイプは、「実線」および「破線」のいずれか
の値が格納される。
2D and 2E show the data structures of the node graphic and the link graphic managed by the graphic element management means 108. As shown in FIG. 2D, the node graphic is composed of data of a graphic identifier, corresponding nodes, arrangement coordinates, and display type. The graphic identifier is an identifier uniquely given to a node graphic. The corresponding node stores the identifier of the node corresponding to the node graphic. The placement coordinates are values of coordinates at which the node graphic is placed. As the display type, any value of "solid line" and "broken line" is stored.

【0023】リンク図形は、図2(e)に示すように、
図形識別子、対応リンク、対応リンク情報、根元の座標
と先端の座標の組、表示タイプの各データから構成され
る。図形識別子は、リンク図形に対して一意に与えられ
る識別子である。対応リンクは、リンク図形に対応する
リンクの識別子が格納される。対応リンク情報は、リン
ク図形に関連づけられるリンク情報の識別子が格納され
る。根元の座標と先端の座標の組は、リンク図形の根元
が配置される座標の値とリンク図形の先端が配置される
座標との組である。表示タイプは、「実線」および「破
線」のいずれかの値が格納される。
The link graphic is, as shown in FIG.
It is composed of a graphic identifier, a corresponding link, corresponding link information, a set of coordinates of a root and coordinates of a tip, and display type data. The graphic identifier is an identifier uniquely given to the link graphic. The corresponding link stores the identifier of the link corresponding to the link graphic. The corresponding link information stores the identifier of the link information associated with the link graphic. The set of the coordinates of the root and the coordinates of the tip is a set of the coordinate value at which the root of the link graphic is arranged and the coordinate at which the tip of the link graphic is arranged. As the display type, any value of "solid line" and "broken line" is stored.

【0024】(実施例の動作の説明)本実施例の文書作
成装置は、あらかじめ作成されているハイパーテキスト
に対し、所定のノードから抽出される木構造を図化して
表示する構造図作成処理と、構造図上のリンク図形を指
定することによって対応するリンクのリンク情報を設定
するリンク情報設定処理と、構造図上のノード図形を指
定することによって対応するノードを根とする木構造を
抽出しノードの内容データを割り付ける文書割り付け処
理を行う。本実施例では、図3に例示すハイパーテキス
トに対し、リンク情報設定処理および文書割り付け処理
を行う過程について説明する。
(Explanation of the operation of the embodiment) The document creating apparatus of the present embodiment is a structure diagram creating process for graphically displaying a tree structure extracted from a predetermined node with respect to a hypertext created in advance. , Link information setting process that sets the link information of the corresponding link by specifying the link figure on the structure diagram, and extracts the tree structure with the corresponding node as the root by specifying the node figure on the structure diagram. Performs document allocation processing for allocating node content data. In this embodiment, a process of performing link information setting processing and document allocation processing on the hypertext shown in FIG. 3 will be described.

【0025】本実施例の装置では、まず最初に、木構造
の根となるルートノードを指定することによって、構造
図作成処理が行われる。ルートノードの指定は、利用者
が、図4(a)に示すユーザインタフェース上で、シス
テムメニューを開き、「ルートノード設定」という項目
を選択することにより行われる。ノードの指定方法に
は、ノード名を入力する方法や、ノード名の一覧表から
所定のノードを選択する方法などが考えられるが、本発
明の本質ではないので、ここでは省略する。なお、メニ
ューの処理については図13のフローチャートを用いて
後で説明する。
In the apparatus of the present embodiment, first, the structure diagram creation process is performed by designating the root node which is the root of the tree structure. The designation of the root node is performed by the user opening the system menu on the user interface shown in FIG. 4A and selecting the item "root node setting". As a method of specifying a node, a method of inputting a node name, a method of selecting a predetermined node from a list of node names, and the like are conceivable, but this is not the essence of the present invention, and is omitted here. The menu processing will be described later with reference to the flowchart of FIG.

【0026】図4(b)は、ルートノードとして図3の
ハイパーテキストにおけるノードN001を指定した例
である。ルートノードが指定されると、ルートノードに
対応するノード図形が生成され、ユーザインタフェース
上に表示される。さらに、ルートノードから他のノード
を参照するリンクに対応するリンク図形、およびそのリ
ンクの参照ノードに対応するノード図形が生成され、ユ
ーザインタフェース上に表示される。図4(b)におい
ては、ノード名を内包する矩形がノード図形であり、矩
形を結ぶ線分がリンク図形である。このとき、ルートノ
ードから他のノードを参照するリンクについてリンク情
報が調べられ、リンク情報が「抽出する」という値を保
持している場合、リンクの参照先のノードについて、前
述のようなノード図形およびリンク図形の生成が、再帰
的に繰り返される。この処理の詳細は、図18および図
19に示されており、後で説明する。
FIG. 4B is an example in which the node N001 in the hypertext of FIG. 3 is designated as the root node. When the root node is designated, a node graphic corresponding to the root node is generated and displayed on the user interface. Furthermore, a link graphic corresponding to a link that refers to another node from the root node and a node graphic corresponding to the reference node of the link are generated and displayed on the user interface. In FIG. 4B, the rectangle containing the node name is the node figure, and the line segment connecting the rectangles is the link figure. At this time, the link information is checked for the link that refers to another node from the root node, and if the link information holds the value of “extract”, the node that is referred to by the link has the node shape as described above. And the generation of the link graphic is recursively repeated. Details of this process are shown in FIGS. 18 and 19 and will be described later.

【0027】ここで、ルートノードから他のノードを参
照するリンクが保持するリンク情報の中で、調べる対象
となるのは、参照元リンク情報が設定されていないリン
ク情報である。そのリンクの参照先に位置するリンクに
関しては、すでに調べられたリンク情報を参照元リンク
情報として保持するリンク情報が、調べる対象となる。
また、該当するリンク情報が存在しない場合は、新しい
リンク情報が生成され、リンクに付与される。生成時の
リンク情報における抽出制御情報は、「抽出しない」と
いう値を取るものとする。このとき生成されるノード図
形およびリンク図形については、対応するリンク情報が
「抽出する」という値を保持する場合、実線で示される
図形要素が生成され、対応するリンク情報が「抽出しな
い」という値を保持する場合、破線で示される図形要素
が生成される。また、リンク図形の生成時に、対応する
リンク情報との関連づけが行われる。ここでは、図3の
ハイパーテキストにおいて、まだいずれのリンクにもリ
ンク情報が設定されていないものとする。したがって、
リンクL001およびリンクL002に対し、新たに生
成されたリンク情報が付与される。
Here, in the link information held by the links that refer to other nodes from the root node, the link information to be checked is the link information for which the reference source link information is not set. With respect to the link located at the reference destination of the link, the link information holding the already-examined link information as the reference source link information is the target of the check.
If the corresponding link information does not exist, new link information is generated and added to the link. The extraction control information in the link information at the time of generation has a value of "not extracted". For the node graphic and the link graphic generated at this time, when the corresponding link information holds the value "extract", the graphic element indicated by the solid line is generated and the corresponding link information has the value "not extract". , The graphic element indicated by the broken line is generated. In addition, when the link graphic is generated, it is associated with the corresponding link information. Here, in the hypertext of FIG. 3, it is assumed that the link information has not been set for any of the links. Therefore,
The newly generated link information is added to the link L001 and the link L002.

【0028】リンク情報設定処理は、図4(b)に示す
ように、利用者が構造図上でリンク図形を指定して、リ
ンクメニューを開き項目を選択することによりリンク情
報設定手段105により行われる。リンクメニューの項
目「セット」を選択すると、後述する図14に示すリン
ク情報設定アルゴリズム1により、対応するリンク情報
に「抽出する」という値が設定される。また、リンクメ
ニューの項目「解除」を選択すると、同様に後述する図
15に示すリンク情報設定アルゴリズム2により、リン
ク情報に「抽出しない」という値が設定される。図4
(b)の例において、「ノード1」と「ノード3」を結
ぶリンク図形を指定し、リンクメニューで「セット」を
選択した結果を、図4(c)に示す。図4(c)に示す
ように、リンク情報の保持する値が「抽出する」に変更
されたのに伴い、対応するリンク図形およびリンクの参
照ノードを表現するノード図形が、それぞれ破線から実
線へと書き換えられる。さらに、対応するリンクの参照
ノードから他のノードを参照するリンクについて、新た
にリンク情報が生成され、直前に変更されたリンク情報
がそれらの参照元リンク情報として設定される。そし
て、リンクに対応するリンク図形、およびそのリンクの
参照ノードに対応するノード図形が生成される。図4
(c)の例では、図3におけるリンクL002に対応す
るリンク情報の値が「抽出する」に変更されたので、リ
ンクL002に対応するリンク図形、およびノードN0
03に対応するノード図形が書き換えられる。そして、
ノードN003が保持するリンクL003、リンクL0
04、リンクL005に対応するリンク図形、およびそ
れらのリンクの参照ノードであるノードN004、ノー
ドN005、ノードN006に対応するノード図形が表
示される。このとき、リンクL003、リンクL00
4、リンクL005に対して新たに生成されたリンク情
報が付与され、それらのリンク情報の参照元リンク情報
として、リンクL002が保持するリンク情報が格納さ
れる。
As shown in FIG. 4B, the link information setting process is performed by the link information setting means 105 when the user designates a link graphic on the structure diagram, opens the link menu and selects an item. Be seen. When the item "set" of the link menu is selected, the value "extract" is set to the corresponding link information by the link information setting algorithm 1 shown in FIG. 14 described later. When the item “cancel” in the link menu is selected, a value “not extracted” is set in the link information by the link information setting algorithm 2 shown in FIG. Figure 4
In the example of (b), the result of designating the link graphic connecting "node 1" and "node 3" and selecting "set" from the link menu is shown in FIG. 4 (c). As shown in FIG. 4C, as the value held by the link information is changed to “extract”, the corresponding link graphic and the node graphic expressing the reference node of the link are changed from the broken line to the solid line, respectively. Can be rewritten as Furthermore, link information is newly generated for a link that refers to another node from the reference node of the corresponding link, and the link information changed immediately before is set as the reference source link information. Then, a link graphic corresponding to the link and a node graphic corresponding to the reference node of the link are generated. Figure 4
In the example of (c), since the value of the link information corresponding to the link L002 in FIG. 3 has been changed to “extract”, the link graphic corresponding to the link L002 and the node N0.
The node figure corresponding to 03 is rewritten. And
Link L003 and link L0 held by node N003
04, the link graphic corresponding to the link L005, and the node graphic corresponding to the node N004, the node N005, and the node N006 which are the reference nodes of those links are displayed. At this time, link L003 and link L00
4. The newly generated link information is added to the link L005, and the link information held by the link L002 is stored as the reference link information of the link information.

【0029】リンクメニューの項目「解除」を選択した
場合は、リンク情報の抽出制御情報が「抽出しない」に
変更されたのに伴い、対応するリンク図形およびリンク
の参照ノードを表現するノード図形が、それぞれ実線か
ら破線へと書き換えられる。さらに、そのノード図形よ
り下位に存在するリンク図形およびノード図形が全て削
除される。このとき、変更されたリンク情報を参照元リ
ンク情報として持つリンク情報、およびそのリンク情報
に関連づけられている下位のリンク情報も、再帰的に削
除される。すなわち、図4(c)の例において、「ノー
ド1」と「ノード3」を結ぶリンク図形を指定し、リン
クメニューで「解除」を選択すると、図4(b)に示す
状態になる。図5(a)は、図4(c)に示す状態から
さらにリンク情報設定処理を行い、図3中に示すように
リンク情報を設定したときの構造図表示である。
When the item "cancel" in the link menu is selected, the corresponding link graphic and the node graphic expressing the reference node of the link are changed as the extraction control information of the link information is changed to "not extract". , Respectively, can be rewritten from the solid line to the broken line. Further, all link graphics and node graphics existing below the node graphics are deleted. At this time, the link information having the changed link information as the reference source link information and the lower link information associated with the link information are also recursively deleted. That is, in the example of FIG. 4C, when the link figure connecting “node 1” and “node 3” is designated and “cancel” is selected in the link menu, the state shown in FIG. 4B is obtained. FIG. 5A is a structural diagram display when the link information setting process is further performed from the state shown in FIG. 4C and the link information is set as shown in FIG.

【0030】文書割り付け処理は、図5(a)に示すよ
うに、利用者が構造図上でノード図形を指定してノード
メニューを開き、項目「割り付け」を選択することによ
り文書割り付け手段109で行われる。文書割り付け処
理は、利用者によって指定されたノードを起点として、
リンクの参照関係に沿ってリンク情報を調べ、抽出制御
情報に基づいてノードを抽出し、順次割り付けた結果
を、ウィンドウに表示もしくはプリンタに出力する。こ
こで、割り付け処理については、単純にノード名を見出
しとして割り付け、ノードの内容データを見出しの直後
に割り付けるものとする。なお、割り付け処理のアルゴ
リズムの詳細については、図16のフローチャートによ
り後述する。
In the document allocation process, as shown in FIG. 5A, the user specifies the node figure on the structure diagram to open the node menu, and selects the item "allocation". Done. The document allocation process starts from the node specified by the user,
The link information is checked according to the reference relation of the links, the nodes are extracted based on the extraction control information, and the sequentially allocated results are displayed in a window or output to a printer. Here, regarding the allocation processing, it is assumed that the node name is simply allocated as the heading and the content data of the node is allocated immediately after the heading. The details of the allocation processing algorithm will be described later with reference to the flowchart of FIG.

【0031】図5(a)の例では、まず最初にルートノ
ードとして指定されたノードN001が割り付けられ
る。次に、ノードN001が保持するリンクについて、
参照元リンク情報が設定されていないリンク情報が調べ
られる。リンクL001が保持するリンク情報C001
は「抽出する」という値を保持しているので、リンクL
001の参照ノードであるノードN002が割り付けら
れる。ノードN002はリンクを保持していないので、
ノードN001が保持する残りのリンクについてリンク
情報が調べられる。リンクL002が保持するリンク情
報C002は「抽出する」という値を保持しているの
で、リンクL002の参照ノードであるノードN003
が割り付けられる。
In the example of FIG. 5A, the node N001 designated as the root node is assigned first. Next, regarding the link held by the node N001,
The link information for which the referrer link information is not set is checked. Link information C001 held by the link L001
Holds the value "extract", so link L
The node N002 which is the reference node of 001 is allocated. Since node N002 does not hold the link,
The link information is checked for the remaining links held by the node N001. Since the link information C002 held by the link L002 holds the value “extract”, the node N003 which is the reference node of the link L002.
Is allocated.

【0032】次に、ノードN003が保持するリンクに
ついて、参照元リンク情報としてリンク情報C002が
設定されているリンク情報が取り出され、抽出制御情報
が調べられる。まず、リンクL003が保持するリンク
情報C003は「抽出する」という値を保持しているの
で、リンクL003の参照ノードであるノードN004
が割り付けられる。ノードN004はリンクを保持して
いないので、ノードN003が保持する残りのリンクに
ついてリンク情報が調べられる。リンクL004が保持
するリンク情報C004は「抽出しない」という値を保
持しているので、リンクL004の参照ノードであるノ
ードN005は割り付けられない。リンクL005が保
持するリンク情報C005は「抽出する」という値を保
持しているので、リンクL005の参照ノードであるノ
ードN006が割り付けられる。ノードN006はリン
クを保持しておらず、さらにノードN003およびノー
ドN001についても残りのリンクが存在しないので、
処理が終了する。図5(b)は、上述のように文書割り
付け処理を行った結果を表示したものである。
Next, for the link held by the node N003, the link information in which the link information C002 is set as the reference source link information is extracted and the extraction control information is examined. First, since the link information C003 held by the link L003 holds the value “extract”, the node N004 which is the reference node of the link L003.
Is allocated. Since the node N004 does not hold the link, the link information is checked for the remaining links held by the node N003. Since the link information C004 held by the link L004 holds a value of "not extracted", the node N005 which is the reference node of the link L004 is not allocated. Since the link information C005 held by the link L005 holds the value “extract”, the node N006 that is the reference node of the link L005 is allocated. Since the node N006 does not hold the link and there is no remaining link for the node N003 and the node N001,
The process ends. FIG. 5B shows the result of the document allocation process as described above.

【0033】図6(a)は、図3のノードN007をル
ートノードとして指定し、図3中に示すようにリンク情
報設定処理を行ったときの構造図表示である。図6
(b)は、図6(a)においてノードN007を指定し
て文書割り付け処理を行った結果である。
FIG. 6A is a structural diagram display when the node N007 of FIG. 3 is designated as the root node and the link information setting process is performed as shown in FIG. Figure 6
FIG. 6B shows the result of performing the document allocation process by designating the node N007 in FIG.

【0034】図7(a)は、ルートノードとしてノード
N001とノードN007の両方を指定し、複数の木構
造図を同一画面上に表示した例である。この例では、ノ
ード図形のデータ構造として、図7(b)に示すように
内部表示フラグを加えたものを用いる。内部表示フラグ
は、「内部表示有り」および「内部表示無し」のいずれ
かの値を取り、ノード図形の生成時には、「内部表示無
し」の値を取るものとする。そして、図形要素管理手段
108がノード図形を生成する時に、すでに同じ対応ノ
ードを保持するノード図形が生成されていた場合、新た
に生成したノード図形および同じ対応ノードを持つノー
ド図形について、内部表示フラグを「内部表示有り」に
設定し、ノード図形を書き換えるようにしたものであ
る。このように、一つのノードに対応する複数のノード
図形を同一画面上に表示する際に、内部表示に変化を持
たせることにより、利用者が複数の木構造で共有してい
る部分を明確に把握することができる。
FIG. 7A shows an example in which both the node N001 and the node N007 are designated as root nodes and a plurality of tree structure diagrams are displayed on the same screen. In this example, as the data structure of the node graphic, a data structure to which an internal display flag is added as shown in FIG. 7B is used. The internal display flag has a value of “with internal display” or “without internal display”, and has a value of “without internal display” when the node graphic is generated. Then, when the graphic element management unit 108 generates a node graphic, if a node graphic holding the same corresponding node has already been generated, the internal display flag for the newly generated node graphic and the node graphic having the same corresponding node. Is set to “with internal display”, and the node graphic is rewritten. In this way, when multiple node figures corresponding to one node are displayed on the same screen, by changing the internal display, it is possible to clearly identify the part shared by users in multiple tree structures. You can figure it out.

【0035】図8は、図7(a)と同様にルートノード
としてノードN001とノードN007の両方を指定
し、複数の木構造図を同一画面上に表示した例である。
この例では、リンク情報設定手段105が、所定のリン
ク図形を指定して対応するリンク情報の抽出制御情報を
「抽出する」に設定するとき、リンク図形およびノード
図形を実線で示すよう書き換える際に、すでに同じ対応
ノードを保持するノード図形の表示タイプが「実線」で
あれば、互いのノード図形の内部表示フラグを「内部表
示有り」に設定し、ノード図形を書き換えるようにした
ものである。このように、一つの抽出するノードに対応
する複数のノード図形を同一画面上に表示する際に、内
部表示に変化を持たせることにより、利用者が複数の木
構造で共有している部分を明確に把握することができ
る。
FIG. 8 shows an example in which both the nodes N001 and N007 are designated as root nodes and a plurality of tree structure diagrams are displayed on the same screen as in FIG. 7A.
In this example, when the link information setting unit 105 specifies a predetermined link graphic and sets the extraction control information of the corresponding link information to “extract”, when rewriting the link graphic and the node graphic as shown by solid lines If the display type of a node graphic that already holds the same corresponding node is "solid line", the internal display flag of each node graphic is set to "with internal display", and the node graphic is rewritten. In this way, when displaying multiple node figures corresponding to one extracted node on the same screen, by changing the internal display, the part shared by the user in multiple tree structures can be saved. You can see clearly.

【0036】図9(a)は、図7(a)と同様にルート
ノードとしてノードN001とノードN007の両方を
指定し、複数の木構造図を同一画面上に表示した例であ
る。この例では、構造図作成手段が、新たに生成したノ
ード図形を配置するときに、すでに同じ対応ノードを保
持するノード図形が生成されていた場合、新たに生成し
たノード図形をそのノード図形に重ねて配置するように
したものである。このように、一つのノードに対応する
複数のノード図形を同一画面上に表示する際に、互いに
関係づけて配置することにより、利用者が複数の木構造
で共有している部分を明確に把握することができる。図
9(b)は、図9(a)と同様に、一つのノードに対応
する複数のノード図形を関係づけて配置する方法の例で
あり、リンク図形とは異なる形状の線分でノード図形間
を結ぶようにしたものである。
FIG. 9A shows an example in which both the nodes N001 and N007 are designated as root nodes and a plurality of tree structure diagrams are displayed on the same screen as in FIG. 7A. In this example, when the structure diagram creating unit arranges a newly generated node graphic and a node graphic having the same corresponding node has already been generated, the newly generated node graphic is overlaid on the node graphic. It is arranged to be placed. In this way, when multiple node figures corresponding to one node are displayed on the same screen, by arranging them in relation to each other, it is possible to clearly understand the part shared by users in multiple tree structures. can do. Similar to FIG. 9A, FIG. 9B is an example of a method of arranging a plurality of node figures corresponding to one node in association with each other. It is designed to connect the spaces.

【0037】また、この他にも、一つのノードに対応す
る複数のノード図形を同一画面上に表示する方法として
は、上述のノード図形の内部表示に変化を持たせる方法
と、ノード図形を互いに関係づけて表示する方法を組み
合わせるようにしてもよい。
In addition to the above, as a method of displaying a plurality of node figures corresponding to one node on the same screen, there is a method of changing the internal display of the above-mentioned node figure and a method of changing the node figures to each other. You may make it combine the method of displaying in association.

【0038】以下に、各部の処理の詳細を図13〜図2
2のフローチャートにより説明する。図13は本実施例
におけるメニュー処理のアルゴリズムを示すものであ
る。 ステップ(0) 利用者によってメニュー表示が指示さ
れる。 ステップ(1) 現在のカーソル位置に図形要素が存在
するか否かを判定する。 ステップ(10) 図形要素が存在するときには、さら
にその図形要素はリンク図形か否かを判定する。 ステップ(100) その判定の結果、図形要素がリン
ク図形であるとき図4(b)に示すようなリンクメニュ
ーを表示する。 ステップ(101) リンクメニューのメニュー項目
「セット」が選択されたかを判定する。 ステップ(1010) メニュー項目「セット」が選択
されたときには、リンク情報設定処理アルゴリズム1
(図14)を呼び出す。 ステップ(1011) メニュー項目「セット」が選択
されなかったときには、リンクメニューのメニュー項目
「解除」が選択されたかを判定する。 ステップ(10110) その判定の結果、メニュー項
目「解除」が選択されていたときには、リンク情報設定
処理アルゴリズム2を呼び出す。
The details of the processing of each unit will be described below with reference to FIGS.
It will be described with reference to the flowchart of FIG. FIG. 13 shows an algorithm of menu processing in this embodiment. Step (0) The user instructs the menu display. Step (1) It is determined whether or not a graphic element exists at the current cursor position. Step (10) When a graphic element exists, it is further determined whether or not the graphic element is a link graphic. Step (100) If the graphic element is a link graphic as a result of the determination, a link menu as shown in FIG. 4B is displayed. Step (101) It is determined whether the menu item "set" of the link menu is selected. Step (1010) When the menu item “set” is selected, the link information setting processing algorithm 1
(Fig. 14) is called. Step (1011) When the menu item “set” is not selected, it is determined whether the menu item “cancel” of the link menu is selected. Step (10110) If the result of the determination is that the menu item “cancel” is selected, the link information setting processing algorithm 2 is called.

【0039】ステップ(102) ステップ(10)に
より現在のカーソル1の図形要素がリンク図形ではない
と判定されたときには、図5に示すようなノードメニュ
ーを表示する。 ステップ(103) 利用者によってメニュー項目「割
り付け」が選択されたかを判定する。 ステップ(1030) メニュー項目「割り付け」が選
択されたときには、文書割り付け処理アルゴリズム1を
呼び出す。
Step (102) When it is determined in step (10) that the current graphic element of the cursor 1 is not a link graphic, a node menu as shown in FIG. 5 is displayed. Step (103) It is judged whether the menu item "allocation" has been selected by the user. Step (1030) When the "allocation" menu item is selected, the document allocation processing algorithm 1 is called.

【0040】ステップ(11) ステップ(1)の判定
の結果、図形要素のないところが指示されていたときに
は、図4(a)に示すようなシステムメニューを表示す
る。 ステップ(12) システムメニューのメニュー項目
「ルートノード設定」が選択されたかを判定する。 ステップ(120) メニュー項目「ルートノード設
定」が選択されたときには、ルートノード設定処理アル
ゴリズム(図18)を呼び出す。 ステップ(121) メニュー項目「ルートノード設
定」が選択されていなかったメニュー項目「終了」が選
択されたかを調べ、メニュー項目「終了」が選択されて
いたときにはメニュー処理を終了し、そうでない場合に
はステップ(0)へ戻る。
Step (11) If the result of the determination in step (1) is that there is no graphic element, a system menu as shown in FIG. 4A is displayed. Step (12) It is judged whether the menu item "root node setting" of the system menu is selected. Step (120) When the menu item “root node setting” is selected, the root node setting processing algorithm (FIG. 18) is called. Step (121) It is checked whether the menu item “end” is selected, which is not the menu item “root node setting”, and the menu process is ended when the menu item “end” is selected, and otherwise, Returns to step (0).

【0041】図14は本実施例におけるリンクメニュー
のメニュー項目「セット」が選択された場合のリンク情
報の設定を行うリンク情報設定処理アルゴリズム1であ
る。 ステップ(20) リンク情報管理手段1043から、
カーソルによって選択されているリンク図形の対応リン
ク情報のデータを入手する。 ステップ(21) リンク情報の抽出制御情報の値は
「抽出しない」か否かを調べる。 ステップ(210) リンク情報の抽出制御情報の値が
「抽出しない」に設定されていた場合には、その値を
「抽出する」に設定する。 ステップ(211) リンク図形の表示タイプを「実
線」に設定し、リンク図形を書き換える。 ステップ(212) リンク管理手段1042から、リ
ンク図形の対応リンクのデータを入手する。 ステップ(213) ノード管理手段1041から、リ
ンクの参照ノードのデータを入手する。 ステップ(214) ノードに対応するノード図形の表
示タイプを「実線」に設定し、ノード図形を書き換え
る。
FIG. 14 shows a link information setting processing algorithm 1 for setting the link information when the menu item "set" of the link menu in this embodiment is selected. Step (20) From the link information management means 1043,
Get the data of the corresponding link information of the link figure selected by the cursor. Step (21) It is checked whether or not the value of the extraction control information of the link information is “not extracted”. Step (210) If the value of the extraction control information of the link information is set to "not extract", that value is set to "extract". Step (211) Set the display type of the link graphic to "solid line" and rewrite the link graphic. Step (212) The data of the corresponding link of the link graphic is obtained from the link management means 1042. Step (213) Obtain the data of the reference node of the link from the node management means 1041. Step (214) Set the display type of the node graphic corresponding to the node to "solid line" and rewrite the node graphic.

【0042】ステップ(215) 次に、ノードはリン
クを有するか否かを調べる。ノードがリンクを有しない
ときには、呼び出した元のルーチンへ戻る。 ステップ(2150) ノードがリンクを有するときに
は、リンク管理手段1042から、ノードが保持するリ
ンクのデータを入手する。 ステップ(2151) 新たにリンク情報を生成し、カ
ーソルによって選択されているリンク図形が保持する対
応リンク情報を参照元リンク情報として設定する。 ステップ(2152) リンク情報識別子をリンクのリ
ンク情報リストに格納する。 ステップ(2153) リンクに対応するリンク図形を
生成する。 ステップ(2154) リンク図形の表示タイプを「破
線」に設定し、リンク図形の根元が参照元のノードに対
応するノード図形の右端に重なるように配置する。 ステップ(2155) ノード管理手段1041から、
リンクの参照ノードのデータを入手する。 ステップ(2156) ノードに対応するノード図形を
生成する。 ステップ(2157) ノード図形の表示タイプを「破
線」に設定し、ノード図形の左端がリンク図形の先端に
重なるように配置する。 ステップ(2158) ステップ(215)で調べたノ
ードについて、ノードが保持するリンクリスト中でリン
ク図形を表示していないリンクは残っているかを調べ、
残っていればそのリンクについてのリンク設定処理のた
めステップ(2150)へ戻る。リンク図形を表示して
いないリンクが残っていなかったときには、呼び出した
元のルーチンへ戻る。
Step (215) Next, the node checks whether or not it has a link. If the node has no link, it returns to the calling routine. Step (2150) When the node has a link, the data of the link held by the node is obtained from the link management means 1042. Step (2151) Link information is newly generated, and the corresponding link information held by the link graphic selected by the cursor is set as the reference source link information. Step (2152) The link information identifier is stored in the link information list of the link. Step (2153) A link graphic corresponding to the link is generated. Step (2154) The display type of the link graphic is set to “dashed line”, and the root of the link graphic is arranged so as to overlap with the right end of the node graphic corresponding to the reference source node. Step (2155) From the node management means 1041,
Get the data of the reference node of the link. Step (2156) Generate a node graphic corresponding to the node. Step (2157) The display type of the node graphic is set to "dashed line", and the left end of the node graphic is arranged so as to overlap with the tip of the link graphic. Step (2158) With respect to the node checked in step (215), it is checked whether or not there are any links whose link graphic is not displayed in the link list held by the node.
If any remain, the process returns to step (2150) for the link setting process for that link. If there is no link that does not display the link graphic, the process returns to the calling routine.

【0043】図15は本実施例におけるリンクメニュー
のメニュー項目「解除」が選択された場合のリンク情報
の設定を行うリンク情報設定処理アルゴリズム2を示す
ものである。 ステップ(30) リンク情報管理手段1043から、
カーソルによって選択されているリンク図形の対応リン
ク情報のデータを入手する。 ステップ(31) 入手したリンク情報の抽出制御情報
の値は「抽出する」か否かを調べる。 ステップ(310) リンク情報の抽出制御情報の値が
「抽出する」であったときには、それを「抽出しない」
に変更設定する。 ステップ(311) リンク図形の表示タイプを「破
線」に設定し、リンク図形を書き換える。 ステップ(312) リンク管理手段1042から、リ
ンク図形の対応リンクのデータを入手する。 ステップ(313) ノード管理手段1041から、リ
ンクの参照ノードのデータを入手する。 ステップ(314) ノードに対応するノード図形の表
示タイプを「破線」に設定し、ノード図形を書き換え
る。
FIG. 15 shows the link information setting processing algorithm 2 for setting the link information when the menu item "cancel" of the link menu in this embodiment is selected. Step (30) From the link information management means 1043,
Get the data of the corresponding link information of the link figure selected by the cursor. Step (31) It is checked whether or not the value of the extraction control information of the acquired link information is “extract”. Step (310) When the value of the extraction control information of the link information is “extract”, it is “not extracted”
Change to. Step (311) Set the display type of the link graphic to "dashed line" and rewrite the link graphic. Step (312) The data of the corresponding link of the link graphic is obtained from the link management means 1042. Step (313) The data of the reference node of the link is obtained from the node management means 1041. Step (314) The display type of the node graphic corresponding to the node is set to "dashed line" and the node graphic is rewritten.

【0044】ステップ(315) ノードはリンクを有
するかを調べる。リンクを有しない場合には呼び出した
元のルーチンへ戻る。 ステップ(3150) リンク管理手段から、ノードが
保持するリンクのデータを入手する。 ステップ(3151) ノード管理手段1042から、
リンクの参照ノードのデータを入手する。 ステップ(3152) 参照ノードについて構造図削除
処理アルゴリズム(図22)を呼び出す。 ステップ(3153) リンクに対応するリンク図形が
保持する対応リンク情報を、リンクのリンク情報リスト
から削除する。 ステップ(3154) リンク図形が保持する対応リン
ク情報を削除し、リンク図形を削除する。 ステップ(3155) ステップ(315)で調べたノ
ードについて、ノードが保持するリンクリスト中でリン
ク図形を削除していないリンクは残っているかを調べ、
残っていればそのリンクについてのリンク情報解除処理
のためステップ(3150)へ戻る。リンク図形を表示
していないリンクが残っていなかったときには、呼び出
した元のルーチンへ戻る。
Step (315) Check if the node has a link. If it does not have a link, it returns to the calling routine. Step (3150) The link data held by the node is obtained from the link management means. Step (3151) From the node management means 1042,
Get the data of the reference node of the link. Step (3152) The structure diagram deletion processing algorithm (FIG. 22) is called for the reference node. Step (3153) The corresponding link information held by the link graphic corresponding to the link is deleted from the link information list of the link. Step (3154) The corresponding link information held by the link graphic is deleted, and the link graphic is deleted. Step (3155) Regarding the node checked in step (315), it is checked whether or not there is a link whose link graphic is not deleted in the link list held by the node.
If any remain, the process returns to step (3150) for the link information cancellation processing for that link. If there is no link that does not display the link graphic, the process returns to the calling routine.

【0045】図16は本実施例における図13のメニュ
ー処理アルゴリズムのステップ(1030)で呼び出さ
れる文書割り付け処理アルゴリズム1である。 ステップ(40) ノード図形の表示タイプは「実線」
かを調べる。「実線」でない場合には、本処理を呼び出
した元のルーチンへ戻る。 ステップ(400) ノード図形の表示タイプが「実
線」の場合には、ノード管理手段1041から、カーソ
ルによって選択されているノード図形の対応ノードのデ
ータを入手する。 ステップ(401) ノード名を見出しとして割り付
け、内容データを見出しの直後に割り付ける。
FIG. 16 shows the document allocation processing algorithm 1 called in step (1030) of the menu processing algorithm of FIG. 13 in this embodiment. Step (40) Display type of node figure is "solid line"
To find out. If it is not the "solid line", the process returns to the original routine that called this process. Step (400) When the display type of the node graphic is "solid line", the data of the corresponding node of the node graphic selected by the cursor is obtained from the node managing means 1041. Step (401) Allocate the node name as the heading and the content data immediately after the heading.

【0046】ステップ(402) ノードはリンクを有
するか否かを調べる。ノードがリンクを持たない場合に
は、本処理を呼び出した元のルーチンへ戻る。 ステップ(4020) リンク管理手段1042から、
ノードが保持するリンクのデータを入手する。 ステップ(4021) 図形要素管理手段108から、
リンクに対応するリンク図形のデータを入手する。 ステップ(4022) リンク情報管理手段1043か
ら、リンク図形の対応リンク情報を入手する。
Step (402) The node checks if it has a link. If the node has no link, the process returns to the original routine that called this process. Step (4020) From the link management means 1042,
Get the data of the link held by the node. Step (4021) From the graphic element management means 108,
Get the data of the link graphic corresponding to the link. Step (4022) The corresponding link information of the link graphic is obtained from the link information management means 1043.

【0047】ステップ(4023) その入手したリン
ク情報の抽出制御情報は、「抽出する」か否かを調べ
る。「抽出する」でないときには割付けは行わないので
ステップ4024へ移る。 ステップ(40230) 抽出制御情報が「抽出する」
であるときには、そのリンク情報をスタックに格納す
る。 ステップ(40231) リンクの参照先ノードについ
て、文書割り付け処理アルゴリズム2を呼び出す。 ステップ(40232) リンク情報をスタックから削
除する。 ステップ(4024) ステップ(402)で調べたノ
ードについて、ノードが保持するリンクリスト中でリン
ク情報を調べていないリンクは残っているかを調べ、残
っていればステップ(4020)へ戻る。リンク図形を
表示していないリンクが残っていなかったときには、呼
び出した元のルーチンへ戻る。
Step (4023) It is checked whether or not the extracted extraction control information of the link information is “extract”. If it is not “extract”, the allocation is not performed, and the process moves to step 4024. Step (40230) Extraction control information is “extract”
If so, the link information is stored in the stack. Step (40231) The document allocation processing algorithm 2 is called for the reference node of the link. Step (40232) Delete link information from the stack. Step (4024) With respect to the node checked in step (402), it is checked whether or not there is a link whose link information is not checked in the link list held by the node, and if there is a link, the process returns to step (4020). If there is no link that does not display the link graphic, the process returns to the calling routine.

【0048】図17は本実施例における図16のステッ
プ(40231)において呼び出される文書割り付け処
理アルゴリズム2を示すものである。 ステップ(50) ノード管理手段1041から、リン
クの参照先のノードのデータを入手する。 ステップ(51) ノード名を見出しとして割り付け、
内容データを見出しの直後に割り付ける。
FIG. 17 shows the document allocation processing algorithm 2 called in step (40231) of FIG. 16 in this embodiment. Step (50) Obtain the data of the node referred to by the link from the node management means 1041. Step (51) Assign node names as headings,
Assign content data immediately after the heading.

【0049】ステップ(52) 上記の割り付けられた
ノードはリンクを有するか否かを調べる。その結果、ノ
ードがリンクを持たない場合には、呼び出したルーチン
へ戻る。 ステップ(520) そのノードがリンクを有している
場合には、リンク管理手段1042から、ノードが保持
するリンクのデータを入手する。 ステップ(521) リンク情報管理手段1043か
ら、リンクが保持するリンク情報のうちスタックの最後
に格納されているリンク情報を参照元リンク情報とする
リンク情報のデータを入手する。
Step (52) It is checked whether the node assigned as described above has a link. As a result, if the node has no link, it returns to the routine that called it. Step (520) If the node has a link, the link data held by the node is obtained from the link management means 1042. Step (521) From the link information management means 1043, the link information data having the link information stored at the end of the stack among the link information held by the link as the reference source link information is obtained.

【0050】ステップ(522) リンク情報の抽出制
御情報は、「抽出する」か否かを調べる。抽出制御情報
が「抽出する」でなかった場合にはステップ(523)
へ進む。 ステップ(5220) 抽出制御情報が「抽出する」で
あった場合には、そのリンク情報をスタックに格納す
る。 ステップ(5221) リンクの参照先ノードについ
て、文書割り付け処理アルゴリズム2を呼び出す。 ステップ(5222) リンク情報をスタックから削除
し、ステップ523へ移る。 ステップ(523) ステップ(52)で調べたノード
について、ノードが保持するリンクリスト中でリンク情
報を調べていないリンクは残っているか否かを調べ、残
っていれば前記ステップ(520)へ戻る。リンク図形
を表示していないリンクが残っていなかったときには、
呼び出した元のルーチンへ戻る。
Step (522) It is checked whether or not the extraction control information of the link information is “extract”. If the extraction control information is not “extract”, step (523)
Go to. Step (5220) If the extraction control information is “extract”, the link information is stored in the stack. Step (5221) The document allocation processing algorithm 2 is called for the reference node of the link. Step (5222) Delete link information from the stack and move to step 523. Step (523) With respect to the node checked in step (52), it is checked whether or not there is a link whose link information is not checked in the link list held by the node. If there is a link, the process returns to step (520). When there is no link that does not display the link shape,
Return to the calling routine.

【0051】図18および図19は図13のステップ
(120)で呼び出される本実施例におけるルートノー
ド設定処理アルゴリズムである。 ステップ(60) ノード管理手段1041から、利用
者によって指定されたノードのデータを入手する。 ステップ(61) ノードに対応するノード図形を生成
する。 ステップ(62) ノード図形の表示タイプを「実線」
に設定し、利用者がカーソルによって示す位置に配置す
る。
18 and 19 show a root node setting processing algorithm in this embodiment which is called in step (120) of FIG. Step (60) The data of the node designated by the user is obtained from the node management means 1041. Step (61) Generate a node graphic corresponding to the node. Step (62) Set the node graphic display type to "solid line"
Set to the position indicated by the cursor by the user.

【0052】ステップ(63) そのノードがリンクを
有するかを調べ、リンクを有さない場合には呼び出した
元のルーチンへ戻る。 ステップ(630) そのノードがリンクを有する場合
には、リンク管理手段1042から、ノードが保持する
リンクのデータを入手する。 ステップ(631) 入手したリンクのデータからその
リンクがリンク情報を保持しているかを調べる。 ステップ(6310) 保持している場合には、リンク
情報管理手段1043から、リンクが保持するリンク情
報のデータを入手する。 ステップ(6311) リンクが保持するリンク情報の
うち、参照元リンク情報が設定されていないものは有る
かを調べる。設定されていないものがない場合にはステ
ップ(6312)以降の処理に進む。 ステップ(63110) 設定されていないものがある
場合には、リンク情報の抽出制御情報は「抽出する」か
を調べる。「抽出する」でない場合にはステップ(63
13)へ進む。 ステップ(631100) 「抽出する」の場合には、
リンクに対応するリンク図形を生成する。 ステップ(631101) リンク図形の表示タイプを
「実線」に設定し、リンク図形の根元が参照元のノード
に対応するノード図形の右端に重なるように配置する。 ステップ(631102) リンク情報をスタックの最
後に格納する。 ステップ(631103) リンクの参照ノードについ
て、構造図作成処理アルゴリズム(図20および図2
1)を呼び出す。 ステップ(631104) リンク情報をスタックから
削除する。そして、ステップ(632)へ進む。
Step (63) Check if the node has a link, and if it does not have a link, return to the calling routine. Step (630) If the node has a link, the data of the link held by the node is obtained from the link management means 1042. Step (631) It is checked from the acquired link data whether the link holds link information. Step (6310) When the link information is held, the link information data held by the link is obtained from the link information management means 1043. Step (6311) Of the link information held by the link, it is checked whether or not the reference source link information is set. If there is no item not set, the process proceeds to step (6312) and subsequent steps. Step (63110) If there is something that is not set, it is checked whether the extraction control information of the link information is “extract”. When it is not “extract”, the step (63
Proceed to 13). Step (631100) In the case of “extract”,
Generate a link graphic corresponding to the link. Step (631101) The display type of the link graphic is set to "solid line", and the root of the link graphic is arranged so as to overlap with the right end of the node graphic corresponding to the reference source node. Step (631102) The link information is stored at the end of the stack. Step (631103) Regarding the reference node of the link, the structural diagram creation processing algorithm (see FIGS. 20 and 2).
Call 1). Step (631104) Delete link information from stack. Then, the process proceeds to step (632).

【0053】ステップ(6312) ステップ(63
1)で指定されたノードのリンクがリンク情報を保持し
ていないと判定された場合、およびステップ(631
1)でリンク情報を保持していても参照元リンク情報が
設定されていない場合には、新たにリンク情報を生成
し、リンクのリンク情報リストに格納する。 ステップ(6313) リンクに対応するリンク図形を
生成する。 ステップ(6314) リンク図形の表示タイプを「破
線」に設定し、リンク図形の根元が参照元のノードに対
応するノード図形の右端に重なるように配置する。 ステップ(6315) ノード管理手段1041から、
リンクの参照ノードのデータを入手する。 ステップ(6316) ノードに対応するノード図形を
生成する。 ステップ(6317) ノード図形の表示タイプを「破
線」に設定し、ノード図形の左端がリンク図形の先端に
重なるように配置し、ステップ(632)へ進む。
Step (6312) Step (63
When it is determined that the link of the node specified in 1) does not hold the link information, and the step (631)
If the reference source link information is not set even though the link information is held in 1), new link information is generated and stored in the link information list of the link. Step (6313) A link graphic corresponding to the link is generated. Step (6314) The display type of the link graphic is set to "dashed line", and the root of the link graphic is arranged so as to overlap with the right end of the node graphic corresponding to the reference source node. Step (6315) From the node management means 1041,
Get the data of the reference node of the link. Step (6316) A node figure corresponding to the node is generated. Step (6317) The display type of the node graphic is set to "dashed line", the left end of the node graphic is arranged so as to overlap with the tip of the link graphic, and the process proceeds to step (632).

【0054】ステップ(632) ステップ(63)で
調べたノードについて、ノードが保持するリンクリスト
中でリンク図形を表示していないリンクは残っているか
を調べ、残っている場合には、その残りのリンクについ
ての処理のためステップ(630)へ戻る。リンク図形
を表示していないリンクが残っていない場合には、呼び
出した元のルーチンへ戻る。
Step (632) With respect to the node checked in step (63), it is checked whether or not there is a link whose link graphic is not displayed in the link list held by the node. The process returns to step (630) for processing the link. If there is no link that does not display the link graphic, the process returns to the calling routine.

【0055】図20および図21は図19のステップ
(631103)によって呼び出される構造図作成処理
アルゴリズムである。 ステップ(70) ノード管理手段1041から、与え
られたノードのデータを入手する。 ステップ(71) ノードに対応するノード図形を生成
する。 ステップ(72) ノード図形の表示タイプを「実線」
に設定し、ノード図形の左端が参照元のリンクに対応す
るリンク図形の先端に重なるように配置する。
20 and 21 show a structural diagram creation processing algorithm called by the step (631103) of FIG. Step (70) Obtain the data of the given node from the node management means 1041. Step (71) Generate a node graphic corresponding to the node. Step (72) Change the display type of the node figure to "solid line"
, And the left end of the node graphic is placed so as to overlap the tip of the link graphic corresponding to the reference source link.

【0056】ステップ(73) ノードはリンクを有す
るかを調べ、リンクを有さない場合には呼び出した元の
ルーチンへ戻る。 ステップ(730) ノードがリンクを有する場合に
は、リンク管理手段1042から、ノードが保持するリ
ンクのデータを入手する。 ステップ(731) リンク情報管理手段1043か
ら、リンクが保持するリンク情報のうちスタックの最後
に格納されているリンク情報を参照元リンク情報とする
リンク情報のデータを入手する。
Step (73) The node checks if it has a link, and if it does not have a link, it returns to the calling routine. Step (730) When the node has a link, the data of the link held by the node is obtained from the link management means 1042. Step (731) From the link information management means 1043, the link information data having the link information stored at the end of the stack among the link information held by the link as the reference source link information is obtained.

【0057】ステップ(732) リンク情報の抽出制
御情報は「抽出する」かを調べる。 ステップ(7320) 抽出制御情報が「抽出する」の
場合には、リンクに対応するリンク図形を生成する。 ステップ(7321) リンク図形の表示タイプを「実
線」に設定し、リンク図形の根元が参照元のノードに対
応するノード図形の右端に重なるように配置する。 ステップ(7322) リンク情報をスタックの最後に
格納する。 ステップ(7323) リンクの参照ノードについて、
再帰的に構造図作成処理アルゴリズムを呼び出す。 ステップ(7324) リンク情報をスタックから削除
し、ステップ(733)へ進む。
Step (732) It is checked whether the extraction control information of the link information is "extract". Step (7320) If the extraction control information is “extract”, a link graphic corresponding to the link is generated. Step (7321) The display type of the link graphic is set to “solid line”, and the root of the link graphic is arranged so as to overlap with the right end of the node graphic corresponding to the reference source node. Step (7322) Store link information at the end of the stack. Step (7323) Regarding reference node of link,
Recursively calls the structure drawing processing algorithm. Step (7324) Delete link information from the stack, and proceed to Step (733).

【0058】ステップ(7325) ステップ(73
2)において抽出制御情報が「抽出する」ではないと判
定された場合には、リンクに対応するリンク図形を生成
する。 ステップ(7326) リンク図形の表示タイプを「破
線」に設定し、リンク図形の根元が参照元のノードに対
応するノード図形の右端に重なるように配置する。 ステップ(7327) ノード管理手段1041から、
リンクの参照ノードのデータを入手する。 ステップ(7328) ノードに対応するノード図形を
生成する。 ステップ(7329) ノード図形の表示タイプを「破
線」に設定し、ノード図形の左端がリンク図形の先端に
重なるように配置し、ステップ(733)へ進む。
Step (7325) Step (73)
When it is determined in 2) that the extraction control information is not “extract”, a link graphic corresponding to the link is generated. Step (7326) The display type of the link graphic is set to “dashed line”, and the root of the link graphic is arranged so as to overlap with the right end of the node graphic corresponding to the reference source node. Step (7321) From the node management means 1041,
Get the data of the reference node of the link. Step (7328) Generate a node graphic corresponding to the node. Step (7329) The display type of the node graphic is set to "dashed line", the left end of the node graphic is arranged so as to overlap with the tip of the link graphic, and the process proceeds to step (733).

【0059】ステップ(733) ステップ(73)で
調べたノードについて、ノードが保持するリンクリスト
中でリンク図形を表示していないリンクは残っているか
を調べ、残っている場合には、その残りのリンクについ
ての処理のためステップ(730)へ戻る。リンク図形
を表示していないリンクが残っていない場合には、呼び
出した元のルーチンへ戻る。
Step (733) With respect to the node checked in step (73), it is checked whether or not there are any links whose link graphic is not displayed in the link list held by the node. The process returns to step (730) for processing the link. If there is no link that does not display the link graphic, the process returns to the calling routine.

【0060】図22は図15のステップ(3152)に
より呼び出される構造図削除処理アルゴリズムを示すも
のである。 ステップ(80) ノード管理手段1041から、与え
られたノードのデータを入手する。 ステップ(81) そのノードがリンクを有するかを調
べる。 ステップ(810) リンクを有する場合には、リンク
管理手段1042から、ノードが保持するリンクのデー
タを入手する。 ステップ(811) リンクの参照ノードについて、再
帰的に構造図削除処理アルゴリズムを呼び出す。 ステップ(812) リンクに対応するリンク図形が保
持する対応リンク情報を、リンクのリンク情報リストか
ら削除する。 ステップ(813) リンク図形が保持する対応リンク
情報を削除し、リンク図形を削除する。 ステップ(814) ステップ(81)で調べたノード
について、ノードが保持するリンクリスト中でリンク図
形を削除していないリンクは残っているかを調べ、残っ
ていればその残りのリンクに関する処理のためステップ
(810)へ戻る。 ステップ(82) ステップ(81)で与えられたノー
ドがリンクを持たないと判定された場合、およびステッ
プ(814)で未処理のリンクが残っていないと判定さ
れた場合には、ノードに対応するノード図形を削除し、
呼び出した元のルーチンへ戻る。
FIG. 22 shows the structure diagram deletion processing algorithm called by the step (3152) in FIG. Step (80) Obtain data of the given node from the node management means 1041. Step (81) Check if the node has a link. Step (810) If there is a link, the data of the link held by the node is obtained from the link management means 1042. Step (811) The structure diagram deletion processing algorithm is recursively called for the reference node of the link. Step (812) The corresponding link information held by the link graphic corresponding to the link is deleted from the link information list of the link. Step (813) The corresponding link information held by the link graphic is deleted, and the link graphic is deleted. Step (814) Regarding the node checked in step (81), it is checked whether or not there is a link whose link graphic is not deleted in the link list held by the node. Return to (810). Step (82) Corresponds to the node when it is determined that the node given in step (81) has no link, and when it is determined in step (814) that there are no unprocessed links remaining. Delete the node shape,
Return to the calling routine.

【0061】[その他の実施例]第1の実施例におい
て、リンク情報が「ダブルカラムで割り付ける」という
ような割り付け処理を制御する情報を保持するように
し、文書割り付け処理の際に、その情報を利用するよう
に構成を付加して実施してもよい。この場合、図24
(c)に示すようにリンク情報のデータ構造に割り付け
制御情報という要素を加え、抽出制御情報が「抽出す
る」という値を取るときのみ、対応するリンクの参照ノ
ードの内容をどのように割り付けるかを制御情報を格納
するものとする。割り付け制御情報は、図4(b)に示
すようなリンクメニューもしくはプロパティシートなど
を用いて、利用者が指定することができるものとする。
図24(a)および(b)は、図5(a)および図6
(a)に示す木構造について、「ノード3」すなわち図
3中のノードN003を割り付けるための割り付け制御
情報が互いに異なるように設定して、割り付け処理を行
った例である。この例では、リンク情報C002には
「シングルカラムで割り付ける」という割り付け制御情
報が設定されており、これに対して、リンク情報C00
6には「ダブルカラムで割り付ける」という割り付け制
御情報が設定されているものとする。このように、リン
ク情報が割り付け処理を制御する情報を保持し、文書割
り付け処理がその情報を用いることにより、ネットワー
ク構造から抽出される複数の木構造で共有される部分に
ついて、木構造毎に異なる割り付け処理を適用すること
ができる。
[Other Embodiments] In the first embodiment, the link information holds information for controlling allocation processing such as "allocation by double column", and the information is stored at the time of document allocation processing. You may add and implement a structure so that it may be utilized. In this case, FIG.
How to allocate the content of the reference node of the corresponding link only when the element of allocation control information is added to the data structure of the link information as shown in (c) and the extraction control information takes the value of "extract" Shall store the control information. The allocation control information can be specified by the user using a link menu or property sheet as shown in FIG.
FIGS. 24 (a) and 24 (b) are shown in FIGS.
In the tree structure shown in (a), allocation control information for allocating "node 3", that is, node N003 in FIG. 3, is set to be different from each other, and allocation processing is performed. In this example, allocation control information "allocation in a single column" is set in the link information C002, whereas link information C00 is set.
It is assumed that allocation control information "allocate by double column" is set in No. 6. As described above, the link information holds the information for controlling the allocation process, and the document allocation process uses the information, so that the part shared by the plurality of tree structures extracted from the network structure is different for each tree structure. Allocation processing can be applied.

【0062】第1の実施例では、参照元と参照先のリン
ク情報の関係付けによって木構造の抽出を行う構成であ
ったが、木構造の識別子を用いて木構造の抽出の制御を
行うよう構成を変更して実施することが可能である。そ
の実施例の構成を図23に示す。図23に示す実施例の
構成は、図1に示す第1の実施例の構成において、リン
ク情報管理手段に代えて木構造情報管理手段を用い、リ
ンク情報設定手段に代えて木構造情報設定手段を用いる
ことになる。図25(a)および(b)は、ネットワー
ク構造から抽出される木構造についてそれぞれ識別子を
用意し、リンクが木構造の識別子のリストを保持するよ
うにしたデータ構造の例である。この例においては、所
定の木構造についてリンクの参照ノードを抽出する場
合、そのリンクが木構造の識別子を保持する。リンクが
保持する木構造の識別子の数は、そのリンクを含む木構
造の数と同数である。これにより、ネットワーク構造か
ら木構造を抽出する際に、その木構造の識別子を保持す
るリンクのみを辿って参照ノードを取り出すことによ
り、ネットワーク構造から複数の木構造を抽出すること
ができる。図26は、図25のデータ構造を用いて、図
27(a)に示すネットワーク構造を表現した例であ
る。このネットワーク構造からは図27(b)および
(c)に示す2つの木構造が抽出される。この例では、
木構造の識別子として、木構造のルートのノードのノー
ド識別子を用いている。また、リンクの代わりにノード
が木構造の識別子を保持する構成により実施することも
可能である。
In the first embodiment, the tree structure is extracted by associating the link information of the reference source and the reference destination, but the tree structure extraction is controlled by using the tree structure identifier. The configuration can be changed and implemented. The configuration of that embodiment is shown in FIG. In the configuration of the embodiment shown in FIG. 23, in the configuration of the first embodiment shown in FIG. 1, a tree structure information managing means is used instead of the link information managing means, and a tree structure information setting means is used instead of the link information setting means. Will be used. FIGS. 25A and 25B are examples of a data structure in which an identifier is prepared for each tree structure extracted from the network structure and a link holds a list of tree structure identifiers. In this example, when extracting a reference node of a link for a given tree structure, the link holds an identifier of the tree structure. The number of tree structure identifiers held by a link is the same as the number of tree structures including the link. Thus, when a tree structure is extracted from the network structure, a plurality of tree structures can be extracted from the network structure by following the links holding the identifier of the tree structure and extracting the reference node. FIG. 26 is an example in which the network structure shown in FIG. 27A is expressed using the data structure of FIG. Two tree structures shown in FIGS. 27B and 27C are extracted from this network structure. In this example,
The node identifier of the root node of the tree structure is used as the tree structure identifier. It is also possible to implement the configuration in which the node holds the tree-structured identifier instead of the link.

【0063】図28(a)および(b)は、木構造の抽
出を制御する情報をノードが保持するようにしたデータ
構造の例である。この例においては、ノードが子ノード
を参照するリンクに対応づけて、参照元のリンクと抽出
制御情報の組を保持している。これにより、ネットワー
ク構造から木構造を抽出する際に、複数の抽出制御情報
の候補がある場合、直前に辿ったリンクと組をなす抽出
制御情報を選択することにより、ネットワーク構造から
複数の木構造を抽出することができる。図29は、図2
8のデータ構造を用いて、図27(a)に示すネットワ
ーク構造を表現した例である。このネットワーク構造か
らは図27(b)および(c)に示す2つの木構造が抽
出される。
FIGS. 28 (a) and 28 (b) show an example of a data structure in which a node holds information for controlling extraction of a tree structure. In this example, a node holds a set of a reference source link and extraction control information in association with a link that refers to a child node. As a result, when there are a plurality of candidates for extraction control information when extracting a tree structure from a network structure, by selecting the extraction control information that forms a pair with the immediately preceding link, a plurality of tree structures can be extracted from the network structure. Can be extracted. FIG. 29 corresponds to FIG.
27 is an example in which the network structure shown in FIG. 27A is expressed using the data structure of FIG. Two tree structures shown in FIGS. 27B and 27C are extracted from this network structure.

【0064】なお、図28のデータ構造において、参照
元および参照先のリンクの識別子をノードの識別子に置
き換えることにより、リンクを用いずに同様のネットワ
ーク構造を表現することもできる。
In the data structure of FIG. 28, the same network structure can be expressed without using links by replacing the identifiers of the reference source and reference destination links with the node identifiers.

【0065】[0065]

【発明の効果】本発明の第1の発明によれば、文章構造
中の参照関係を探索する際に、木構造の構成の情報を用
いて、指定された論理単位を起点とする木構造を抽出す
るようにしたので、異なる形態の木構造をなす複数の文
書を、ネットワーク構造の文書からともに抽出すること
ができ、柔軟な文書作成を行うことができる。
According to the first aspect of the present invention, when searching a reference relation in a text structure, a tree structure starting from a designated logical unit is used by using information on the structure of the tree structure. Since the document is extracted, a plurality of documents having different tree structures can be extracted together from the document having the network structure, and flexible document creation can be performed.

【0066】本発明の第2の発明によれば、所定の参照
単位に対応する参照単位情報は該参照単位の参照元に存
在する参照単位に対応する参照単位情報との関連づけが
設定されるので、その参照単位情報を用いることにより
ハイパーテキストのようなネットワーク構造をなす文書
から、複数の異なる形態の木構造をなす文書をいずれも
抽出することができる。また、参照単位情報は一つの参
照単位に対して複数対応させて設けることができるの
で、同じ参照単位を重複して含むような木構造の抽出が
可能となり、複雑な木構造の抽出が可能となる。また、
参照単位に対応する参照単位情報に該参照単位が参照す
る論理単位を割り付けるための情報を用いることによ
り、抽出する木構造毎に異なる割付け処理を適用でき
る。また、図形要素管理手段と構造図作成手段を設けた
本発明の態様においては、各単位を表現する図形要素を
図形要素管理手段により管理し、その図形要素を用いて
木構造抽出手段により得られた木構造を構造図作成手段
により図化する。そして、その図化された図形要素を利
用者が指定することによって、参照単位情報設定手段は
参照単位情報を設定する。これにより、利用者に構造図
を提示するとともに、分かりやすいインタフェースで参
照情報の設定を容易に行うことができる。また、その構
成において、複数の論理単位から同時に参照されている
論理単位とそれ以外の論理単位とで、異なる種類の図形
要素で図化するようにした場合、あるいは複数の木構造
に同時に含まれている論理単位について、論理単位を表
現する図形を木構造間で関連づけて表示するようにした
場合には、複数の木構造で共有している部分を利用者が
明確に把握することができる。
According to the second aspect of the present invention, the reference unit information corresponding to the predetermined reference unit is associated with the reference unit information corresponding to the reference unit existing in the reference source of the reference unit. By using the reference unit information, it is possible to extract any of a plurality of documents having a tree structure of different forms from a document having a network structure such as hypertext. Further, since the reference unit information can be provided in association with a plurality of reference units, it is possible to extract a tree structure that includes the same reference unit redundantly, and it is possible to extract a complicated tree structure. Become. Also,
By using the information for allocating the logical unit referred to by the reference unit to the reference unit information corresponding to the reference unit, different allocation processing can be applied to each tree structure to be extracted. Further, in the aspect of the present invention in which the graphic element managing means and the structure diagram creating means are provided, the graphic element expressing each unit is managed by the graphic element managing means, and is obtained by the tree structure extracting means using the graphic element. The tree structure is created by a structure diagram creating means. Then, the reference unit information setting means sets the reference unit information by the user designating the graphic element thus illustrated. This makes it possible to present the structural diagram to the user and easily set the reference information with an easy-to-understand interface. In addition, in the configuration, when the logical units that are simultaneously referred to by a plurality of logical units and the other logical units are designed by different types of graphic elements, or if they are included in a plurality of tree structures at the same time. When the graphic representing the logical unit is displayed in association with each other in the tree structure, the user can clearly understand the part shared by the plurality of tree structures.

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

【図1】 第1の実施例の構成を示す図FIG. 1 is a diagram showing a configuration of a first embodiment.

【図2】 (a)はノードのデータ構造、(b)はリン
クのデータ構造、(c)はリンク情報のデータ構造、
(d)はノード図形のデータ構造、(e)はリンク図形
のデータ構造をそれぞれ示す図。
2A is a node data structure, FIG. 2B is a link data structure, and FIG. 2C is a link information data structure.
FIG. 6D is a diagram showing a data structure of a node graphic, and FIG. 8E is a diagram showing a data structure of a link graphic.

【図3】 図2のデータ構造を持つノードおよびリンク
を用いて、ハイパーテキストを表現した例を示す図
FIG. 3 is a diagram showing an example in which hypertext is expressed using nodes and links having the data structure of FIG.

【図4】 (a)はシステムメニュー、(b)はリンク
メニュー、(c)はリンクの選択をそれぞれ示す図
4A is a system menu, FIG. 4B is a link menu, and FIG. 4C is a diagram showing link selection.

【図5】 (a)はノードメニュー、(b)は割り付け
結果の例を示す図
5A is a node menu, and FIG. 5B is a diagram showing an example of an allocation result.

【図6】 (a)はノードメニュー、(b)は割り付け
結果の他の例を示す図
6A is a diagram showing a node menu, and FIG. 6B is a diagram showing another example of an allocation result.

【図7】 (a)はルートノードとしてノードN001
とノードN007の両方を指定し、複数の木構造図を同
一画面上に表示した例、(b)はノード図形のデータ構
造の例を示す図
FIG. 7A is a node N001 as a root node.
And a node N007 are both specified and a plurality of tree structure diagrams are displayed on the same screen, (b) is a diagram showing an example of the data structure of the node graphic

【図8】ルートノードとしてノードN001とノードN
007の両方を指定し、複数の木構造図を同一画面上に
表示した他の例を示す図
FIG. 8 shows nodes N001 and N as root nodes.
Diagram showing another example in which both 007 are specified and multiple tree structure diagrams are displayed on the same screen

【図9】 (a)はルートノードとしてノードN001
とノードN007の両方を指定し、複数の木構造図を同
一画面上に表示したさらに他の例、(b)は(a)と同
様に、一つのノードに対応する複数のノード図形を関係
づけて配置する方法の例であり、リンク図形とは異なる
形状の線分でノード図形間を結ぶようにした例を示す図
FIG. 9A shows a node N001 as a root node.
And another node N007 are designated and a plurality of tree structure diagrams are displayed on the same screen, (b) is the same as (a), and a plurality of node figures corresponding to one node are related. Figure that is an example of a method of arranging the node shapes and connecting the node figures with line segments having a shape different from the link figure

【図10】 (a)はハイパーテキストの文書のネット
ワーク構造の一例を示す図、(b)は(a)の文書構造
を重複を伴って木構造に変換した例を示す図、(c)お
よび(d)は(a)のネットワーク構造を木構造に変換
した例を示す図
10A is a diagram showing an example of a network structure of a hypertext document, FIG. 10B is a diagram showing an example of converting the document structure of FIG. 10A into a tree structure with duplication, FIG. FIG. 3D is a diagram showing an example in which the network structure of FIG.

【図11】 (a)および(b)は木構造をなす文書の
例を示す図
11A and 11B are diagrams showing an example of a document having a tree structure.

【図12】 (a)は図11の2つの木構造をなす文書
を関連づけたハイパーテキスト示す図、(b)はループ
の構造を持ったハイパーテキストの例を示す図
12A is a diagram showing a hypertext in which the two documents having the tree structure of FIG. 11 are associated with each other, and FIG. 12B is a diagram showing an example of the hypertext having a loop structure.

【図13】 メニュー処理アルゴリズムを示す図FIG. 13 is a diagram showing a menu processing algorithm.

【図14】 リンク情報設定アルゴリズム1を示す図FIG. 14 is a diagram showing a link information setting algorithm 1.

【図15】 リンク情報設定アルゴリズム2を示す図FIG. 15 is a diagram showing a link information setting algorithm 2.

【図16】 文書割り付け処理アルゴリズム1を示す図FIG. 16 is a diagram showing a document allocation processing algorithm 1.

【図17】 文書割り付け処理アルゴリズム2を示す図FIG. 17 is a diagram showing a document allocation processing algorithm 2.

【図18】 図19と共にルートノード設定処理アルゴ
リズムを示す図
FIG. 18 is a diagram showing a root node setting processing algorithm together with FIG. 19;

【図19】 図18と共にルートノード設定処理アルゴ
リズムを示す図
FIG. 19 is a diagram showing a root node setting processing algorithm together with FIG.

【図20】 図21と共に構造図作成処理アルゴリズム
を示す図
FIG. 20 is a diagram showing a structural diagram creation processing algorithm together with FIG. 21.

【図21】 図20と共に構造図作成処理アルゴリズム
を示す図
FIG. 21 is a diagram showing a structural diagram creation processing algorithm together with FIG. 20.

【図22】 構造図削除処理アルゴリズムを示す図FIG. 22 is a diagram showing a structure diagram deletion processing algorithm.

【図23】 他の実施例の構成を示す図FIG. 23 is a diagram showing the configuration of another embodiment.

【図24】 (a)はシングルカラムで文書割付けを行
った例、(b)はノード3をダブルカラムで割付けを行
った例、(c)は割り付け制御情報を追加したリンク情
報のデータ構造を示す図
FIG. 24A is an example in which document allocation is performed in a single column, FIG. 24B is an example in which node 3 is allocated in a double column, and FIG. 24C is a data structure of link information to which allocation control information is added. Figure

【図25】 (a)はノードのデータ構造、(b)は木
構造識別子を持つリンクのデータ構造の例を示す図
25A is a diagram showing an example of a data structure of a node, and FIG. 25B is a diagram showing an example of a data structure of a link having a tree structure identifier.

【図26】 図25のデータ構造を用いて、図27
(a)に示すネットワーク構造を表現した例を示す図
26 is a block diagram of the data structure of FIG.
The figure which shows the example which represented the network structure shown to (a).

【図27】 (a)はネットワーク構造を表現した例、
(b)および(c)はこのネットワーク構造から抽出し
た2つの木構造を示す図
FIG. 27 (a) is an example of expressing a network structure,
(B) and (c) are diagrams showing two tree structures extracted from this network structure.

【図28】 木構造の抽出を制御する情報をノードが保
持するようにしたデータ構造の例を示す図で、(a)は
ノードのデータ構造、(b)はリンクのデータ構造を示
す図
FIG. 28 is a diagram showing an example of a data structure in which information for controlling extraction of a tree structure is held by a node, where (a) shows a data structure of a node and (b) shows a data structure of a link.

【図29】 図28のデータ構造を用いて、図27
(a)に示すネットワーク構造を表現した例を示す図。
FIG. 29 shows the data structure of FIG.
The figure which shows the example which represented the network structure shown to (a).

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

101…入力手段、102…ノード・リンク選択手段、
103…文書構造格納手段、104…文書構造管理手
段、1041…ノード管理手段、1042…リンク管理
手段、1043…リンク情報管理手段、105…リンク
情報設定手段、106…木構造抽出手段、107…構造
図作成手段、108…図形要素管理手段、109…文書
割り付け手段、110…表示手段。
101 ... Input means, 102 ... Node / link selection means,
103 ... Document structure storage means, 104 ... Document structure management means, 1041 ... Node management means, 1042 ... Link management means, 1043 ... Link information management means, 105 ... Link information setting means, 106 ... Tree structure extraction means, 107 ... Structure Drawing creation means, 108 ... Graphic element management means, 109 ... Document allocation means, 110 ... Display means.

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 文書の論理的なまとまりである論理単位
と論理単位間の参照関係を規定する参照単位で表される
文書構造を管理する文書構造管理手段と、 前記文書構造の論理単位を指定する論理単位指定手段
と、 前記文書構造管理手段に格納されている文書構造の少な
くとも一部をなす木構造の構成の情報を管理する木構造
管理手段と、 前記木構造管理手段の管理する木構造の情報に基づい
て、前記論理単位指定手段により指定された論理単位を
起点とする木構造を抽出する木構造抽出手段とを有する
ことを特徴とする文書処理装置。
1. A document structure management unit that manages a document structure represented by a logical unit that is a logical unit of a document and a reference unit that defines a reference relationship between the logical units, and a logical unit of the document structure is specified. Logical unit designating means, a tree structure managing means for managing information on the structure of a tree structure forming at least a part of the document structure stored in the document structure managing means, and a tree structure managed by the tree structure managing means. And a tree structure extracting means for extracting a tree structure starting from the logical unit designated by the logical unit designating means on the basis of the above information.
【請求項2】 文書の論理的なまとまりである論理単位
と論理単位間の参照関係を規定する参照単位で表される
文書構造を管理する文書構造管理手段と、 利用者の指定する論理単位を起点として文書構造中の参
照関係を探索することにより、文書構造から文書構造の
部分構造である木構造を抽出する木構造抽出手段と、 木構造の抽出を制御するための情報を参照単位に対応づ
けて設定し、管理する参照単位情報設定・管理手段とを
具備し、 その参照単位情報設定・管理手段は、所定の参照単位に
対応する参照単位情報を設定する際に、該参照単位情報
と該参照単位の参照元に存在する参照単位に対応する参
照単位情報との関連づけを行うものであり、 前記木構造抽出手段は、前記参照単位情報間の関連に基
づいて木構造を抽出するものであることを特徴とする文
書処理装置。
2. A document structure management unit that manages a document structure represented by a logical unit that is a logical unit of a document and a reference unit that defines a reference relationship between the logical units, and a logical unit designated by a user. Corresponds to the reference unit the tree structure extraction means that extracts a tree structure that is a partial structure of the document structure from the document structure by searching the reference relationship in the document structure as a starting point and the information for controlling the extraction of the tree structure. And a reference unit information setting / managing unit that sets and manages the reference unit information. When the reference unit information setting / managing unit sets the reference unit information corresponding to a predetermined reference unit, The reference unit is for associating with reference unit information corresponding to a reference unit existing in the reference source of the reference unit, and the tree structure extracting means extracts a tree structure based on the relationship between the reference unit information. Ah Document processing apparatus, characterized in that.
【請求項3】 前記木構造抽出手段の抽出する木構造に
基づいて文書の割付けを行う文書割り付け手段を有し、
参照単位に対応する参照単位情報に該参照単位が参照す
る論理単位を割り付けるための情報を含むことを特徴と
する請求項2記載の文書処理装置。
3. A document allocating unit for allocating a document based on the tree structure extracted by the tree structure extracting unit,
3. The document processing apparatus according to claim 2, wherein the reference unit information corresponding to the reference unit includes information for allocating the logical unit referred to by the reference unit.
【請求項4】 論理単位を表現する図形要素と参照単位
を表現する図形要素を管理する図形要素管理手段と、 論理単位間の参照関係に基づいて図形要素を配置するこ
とにより、木構造抽出手段によって得られた木構造を図
化する構造図作成手段とを具備し、 参照単位情報設定手段が利用者によって指定された木構
造図中の図形要素に対応する参照単位について、参照単
位情報を設定することを特徴とする請求項2記載の文書
処理装置。
4. A tree structure extracting means for arranging a graphic element expressing a logical unit and a graphic element expressing a reference unit, and arranging the graphic element based on a reference relationship between the logical units. The reference unit information setting unit sets the reference unit information for the reference unit corresponding to the graphic element in the tree structure diagram specified by the user. The document processing apparatus according to claim 2, wherein:
【請求項5】 図形要素管理手段が論理単位を表現する
図形要素について複数の種類を管理し、構造図作成手段
が複数の論理単位から同時に参照されている論理単位と
それ以外の論理単位とで、異なる種類の図形要素を用い
て構造図を作成することを特徴とする請求項4記載の文
書処理装置。
5. The graphic element managing means manages a plurality of types of graphic elements expressing a logical unit, and the structural diagram creating means manages a plurality of kinds of logical units simultaneously referred to by the plurality of logical units and other logical units. 5. The document processing apparatus according to claim 4, wherein the structural diagram is created using different types of graphic elements.
【請求項6】 構造図作成手段が複数の木構造を図化す
る際に、複数の木構造に同時に含まれている論理単位に
ついて、該論理単位を表現する図形を木構造間で関連づ
けて表示することを特徴とする請求項4記載の文書処理
装置。
6. When the structure diagram creating unit maps a plurality of tree structures, with respect to logical units simultaneously included in the plurality of tree structures, a graphic representing the logical units is displayed in association with each other between the tree structures. The document processing apparatus according to claim 4, wherein
JP09700694A 1994-04-12 1994-04-12 Document processing device Expired - Fee Related JP3395347B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP09700694A JP3395347B2 (en) 1994-04-12 1994-04-12 Document processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP09700694A JP3395347B2 (en) 1994-04-12 1994-04-12 Document processing device

Publications (2)

Publication Number Publication Date
JPH07282060A true JPH07282060A (en) 1995-10-27
JP3395347B2 JP3395347B2 (en) 2003-04-14

Family

ID=14180173

Family Applications (1)

Application Number Title Priority Date Filing Date
JP09700694A Expired - Fee Related JP3395347B2 (en) 1994-04-12 1994-04-12 Document processing device

Country Status (1)

Country Link
JP (1) JP3395347B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10222416A (en) * 1997-02-05 1998-08-21 Fuji Xerox Co Ltd Hyper text management device
JP2006211505A (en) * 2005-01-31 2006-08-10 Canon Inc Image data transfer system, file generating method of image data, and computer program

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04171575A (en) * 1990-11-06 1992-06-18 Nippon Telegr & Teleph Corp <Ntt> Document structure converting processing system
JPH05197719A (en) * 1992-01-22 1993-08-06 Fuji Xerox Co Ltd Document preparing device
JPH06259312A (en) * 1993-03-08 1994-09-16 Fuji Xerox Co Ltd Network type document processor using two-dimensionally defined tree structure

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04171575A (en) * 1990-11-06 1992-06-18 Nippon Telegr & Teleph Corp <Ntt> Document structure converting processing system
JPH05197719A (en) * 1992-01-22 1993-08-06 Fuji Xerox Co Ltd Document preparing device
JPH06259312A (en) * 1993-03-08 1994-09-16 Fuji Xerox Co Ltd Network type document processor using two-dimensionally defined tree structure

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10222416A (en) * 1997-02-05 1998-08-21 Fuji Xerox Co Ltd Hyper text management device
JP2006211505A (en) * 2005-01-31 2006-08-10 Canon Inc Image data transfer system, file generating method of image data, and computer program

Also Published As

Publication number Publication date
JP3395347B2 (en) 2003-04-14

Similar Documents

Publication Publication Date Title
US5301313A (en) Manipulating data in a relational data base having operational manipulations defined in an input table and displayed results in an output table with a line displayed designating direction of data flow
JP2986845B2 (en) Document management method
US7409642B2 (en) Method and system for applying user interface elements to data
US5469539A (en) Method for abstracting/detailing structuring elements of system specification information
JP6103314B2 (en) Information management apparatus and file management method
KR20080052355A (en) Cad apparatus, method of editing graphic data, and computer readable recording medium for recording cad program
JP2013228964A (en) Information management device and information searching method
JP3395347B2 (en) Document processing device
JP6251860B2 (en) Information management apparatus and file management method
JP3590974B2 (en) Network-type document processing apparatus and method using tree structure defined secondary
JP2004029049A (en) Gis customizing system and program
JP5209438B2 (en) Document processing device
JPH09204465A (en) Organization chart output device
JP7421282B2 (en) Information management device and file management method
JPH0744446A (en) Relating method for grouped information
JP2022122798A (en) Information management device and file management method
JP3910048B2 (en) Database publishing method and apparatus
JP2005250690A (en) Information display system, information display device and identification information allocation device
JP3335213B2 (en) Information devices and methods for displaying information graphically
CN117032641A (en) Header and footer design mode mining method and device, electronic equipment and medium
JPH06243024A (en) Document structure expression system, network type document processor by the system and data structure display device
JPH1063684A (en) Attribute information applying device
JP3047400B2 (en) Data processing device
JP3978173B2 (en) Form creation method
JP3966355B2 (en) Program generation method and apparatus

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080207

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090207

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100207

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110207

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120207

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees