JP4710459B2 - Tree structure display program, tree structure display method, tree structure display device - Google Patents

Tree structure display program, tree structure display method, tree structure display device Download PDF

Info

Publication number
JP4710459B2
JP4710459B2 JP2005208862A JP2005208862A JP4710459B2 JP 4710459 B2 JP4710459 B2 JP 4710459B2 JP 2005208862 A JP2005208862 A JP 2005208862A JP 2005208862 A JP2005208862 A JP 2005208862A JP 4710459 B2 JP4710459 B2 JP 4710459B2
Authority
JP
Japan
Prior art keywords
node
display
tree structure
tree
displayed
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2005208862A
Other languages
Japanese (ja)
Other versions
JP2007026210A (en
Inventor
康彦 岩崎
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
Fujifilm Business Innovation Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fuji Xerox Co Ltd, Fujifilm Business Innovation Corp filed Critical Fuji Xerox Co Ltd
Priority to JP2005208862A priority Critical patent/JP4710459B2/en
Publication of JP2007026210A publication Critical patent/JP2007026210A/en
Application granted granted Critical
Publication of JP4710459B2 publication Critical patent/JP4710459B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、コンピュータのファイル管理システムなど、階層関係を形成する情報を扱うシステムにおいてツリー構造をなすノードの表示に関する。   The present invention relates to display of nodes having a tree structure in a system that handles information forming a hierarchical relationship, such as a file management system of a computer.

従来、コンピュータに接続したハードディスク等の記憶装置にファイルを格納する場合、ユーザは、ファイル管理システムの持つ機能を利用してファイルの種別、内容等を基準に階層的に関連付けられたディレクトリにファイルを分類、保存する。なお、ディレクトリ及びファイル等情報要素の集合が階層関係を持つことからツリー表示された要素を「ノード」と総称する。記憶装置で保持管理される情報要素は、オペレーションシステム(OS)のファイル管理システムなどの機能により画面表示することができるが、記憶装置に大量の情報要素が格納されると、全てのノードを一画面上に同時に表示できなくなる。従って、ユーザは、通常、スクロールをしながら目的のディレクトリやファイルを探すことになる。このように、限られた画面表示領域内に全てのノードを一度に表示できない場合には、視認性、操作性等に様々な問題が生じてくる。なお、階層関係にあるノードを、その階層関係が把握できるようにツリー表示する技術として、例えば特許文献1,2がある。また、公知のツールとしてマイクロソフト社のWindows(登録商標)に標準装備されたエクスプローラがある。   Conventionally, when storing a file in a storage device such as a hard disk connected to a computer, the user uses a function of the file management system to store the file in a directory that is hierarchically related based on the file type, content, etc. Categorize and save. Since a set of information elements such as directories and files has a hierarchical relationship, elements displayed in a tree are collectively referred to as “nodes”. Information elements held and managed in the storage device can be displayed on the screen by a function such as an operating system (OS) file management system. However, when a large amount of information elements are stored in the storage device, all the nodes are connected to each other. They cannot be displayed on the screen at the same time. Therefore, the user usually searches for a target directory or file while scrolling. As described above, when all the nodes cannot be displayed in a limited screen display area at the same time, various problems occur in visibility and operability. For example, Patent Documents 1 and 2 are techniques for displaying a tree having a hierarchical relationship so that the hierarchical relationship can be grasped. Further, as a known tool, there is an explorer provided as standard in Microsoft Windows (registered trademark).

このマイクロソフト社提供のエクスプローラを用いて記憶装置に保持管理された情報要素を画面上に展開したときの概略的な表示例を図15に示す。図15(a)において、例えば、下位階層に位置するノード(図15ではノード群)60を表示させるためには、表示目的とするノード60の上位階層のノード62,64を閉じることができない。このため、表示目的のノード60と同一階層の他のノード(図15ではノード群)66は、表示目的ではないのにもかかわらず表示目的のノード60と同様に展開され表示対象となってしまう。また、上位階層の各ノード62,64と同一階層のノード68も同様に展開され表示対象となってしまう。このような表示目的以外のノードの表示、すなわち不要な表示の発生により、図15(b)に示すような表示画面上に無駄な空間70が現れてきてしまう。   FIG. 15 shows a schematic display example when information elements held and managed in the storage device are expanded on the screen using the explorer provided by Microsoft. In FIG. 15A, for example, in order to display the node 60 (node group in FIG. 15) located in the lower hierarchy, the nodes 62 and 64 in the upper hierarchy of the node 60 to be displayed cannot be closed. For this reason, other nodes (node group in FIG. 15) 66 in the same hierarchy as the display-purpose node 60 are expanded and become display targets in the same manner as the display-purpose node 60 even though they are not display purposes. . Further, the nodes 68 in the same hierarchy as the nodes 62 and 64 in the upper hierarchy are similarly expanded and displayed. Due to the display of nodes other than the display purpose, that is, the generation of unnecessary display, a useless space 70 appears on the display screen as shown in FIG.

このような問題を解消し、ツリー構造が大きくなった場合におけるツリー表示の便宜を図るための技術が多々考案されている。これらの技術において便宜を図る方向性としては、部分ツリー表示、表示の効率化、表示ツリーの簡略化等に大別できると考えられる。   Many techniques have been devised to solve such problems and to facilitate the tree display when the tree structure becomes large. Directionality for convenience in these technologies can be roughly divided into partial tree display, display efficiency improvement, display tree simplification, and the like.

まず、部分ツリー表示を採用した先行技術として、例えば特許文献3,4がある。特許文献3には、指定した要素を先頭としてツリー構造を部分的に表示する技術が記載されている。特許文献4も先頭ノードを指定して表示する点では、特許文献2と同様である。なお、OSにより実現される、限られた表示領域内にスクロール表示させる周知技術も、ツリー構造の一部分を表示する点では、部分ツリー表示技術ともいえる。   First, for example, Patent Documents 3 and 4 are prior arts that employ partial tree display. Patent Document 3 describes a technique for partially displaying a tree structure starting from a designated element. Patent Document 4 is the same as Patent Document 2 in that the head node is designated and displayed. Note that the well-known technique realized by the OS for scrolling display within a limited display area is also a partial tree display technique in that a part of the tree structure is displayed.

次に、表示の効率化は、更にノードの配置による表示の効率化と省スペース化による表示の効率化とに大別できるが、これらのうちノードの配置による表示の効率化を採用した先行技術として、例えば特許文献5,6がある。特許文献5では、ツリーの末端のノードを表示するとき、無駄な空き表示領域が発生しないように末端ノードを並べて配置する。この技術では空きスペースを極力減らすように末端ノードを配置することで、ツリー表示に必要な表示領域の大きさを小さくする。これにより、表示ウインドウ中に表示されるノード数を増やし分かりやすくしている。特許文献6では、表示ウインドウの上位階層に無駄な空き表示領域が発生しないように、表示ウインドウの表示範囲に合わせて動的に上位階層ノードを配置しなおすことで表示効率の向上を図る。この技術ではスクロールした場合でも、上位階層がスクロールに追随して、上位階層ノードが画面内に常時表示される。   Next, display efficiency can be broadly divided into display efficiency due to node arrangement and display efficiency due to space saving. Of these, prior art that adopted display efficiency according to node arrangement. For example, there are Patent Documents 5 and 6. In Patent Document 5, when displaying the end node of the tree, the end nodes are arranged side by side so that a useless empty display area does not occur. In this technique, the size of the display area necessary for the tree display is reduced by arranging the end nodes so as to reduce the free space as much as possible. This increases the number of nodes displayed in the display window for easy understanding. In Patent Document 6, display efficiency is improved by dynamically rearranging upper layer nodes in accordance with the display range of the display window so that a useless empty display area does not occur in the upper layer of the display window. In this technique, even when scrolling, the upper hierarchy follows the scroll, and the upper hierarchy node is always displayed in the screen.

いずれの場合も表示ウインドウ中に、より多くのノードを表示するよう配置を工夫して表示効率を高めている。特に、特許文献6は、上位階層ほど表示密度が低いというツリー表示の根本的課題に対して、一定の解決をもたらしている。前述の部分ツリー表示方式でも、上位階層のノードが必ず表示画面に収まって表示されるという点で同様の効果を得られる。   In either case, the display efficiency is improved by devising the arrangement so that more nodes are displayed in the display window. In particular, Patent Document 6 provides a certain solution to the fundamental problem of tree display in which the display density is lower in the upper hierarchy. The above-described partial tree display method can achieve the same effect in that the upper layer nodes are always displayed on the display screen.

最後に、表示ツリーの簡略化を採用した先行技術として、例えば特許文献7がある。特許文献7は、ユーザが指定した要素だけからなるツリーを作成して表示する。特に、階層が深い場合でも、中間階層の要素を省略して表示することができ、必要な要素を含んだツリーを非常にコンパクトに表示することができる。   Finally, as a prior art employing the simplification of the display tree, for example, there is Patent Document 7. Patent Document 7 creates and displays a tree composed only of elements designated by the user. In particular, even when the hierarchy is deep, elements in the intermediate hierarchy can be omitted and displayed, and a tree including necessary elements can be displayed very compactly.

また、表示ツリーの簡略化に関しては、この他にもマイクロソフト社のWindows(登録商標)に標準装備されたエクスプローラ及びフリーソフトウェアのEclipseの変数ビューなどがある。前者は、フォルダを開いたり閉じたりという操作で、下位ノードの表示/非表示を切り替えることにより、不要なファイルを隠し、画面上に必要なノードを効率よく表示することができる。また、後者は、デバッグ作業中のデータ内容をツリー構造で表示できるが、たとえば配列は、配列を表すノードと配列の要素を表す下位ノードとが階層構造をもってツリーとして表示される。配列のサイズが非常に多いとき、Eclipseでは、配列の要素を順にいくつかのグループにまとめ、配列を表すノードの下に、各グループを表す仮想的な中間ノードを配置し、さらにグループのノードの下に、そのグループに含まれる配列の要素のノードを配置して表示している。このように、グループ化して仮想的なノードを加えることにより一度に大量のノードを展開表示することなく、選択したグループだけを展開表示することで、表示ツリーの巨大化を抑えることができる。   In addition to the above, regarding the simplification of the display tree, there are Explorer and a variable view of Eclipse of free software provided as standard equipment in Windows (registered trademark) of Microsoft Corporation. The former can hide and display unnecessary files and efficiently display necessary nodes on the screen by switching display / non-display of lower nodes by opening and closing folders. In the latter case, data contents during debugging can be displayed in a tree structure. For example, in an array, nodes representing an array and lower nodes representing elements of the array are displayed as a tree with a hierarchical structure. When the size of the array is very large, in Eclipse, the elements of the array are sequentially grouped into several groups, a virtual intermediate node representing each group is placed under the node representing the array, and the group nodes Below, the nodes of the elements of the array included in the group are arranged and displayed. Thus, by adding only virtual nodes by grouping them, it is possible to suppress the enlargement of the display tree by expanding and displaying only selected groups without expanding and displaying a large number of nodes at once.

特開平1−156843号公報Japanese Patent Laid-Open No. 1-156843 特開平1−290046号公報JP-A-1-290046 特開平4−195467号公報Japanese Patent Laid-Open No. 4-195467 特許第2527240号明細書Japanese Patent No. 2527240 特開平8−315038号公報JP-A-8-315038 特開2001−331358号公報JP 2001-331358 A 特開平11−45197号公報Japanese Patent Laid-Open No. 11-45197

以上のように、ツリー構造が大きくなった場合における便宜を図るための技術が多々考案されているが、それらの技術には、種々の問題点がある。   As described above, many techniques have been devised for convenience when the tree structure becomes large, but these techniques have various problems.

まず、部分ツリー表示に関する特許文献3,4では、表示していないツリーの他の部分に直接アクセスすることができない。例えば、参照したい複数のノードがツリーの表示領域以上に離れた位置に散在する場合、複数のノードを表示画面上に同時に表示することができないため、選択したノードを表示させるために画面を切り替えたりスクロールさせたりしなければならなかった。また、ツリーの表示対象にルートノードが含まれていなければ、表示対象となった部分ツリーとルートノードとの位置関係がわからないため、ツリーのどの部分が画面表示されているのか、表示内容だけから判断することができなかった。   First, in Patent Documents 3 and 4 relating to partial tree display, it is not possible to directly access other parts of the tree that are not displayed. For example, if multiple nodes that you want to refer to are scattered at positions that are more than the display area of the tree, you cannot display multiple nodes simultaneously on the display screen, so you can switch the screen to display the selected node I had to scroll. If the root node is not included in the display target of the tree, the positional relationship between the target partial tree and the root node is unknown, so which part of the tree is displayed on the screen, only from the display contents I couldn't judge.

また、表示の効率化に関する特許文献5,6では、表示画面の表示領域を効率的に利用しているものの、目的以外のノードが表示されることに対しては、なんら言及していない。従って、表示目的のツリー部分が、非常に大きなツリー構造のごく一部であった場合には、表示効率効果をほとんど得ることができない。   In Patent Documents 5 and 6 relating to display efficiency, the display area of the display screen is efficiently used, but no mention is made of the display of nodes other than the intended one. Therefore, when the tree portion for display purposes is a very small part of a very large tree structure, almost no display efficiency effect can be obtained.

また、表示ツリーの簡略化に関する特許文献7では、非常に効率的にツリーを表示できる反面、所望するツリー表示を形成するためには、非常に手間がかかる。すなわち、ユーザが表示したいノードを指示することで初めて効率的に表示することができる。また、ある階層のノードを選択表示する場合には、少なくとも最初はその階層のすべてのノードを表示しなければならない。そして、ツリーに表示したいノードを全て一つ一つユーザが選択し、選択ノードを表示モードに切り替えるといった手順を踏まなければ、所望するツリーは得られない。   In Patent Document 7 regarding simplification of the display tree, the tree can be displayed very efficiently, but it takes much time to form a desired tree display. That is, it is possible to display efficiently only when the user designates a node to be displayed. In addition, when selecting and displaying nodes in a certain hierarchy, at least first all nodes in that hierarchy must be displayed. If the user selects all the nodes to be displayed on the tree one by one and switches the selected node to the display mode, the desired tree cannot be obtained.

また、マイクロソフト社提供のエクスプローラでは、図15を用いて例示したように、表示目的のノード部分までルートノードからの経路上のノードを閉じることができないため、表示目的のノード部分の上位階層に存在する他のノードも合わせて表示されてしまう。従って、上位階層に非常に多くのノードがある場合は、表示ツリーのサイズを小さくすることはできない。また、フリーソフトウェアのEclipseでは、不要なノードだけからなるグループに対しては非表示にすることができるが、目的のノードが含まれる場合は、そのグループの下位ノードを展開表示しなければならず、マイクロソフト社提供のエクスプローラと同様の問題が発生する。   In addition, in the explorer provided by Microsoft, as shown in FIG. 15, it is not possible to close a node on the route from the root node up to the node part for display purpose, so it exists in the upper hierarchy of the node part for display purpose. Other nodes to be displayed are also displayed. Therefore, when there are a very large number of nodes in the upper hierarchy, the size of the display tree cannot be reduced. In addition, in the free software Eclipse, it is possible to hide a group consisting of only unnecessary nodes, but if the target node is included, the lower nodes of the group must be expanded and displayed. The same problem occurs with Microsoft-provided Explorer.

以上のように、前述したいずれの技術も何らかの効果がある一方で、使用状況によっては何らかの課題を残してしまい、あらゆる場面において使い勝手がよいツリー表示とは言い難い。   As described above, while any of the above-described techniques has some effects, some problems remain depending on the use situation, and it is difficult to say that the tree display is easy to use in every scene.

本発明は、改良されたツリー表示プログラム、方法又は装置を提供することによって以上の課題の少なくとも一つを解決することを目的とする。   An object of the present invention is to solve at least one of the above problems by providing an improved tree display program, method or apparatus.

以上のような目的を達成するために、本発明に係るツリー構造表示プログラムは、階層関係にある要素の集合をツリー構造で画面表示する機能を有するコンピュータを、階層関係にある要素の集合の中から1つを表示ツリーのルートノードとして設定するルートノード設定処理手段、ルートノードとして設定された要素の親要素を当該ルートノードの子ノードとするツリー構造を形成する場合、該子ノードが親要素であることを表す記号を、形成したツリー構造に付加して表示するツリー構造表示処理手段として機能させるものである。 In order to achieve the above object, a tree structure display program according to the present invention provides a computer having a function of displaying a set of elements in a hierarchical relationship on a screen in a tree structure. Root node setting processing means for setting one of the nodes as a root node of the display tree, and when forming a tree structure in which the parent element of the element set as the root node is a child node of the root node, the child node is the parent element This is a function that serves as a tree structure display processing means for displaying a symbol indicating that the information is added to the formed tree structure .

また、前記ルートノード設定処理手段は、ユーザが指定した要素に基づいてルートノードを設定するものである。   The root node setting processing means sets a root node based on an element designated by the user.

また、前記ツリー構造表示処理手段は、画面表示されるノードアイコンを、当該ノードの下位ノードを展開表示する開状態と、当該ノードの下位ノードを非表示とする閉状態とで異なる形態にて表示するアイコン表示制御部を有するものである。   Further, the tree structure display processing means displays a node icon displayed on the screen in a different form between an open state in which a lower node of the node is expanded and displayed and a closed state in which a lower node of the node is not displayed. And an icon display control unit.

また、前記ツリー構造表示処理手段は、表示状態を切り替えるノードが指定されたユーザからの表示状態切替指示に応じて当該ノードの開状態と閉状態とを切替表示するものである。   The tree structure display processing means switches between the open state and the closed state of the node according to the display state switching instruction from the user who has designated the node whose display state is to be switched.

また、前記ツリー構造表示処理手段は、階層構造の最上位の要素を表すノードと表示ツリーのルートノードとの間の経路上に位置するいずれかのノードが表示状態切替指示に指定されたとき、その経路上に位置する全てのノードアイコンを表示するようにツリー構造を再形成するツリー構造形成部を有するものである。   Further, the tree structure display processing means, when any node located on the path between the node representing the highest element of the hierarchical structure and the root node of the display tree is designated in the display state switching instruction, It has a tree structure forming unit for re-forming the tree structure so as to display all node icons located on the route.

また、前記アイコン表示制御部は、表示ノードがその親ノードで示された要素の子要素を示すことを表す順方向連結情報と、表示ノードがその親ノードで示された要素の親要素を示すことを表す逆方向連結情報との、いずれか一方または両方を画面表示するものである。   The icon display control unit indicates forward link information indicating that the display node indicates a child element of the element indicated by the parent node, and the display node indicates a parent element of the element indicated by the parent node. Any one or both of the reverse direction connection information indicating that is displayed on the screen.

また、前記アイコン表示制御部は、前記順方向連結情報および前記逆方向連結情報を当該表示ノードとその親ノードを表す各ノードアイコンを結ぶ線上あるいはその近傍に画面表示するのである。   Further, the icon display control unit displays the forward link information and the reverse link information on a screen connecting the display node and each node icon representing the parent node or in the vicinity thereof.

また、前記アイコン表示制御部は、向きが視認可能な有向性アイコンを用い、その有向性アイコンの向きによって前記順方向連結情報と前記逆方向連結情報とのいずれであるかを視認可能とする。   In addition, the icon display control unit can use a directional icon whose direction is visually recognizable, and can visually recognize whether the forward direction connection information or the reverse direction connection information depends on the direction of the directional icon. To do.

本発明に係るツリー構造表示方法は、階層関係にある要素の集合をツリー構造で画面表示する機能を有するコンピュータで実施され、階層構造上、最上位階層に位置する要素をルートノードとしたツリー構造を表示する通常ツリー表示ステップと、前記通常ツリー表示ステップにより表示されたツリーの中からユーザにより指定されたルートノードを受け付けるステップと、ユーザにより指定されたルートノードが示す要素の親要素を当該ルートノードの子ノードとするツリー構造を形成する場合、該子ノードが親要素であることを表す記号を、形成したツリー構造に付加して表示するステップとを含むことを特徴とする。 The tree structure display method according to the present invention is implemented by a computer having a function of displaying a set of elements having a hierarchical relationship on a screen in a tree structure, and has a tree structure with an element located in the highest hierarchy in the hierarchical structure as a root node. the ordinary tree display step of displaying, a step of accepting a root node specified by the user from the tree normally displayed by the tree display step, the parent element of the element shown is designated root node by the user when forming a tree structure as a child node of the root node, characterized in that the child node and displaying added to the tree structure symbols, which formed was indicating that a parent element.

本発明に係るツリー構造表示装置は、階層関係にある要素の集合をツリー構造で画面表示するツリー構造表示装置において、階層関係にある要素の集合の中から1つを表示ツリーのルートノードとして設定するルートノード設定処理手段ルートノードとして設定された要素の親要素を当該ルートノードの子ノードとするツリー構造を形成する場合、該子ノードが親要素であることを表す記号を、形成したツリー構造に付加して表示するツリー構造表示処理手段と、を有することを特徴とする。 The tree structure display device according to the present invention is a tree structure display device that displays a set of elements in a hierarchical relationship on a screen in a tree structure, and sets one of the set of elements in a hierarchical relationship as a root node of the display tree When forming a tree structure having a root node setting processing means and a parent element of an element set as a root node as a child node of the root node, a symbol indicating that the child node is a parent element is formed It characterized by having a a tree display processing means for displaying is added to the tree structure.

また、前記ツリー構造表示処理手段は、画面表示されるノードアイコンを、当該ノードの下位ノードを展開表示する開状態と、当該ノードの下位ノードを非表示とする閉状態とで異なる形態にて表示するアイコン表示制御部を有することを特徴とする。   Further, the tree structure display processing means displays a node icon displayed on the screen in a different form between an open state in which a lower node of the node is expanded and displayed and a closed state in which a lower node of the node is not displayed. An icon display control unit is provided.

また、前記ツリー構造表示処理手段は、表示状態を切り替えるノードが指定されたユーザからの表示状態切替指示に応じて当該ノードの開状態と閉状態とを切替表示することを特徴とする。   Further, the tree structure display processing means switches between the open state and the closed state of the node according to a display state switching instruction from a user who has designated the node for switching the display state.

また、前記ツリー構造表示処理手段は、階層構造の最上位の要素を表すノードと表示ツリーのルートノードとの間の経路上に位置するいずれかのノードが表示状態切替指示に指定されたとき、その経路上に位置する全てのノードアイコンを表示することを特徴とする。   Further, the tree structure display processing means, when any node located on the path between the node representing the highest element of the hierarchical structure and the root node of the display tree is designated in the display state switching instruction, All the node icons located on the route are displayed.

本発明によれば、親要素を親ノードとして表示できない場合には親要素を子ノードとして且つ親要素であることが判別可能にツリー構造を表示するようにしたので、必ずしも階層構造上、最上位階層の要素を表示ツリーのルートノードとして表示しなくても階層関係にある要素全体をツリー構造として表示することができる。特にユーザにより指定された要素をルートノードとしてツリー構造を表示するようにしたので、ユーザが表示対象として所望する部分を判別しやすいようにし、それを画面表示することができる。また特に、要素の親要素をノードの子ノードとして表示することで、要素を示すノードを表示したまま要素の親要素を示す子ノードを閉じることができる。すなわち、表示対象として所望する部分を表示したまま、表示対象部分の上位階層に位置する不要な要素、また表示対象部分と同一階層にある不要な要素さえも非表示にすることができる。このように、表示対象としていない不要なノードを非表示とすることができるので、画面表示領域の省スペース化を図ることができる。   According to the present invention, when the parent element cannot be displayed as a parent node, the tree structure is displayed so that the parent element is a child node and can be discriminated as a parent element. Even if the elements of the hierarchy are not displayed as the root node of the display tree, the entire elements having a hierarchical relationship can be displayed as a tree structure. In particular, since the tree structure is displayed with the element designated by the user as the root node, it is easy for the user to determine a desired portion as a display target, and it can be displayed on the screen. In particular, by displaying the parent element of the element as a child node of the node, the child node indicating the parent element of the element can be closed while the node indicating the element is displayed. That is, while displaying a desired portion as a display target, it is possible to hide unnecessary elements positioned in the upper hierarchy of the display target portion, and even unnecessary elements in the same hierarchy as the display target portion. As described above, since unnecessary nodes that are not to be displayed can be hidden, the screen display area can be saved.

以下、図面に基づいて、本発明の好適な実施の形態について説明する。   Hereinafter, preferred embodiments of the present invention will be described with reference to the drawings.

実施の形態1.
図1は、本発明に係るツリー構造表示装置に相当するコンピュータのハードウェア構成図である。本実施の形態において用いるコンピュータ1は、従前から存在する汎用的なハードウェア構成で実現できる。すなわち、コンピュータ1は、図1に示したようにCPU2、ROM4、RAM6、ハードディスクドライブ(HDD)8を接続したHDDコントローラ10、入力手段として設けられたマウス12及びキーボード14、表示装置として設けられたディスプレイ16をそれぞれ接続する入出力コントローラ18を内部バス20に接続して構成される。
Embodiment 1 FIG.
FIG. 1 is a hardware configuration diagram of a computer corresponding to a tree structure display device according to the present invention. The computer 1 used in the present embodiment can be realized with a general-purpose hardware configuration that has existed in the past. That is, as shown in FIG. 1, the computer 1 is provided with a CPU 2, a ROM 4, a RAM 6, an HDD controller 10 connected to a hard disk drive (HDD) 8, a mouse 12 and a keyboard 14 provided as input means, and a display device. An input / output controller 18 for connecting each display 16 is connected to an internal bus 20.

図2は、本実施の形態におけるコンピュータ1の機能ブロック構成図である。コンピュータ1は、ルートノード設定処理部22、表示処理部24及びノード情報記憶部26を有している。ルートノード設定処理部22は、画面表示された通常のツリーの中からユーザにより指定されたノードを受け付ける。表示処理部24は、階層関係にある要素の全部又は一部のツリー構造を画面上に表示する。表示処理部24に含まれるツリー構造形成部28は、ユーザからの指示に従い、階層関係にある要素の集合全体の最上位階層に位置する要素をルートノードとしたツリー構造、あるいはユーザにより指定された表示対象とする要素をルートノードとしたツリー構造を形成する。本実施の形態では、各種アイコンを利用するが、アイコン切替部30は、これらのアイコンの切替表示等の表示制御を行う。ノード情報記憶部26には、ノードの名称等を含む属性情報等各ノードに関する情報と、各ノードの階層関係を表すツリー構造情報が記憶されている。   FIG. 2 is a functional block configuration diagram of the computer 1 in the present embodiment. The computer 1 includes a root node setting processing unit 22, a display processing unit 24, and a node information storage unit 26. The root node setting processing unit 22 receives a node designated by the user from the normal tree displayed on the screen. The display processing unit 24 displays all or part of the tree structure of elements having a hierarchical relationship on the screen. The tree structure forming unit 28 included in the display processing unit 24 is in accordance with an instruction from the user, a tree structure having an element located at the highest hierarchy of the entire set of elements having a hierarchical relationship as a root node, or designated by the user A tree structure is formed with the element to be displayed as the root node. Although various icons are used in the present embodiment, the icon switching unit 30 performs display control such as switching display of these icons. The node information storage unit 26 stores information about each node such as attribute information including the name of the node and the like, and tree structure information representing the hierarchical relationship between the nodes.

本実施の形態では、ノード情報記憶部26に、本実施の形態の実施に必要な情報を保持するようにしたが、これら必要な情報は、コンピュータ1内のノード情報記憶部26に保持させておく構成に限定されることはなく、例えばネットワーク経由等で取得できるように構成してもよい。また、図2に示したノード情報記憶部26は、図1に示したHDD8で実現することを想定している。もちろん、RAM6に必要なデータをコピーしてから使用するようにしてもよい。   In the present embodiment, the node information storage unit 26 holds information necessary for implementing the present embodiment. However, the necessary information is stored in the node information storage unit 26 in the computer 1. The configuration is not limited, and may be configured to be acquired via a network, for example. Further, it is assumed that the node information storage unit 26 shown in FIG. 2 is realized by the HDD 8 shown in FIG. Of course, necessary data may be copied to the RAM 6 before use.

また、ルートノード設定処理部22及び表示処理部24における処理機能は、コンピュータ1と当該処理機能を実現する1乃至複数のツリー構造プログラムとの協調動作により実現される。   The processing functions in the root node setting processing unit 22 and the display processing unit 24 are realized by a cooperative operation between the computer 1 and one or more tree structure programs that realize the processing function.

次に、本実施の形態におけるツリー構造表示方法の基本的な考え方について図3を用いて説明する。   Next, the basic concept of the tree structure display method according to the present embodiment will be described with reference to FIG.

ツリー表示は、ファイルシステムや構造化文書などさまざまな分野で階層構造を視覚的に確認できる手段として用いられている。一般的に階層構造をツリーとして表示するとき、ルートノードを頂点として、横方向または縦方向のいずれかが階層方向を表すように、各ノードをその階層位置に応じて配置し、各ノード間を線(以下、「枝」ともいう。通常は直線)で結んで表示する。このように階層構造を表すツリー表示においては、各ノード間を結ぶ線は親子関係の方向性を持っている。すなわち、階層構造を表すツリーは一種の有向グラフとみなすことができる。   The tree display is used as a means for visually confirming a hierarchical structure in various fields such as a file system and a structured document. Generally, when displaying a hierarchical structure as a tree, each node is arranged according to its hierarchical position so that either the horizontal direction or the vertical direction represents the hierarchical direction with the root node as the apex. Displayed by connecting with lines (hereinafter also referred to as “branches”, usually straight lines). Thus, in the tree display representing the hierarchical structure, the lines connecting the nodes have a parent-child relationship direction. That is, a tree representing a hierarchical structure can be regarded as a kind of directed graph.

図3(a)には、階層関係にある7ノードのツリー表示の例が示されている。ツリー構造を形成するノードのうちノード1は、階層構造の最上位階層に位置するノードであり、階層構造を形成する基点となるルートノードである。ノード1は、ノード2,5,6を子ノードとする。また、ノード2はノード3,4を子ノードとし、ノード6はノード7を子ノードとする。このような階層関係にあるノード1〜7を有向グラフ化してツリー表示すると、図3(a)に例示したように各ノードの階層関係が視覚的に把握しやすくなる。なお、図3(a)はコンピュータでよく見られるツリー表示の例であり、ノード間を結ぶ線は直線ではなく直角に曲がった引き出し線であり、線の一部が重なって表現されているが、有向グラフとして本質的には変わらない。   FIG. 3A shows an example of a tree display of seven nodes having a hierarchical relationship. Of the nodes forming the tree structure, the node 1 is a node located at the highest hierarchy of the hierarchical structure and is a root node serving as a base point for forming the hierarchical structure. Node 1 has nodes 2, 5, and 6 as child nodes. Node 2 has nodes 3 and 4 as child nodes, and node 6 has node 7 as a child node. If the nodes 1 to 7 having such a hierarchical relationship are displayed as a directed graph in a tree form, the hierarchical relationship of each node can be easily grasped visually as illustrated in FIG. FIG. 3A is an example of a tree display often seen in a computer, and a line connecting nodes is not a straight line but a lead line bent at a right angle, and a part of the line is expressed by overlapping. It is essentially unchanged as a directed graph.

しかし、一般にツリーとは、閉路を含まず連結されたグラフのことであって、枝の方向を考慮する必要はない。階層構造のツリー表示において、ツリーの基点となるルートノードは、上記の通り一般的には階層構造における最上位階層のノード(最上位点)のことを意味するが、本来、無向グラフであるツリーにおいては、ルートという概念は必要ない。図3(b)には、図3(a)と同じ階層関係にある7ノードのツリー表示の例が示されているが、この図3(b)のように各ノード1〜7の上下関係が明確にならないように表示しても、より具体的にいうと、最上位階層のノード1をルートノードとして判別しやすいように一番上に表示しなくても同じツリー構造を表現することができる。つまり、図3(a)に例示したように最上位階層のノード1から展開するツリー表示とする必要はない。換言すると、階層構造の上下関係を考慮しなければ、任意のノードをルートとするツリー表現が可能である。   However, in general, a tree is a connected graph that does not include cycles, and there is no need to consider the direction of branches. In the tree display of the hierarchical structure, the root node that is the base point of the tree generally means a node in the highest hierarchy (highest point) in the hierarchical structure as described above, but is originally an undirected graph. In the tree, the concept of root is not necessary. FIG. 3B shows an example of a tree display of 7 nodes having the same hierarchical relationship as FIG. 3A. As shown in FIG. Even if it is displayed in such a way that it is not clear, more specifically, the same tree structure can be expressed even if it is not displayed at the top so that node 1 in the highest hierarchy can be easily identified as the root node. it can. That is, it is not necessary to use a tree display that expands from the node 1 of the highest hierarchy as illustrated in FIG. In other words, a tree expression having an arbitrary node as a root is possible without considering the hierarchical relationship of the hierarchical structure.

本特許出願人は、このツリーの無向性に着目し、次のようなツリー構造の表示方法を提案することにした。この本実施の形態において特徴的なツリー構造表示方法の概要について図4を用いて説明する。   The applicant of this patent pays attention to the undirected nature of the tree, and proposes the following tree structure display method. The outline of the tree structure display method characteristic of this embodiment will be described with reference to FIG.

図4には、階層関係にある10ノードのツリー表示の例が示されている。図4(a)〜(d)にはそれぞれ、同じ階層関係にあるノードツリー構造を異なる表示形態にて表示した例が示されている。従前からのツリー表示を示している図4(a)を参照すると把握しやすいように、ツリー構造を形成するノードのうちノード1は、階層構造の最上位階層に位置し、階層構造を形成する基点となるノード(実際のルートノード)であり、ノード2,8を子ノードとする。ノード2はノード3,4,7を子ノードとし、ノード8はノード9,10を子ノードとする。更に、ノード4はノード5,6を子ノードとする。このような階層関係にあるノード1〜10を有向グラフ化してツリー表示すると図4(a)のようになる。図4(a)では、階層構造の最上位階層に位置するノード1がルートノードとして判別しやすいように画面表示上、最上位に配置されている。   FIG. 4 shows an example of a tree display of 10 nodes having a hierarchical relationship. FIGS. 4A to 4D show examples in which node tree structures having the same hierarchical relationship are displayed in different display forms. As can be easily understood by referring to FIG. 4A showing the conventional tree display, among the nodes forming the tree structure, the node 1 is located at the highest hierarchy of the hierarchical structure and forms the hierarchical structure. It is a node (actual root node) serving as a base point, and nodes 2 and 8 are child nodes. Node 2 has nodes 3, 4 and 7 as child nodes, and node 8 has nodes 9 and 10 as child nodes. Further, the node 4 has the nodes 5 and 6 as child nodes. When the nodes 1 to 10 having such a hierarchical relationship are converted into a directed graph and displayed as a tree, the result is as shown in FIG. In FIG. 4A, the node 1 located at the highest level of the hierarchical structure is arranged at the highest level on the screen display so that it can be easily identified as the root node.

ここで、図4(a)のようなツリー表示の中からユーザがルートノードとしてノード4を指定したとする。すると、本実施の形態では、図4(b)に示したようにノード4をツリー構造の最上位に位置するようなツリー構造を形成して画面表示する。ノード4は、図4(a)から把握できるようにノード2の子ノードであると共にノード5,6の親ノードでもある(ここでいう親子関係は、表示ツリー上の親子関係ではなく本来の階層構造上の親子関係である)。図4(b)を参照すると、最上位に表示されるノード4には、ノード2,5,6が枝により接続されており、親子関係にあることがわかる。ただ、枝により直接接続されたノード(以下、「連結ノード」ともいう)を、同じ種類の枝で単に接続しただけでは、連結ノードが親ノードなのか子ノードなのかが把握できない。そこで、本実施の形態では、連結ノードとの親子関係が一目瞭然に把握できるように親ノード2と接続する枝に、向きを表現しやすい矢印形状の記号を付加するようにした。図4(b)では、この矢印40の向きからノード2が親ノードであることが容易に把握することができる。一方、子ノード5,6との枝には何も記号を付加しないことで、親ノードでないことが判別できるようにした。   Here, it is assumed that the user designates the node 4 as the root node from the tree display as shown in FIG. Then, in this embodiment, as shown in FIG. 4B, a tree structure in which the node 4 is positioned at the top of the tree structure is formed and displayed on the screen. As can be understood from FIG. 4A, the node 4 is a child node of the node 2 and also a parent node of the nodes 5 and 6 (the parent-child relationship here is not the parent-child relationship on the display tree but the original hierarchy). This is a structural parent-child relationship). Referring to FIG. 4 (b), it can be seen that nodes 2, 5 and 6 are connected by branches to the node 4 displayed at the highest level and have a parent-child relationship. However, simply connecting nodes directly connected by branches (hereinafter also referred to as “connected nodes”) with the same type of branches cannot determine whether the connected node is a parent node or a child node. Therefore, in the present embodiment, an arrow-shaped symbol that easily expresses the direction is added to the branch connected to the parent node 2 so that the parent-child relationship with the connected node can be clearly understood. In FIG. 4B, it can be easily understood from the direction of the arrow 40 that the node 2 is the parent node. On the other hand, no symbol is added to the branches of the child nodes 5 and 6 so that it can be determined that the node is not a parent node.

ノード4の親ノード2は、図4(a)から把握できるようにノード1の子ノードであると共に、ノード4以外にノード3,7の親ノードでもある。従って、ノード3,7,1を連結ノードとして直接枝で接続し、このうち親ノードであるノード1との枝には、前述したように親子関係がわかるように向きを設定して矢印40を付加する。なお、ノード4の子ノード5,6には、子ノードが存在しないのでノードを展開表示する必要はない。   The parent node 2 of the node 4 is a child node of the node 1 as can be understood from FIG. 4A, and is also a parent node of the nodes 3 and 7 in addition to the node 4. Therefore, nodes 3, 7 and 1 are directly connected as connected nodes with branches, and among these branches with the parent node Node 1, the direction is set so that the parent-child relationship can be understood as described above, and the arrow 40 is set. Append. Note that the child nodes 5 and 6 of the node 4 do not have any child nodes, so there is no need to expand and display the nodes.

ノード4の親ノード2の親ノード1は、図4(a)から把握できるようにノード2以外にノード8の親ノードでもある。従って、ノード8を連結ノードとして枝で直接接続する。更に、ノード1の子ノード8は、ノード9,10の親ノードなのでその親子関係がわかるように枝で接続する。   The parent node 1 of the parent node 2 of the node 4 is not only the node 2 but also the parent node of the node 8 as can be understood from FIG. Therefore, the node 8 is directly connected by a branch as a connection node. Further, since the child node 8 of the node 1 is the parent node of the nodes 9 and 10, they are connected by branches so that the parent-child relationship can be understood.

本実施の形態では、以上のようにノード4がルートノードとして指定されたとき、ノード4を画面表示上、最上位の位置に表示し、そして親子関係が把握できるように枝に記号を付加することでツリー表示を行うようにした。これにより、例えばユーザがノード4あるいはノード4とその子ノードによるノード群を表示対象としたい場合、その表示対象のノードから展開された階層構造にてツリー表示することができるので、表示目的部分を判別しやすくなる。なお、本実施の形態では、表示対象と表示目的とは同義である。   In the present embodiment, when the node 4 is designated as the root node as described above, the node 4 is displayed at the highest position on the screen display, and a symbol is added to the branch so that the parent-child relationship can be grasped. The tree display was done. Thus, for example, when the user wants to display node 4 or a node group including node 4 and its child nodes, a tree display can be performed in a hierarchical structure expanded from the display target node, so that the display target portion can be determined. It becomes easy to do. In the present embodiment, the display target and the display purpose are synonymous.

本実施の形態は、図4(a)と図4(b)との関係から理解できるように、階層構造における階層関係の実体を変更するものではなく、階層構造の表示形態を変更可能にしたものである。図4(b)においても階層構造上、最上位階層に位置する要素は、ノード1である。従って、本実施の形態では、階層構造上、ノード1のように最上位階層に位置するノードを「実際のルートノード」と称しているが、上記例示したノード4のようにユーザにより表示ツリーのルートノードとして指定されたノードを「仮想的なルートノード」と称することにする。   As can be understood from the relationship between FIG. 4A and FIG. 4B, the present embodiment does not change the hierarchical relationship entity in the hierarchical structure, but allows the display form of the hierarchical structure to be changed. Is. In FIG. 4B as well, the element located in the highest hierarchy in the hierarchical structure is node 1. Therefore, in the present embodiment, a node located at the highest hierarchy such as node 1 in the hierarchical structure is referred to as an “actual root node”. A node designated as a root node will be referred to as a “virtual root node”.

続いて図4(c)は、図4(b)において展開表示していたノード2の下位階層のノードを、ノード2を閉じることによって非表示にしたときの表示例である。なお、この場合もノード2は、ノード4の親ノードであることには変わりないので、各ノード2,4を接続する枝に矢印40を付加する。更に、図4(d)は、ノードを閉じて表示するツリー表示の特殊な表示形態であり、基本的にはノード2を閉じて表示するものの図4(c)において非表示にしていたノードのうち、仮想的なルートノード4と実際のルートノード1との階層関係が把握できるように、仮想的なルートノード4から実際のルートノード1までの経路は残して表示するようにした。なお、図4(d)では、矢印40とは異なる形状の矢印42を枝に付加しているが、この矢印42を枝に付加することで、当該枝が実際のルートノード1までの経路上にある、換言すると当該枝の先に実際のルートノード1が存在することがわかる。   Next, FIG. 4C is a display example when the node in the lower hierarchy of the node 2 that has been expanded and displayed in FIG. 4B is hidden by closing the node 2. Note that in this case as well, the node 2 is still the parent node of the node 4, so an arrow 40 is added to the branch connecting the nodes 2 and 4. Further, FIG. 4D is a special display form of a tree display in which a node is closed and displayed. Basically, although a node 2 is closed and displayed, a node that has not been displayed in FIG. 4C is displayed. Among them, the route from the virtual root node 4 to the actual root node 1 is left and displayed so that the hierarchical relationship between the virtual root node 4 and the actual root node 1 can be grasped. In FIG. 4D, an arrow 42 having a shape different from that of the arrow 40 is added to the branch. By adding this arrow 42 to the branch, the branch is on the path to the actual root node 1. In other words, it can be seen that the actual root node 1 exists at the end of the branch.

なお、表示画面上、ノードを表すノードアイコンは、当該ノードの下位階層に位置するノードを展開表示する開状態と、当該ノードの下位階層に位置するノードを非表示とする閉状態とのいずれかの状態で表示される。前述した「ノードを閉じる」というのは、例えばノードアイコンのクリック操作等のユーザ操作によりノードアイコンの表示状態を閉状態に切り替え、下位階層に位置するノードを非表示にすることをいう。   On the display screen, a node icon representing a node is either an open state in which a node located in a lower hierarchy of the node is expanded and displayed, or a closed state in which a node located in a lower hierarchy of the node is not displayed. Is displayed in the state. The above-described “close node” means that the display state of the node icon is switched to the closed state by a user operation such as a click operation of the node icon, and the node located in the lower hierarchy is hidden.

本実施の形態におけるツリー構造表示方法の概要は、以上の通りであるが、本実施の形態によれば、表示させたいノード4(表示させたいのがノード群4〜6であれば、その最上位のノード4)から展開された仮想的な階層構造を形成し、その形成した階層構造をツリー表示するようにした。これにより、表示目的のノード4を最上位に画面表示することができるので、表示目的としたノード4を判別しやすくなる。   The outline of the tree structure display method in the present embodiment is as described above. However, according to the present embodiment, the node 4 to be displayed (if the node group 4 to 6 is to be displayed, the most A virtual hierarchical structure developed from the upper node 4) is formed, and the formed hierarchical structure is displayed as a tree. As a result, the display-purpose node 4 can be displayed on the uppermost screen, so that it becomes easy to determine the display-purpose node 4.

従来では、ノード4を表示させたいとき、ノード4の上位階層に位置するノード1,2を常に展開表示しなければならない。図4(a)に示した例だとルートノード1とノード4との間にあるノードの数が少ないため図4(a)に例示したツリー表示でもノード4が表示画面内に納まるかもしれない。しかし、例えばノード3のようにノード4と同一階層にあってノード4より上位に表示されるノードが数多く存在すると、ノード4が表示画面から外れてしまう。このように、ツリー構造が大きくノードが展開表示されると、スクロールさせながら目的とするノード4を探し出さなくてはならなくなってくる。本実施の形態においては、上記のように表示目的のノード4を仮想的なルートノードとして最上位に画面表示することができるので、不要なノードが展開表示されていたとしても目的とするノードを容易に探し出すことができる。また、実際のツリー構造上、表示目的とするノード4が下位階層にあったとしても、ノード4の上位階層のノード1,2でさえ閉じた状態で画面表示することができるので、ツリー表示に必要な画面表示領域を削減することができる。このため、画面表示領域内を他の表示のために使用させることができる。   Conventionally, when the node 4 is desired to be displayed, the nodes 1 and 2 located in the upper hierarchy of the node 4 must always be displayed in an expanded manner. In the example shown in FIG. 4A, since the number of nodes between the root node 1 and the node 4 is small, the node 4 may fit in the display screen even in the tree display illustrated in FIG. 4A. . However, for example, when there are a large number of nodes that are displayed at a higher level than the node 4 such as the node 3, the node 4 comes off the display screen. As described above, when the tree structure is large and nodes are expanded and displayed, the target node 4 must be searched while scrolling. In the present embodiment, since the display target node 4 can be displayed on the top as a virtual root node as described above, the target node can be displayed even if an unnecessary node is expanded and displayed. It can be easily found. Moreover, even if the node 4 to be displayed is in the lower hierarchy in the actual tree structure, even the nodes 1 and 2 in the upper hierarchy of the node 4 can be displayed on the screen in a closed state. A necessary screen display area can be reduced. For this reason, the screen display area can be used for other displays.

本実施の形態のツリー表示に関する基本的な考え方については、以上説明した通りであるが、続いて、本実施の形態のツリー構造表示処理について図5に示したフローチャート及び図6以降の表示例を用いて説明する。   The basic concept regarding the tree display of the present embodiment is as described above. Subsequently, the tree structure display processing of the present embodiment is shown in the flowchart shown in FIG. It explains using.

図6は、ファイル管理システムにおけるディレクトリ構造をツリー表示したときの例を示した図である。ここでは、一例としてマイクロソフト社のWindows(登録商標)におけるエクスプローラをモデルケースにしている。この図6は、階層構造の最上位階層に位置するノード(ここでは「デスクトップ」)を実際のルートノードとして表示する通常のツリー表示である。以下の説明では、このツリー構造の中から「木構造の表示方法」フォルダ以下を表示目的の部分44とする。なお、以下の説明において「フォルダ」と「ノード」とは同義である。   FIG. 6 is a diagram showing an example when the directory structure in the file management system is displayed as a tree. Here, as an example, Windows Explorer (registered trademark) of Microsoft Corporation is used as a model case. FIG. 6 shows a normal tree display in which a node (here “desktop”) located in the highest hierarchy of the hierarchical structure is displayed as an actual root node. In the following description, a portion below the “tree structure display method” folder is set as a display target portion 44 from the tree structure. In the following description, “folder” and “node” are synonymous.

表示処理部24は、ノード情報記憶部26からツリー構造情報を取り出して図6に示したツリー構造をディスプレイ16に表示する(ステップ110)。但し、この時点では、図6の表示例のように全てのノードを同時に画面表示することはできない。ここで、ユーザは、前述したように図6に示した通常のツリー表示を、本実施の形態の特徴的なツリー表示に切り替えるために、表示目的の部分44の最上位に位置する「木構造の表示方法」フォルダを、例えば右クリックなどしてポップアップメニュー46を表示させ、更にそのポップアップメニュー46の中の「ツリー操作」のメニュー48を更に表示させる。そして、ユーザは、ツリー操作のメニュー48の中から「基点ノード指定」を選択することで、「木構造の表示方法」フォルダを仮想的なルートノードとしたツリー表示切替指示を出す。このユーザ操作により表示されたポップアップメニューの表示例を図7に示す。ルートノード設定処理部22は、ユーザ操作に応じてポップアップメニューの表示等の処理を実施し、「木構造の表示方法」フォルダをルートノードとしたツリー表示指示を受け付けるという前述した処理を実施する(ステップ120)。   The display processing unit 24 extracts the tree structure information from the node information storage unit 26 and displays the tree structure shown in FIG. 6 on the display 16 (step 110). However, at this time, all the nodes cannot be displayed on the screen simultaneously as in the display example of FIG. Here, as described above, in order to switch the normal tree display shown in FIG. 6 to the characteristic tree display of the present embodiment, the “tree structure” positioned at the top of the display target portion 44. The pop-up menu 46 is displayed by, for example, right-clicking the “display method” folder, and the “tree operation” menu 48 in the pop-up menu 46 is further displayed. Then, the user selects “base node designation” from the tree operation menu 48 to issue a tree display switching instruction with the “tree structure display method” folder as a virtual root node. A display example of the pop-up menu displayed by this user operation is shown in FIG. The root node setting processing unit 22 performs processing such as displaying a pop-up menu in response to a user operation, and accepting a tree display instruction using the “tree structure display method” folder as a root node (described above) ( Step 120).

表示処理部24は、ルートノード設定処理部22からツリー表示切替指示を受け付けた旨が通知されると、その指示に指定された「木構造の表示方法」フォルダをルートノードとした階層構造をツリー構造形成部28で形成する(ステップ130)。また、アイコン切替部30は、ツリーにおけるノードの表示形態を設定するが、ノードの表示形態については、追って説明する。表示処理部24は、「木構造の表示方法」フォルダをルートノードとして展開されるツリー構造を形成すると、これを画面表示する(ステップ140)。この表示例を図8に示す。   When the display processing unit 24 is notified from the root node setting processing unit 22 that the tree display switching instruction has been received, the display processing unit 24 displays the hierarchical structure with the “tree structure display method” folder specified in the instruction as the root node. The structure is formed by the structure forming unit 28 (step 130). The icon switching unit 30 sets the display form of the nodes in the tree. The display form of the nodes will be described later. When the display processing unit 24 forms a tree structure expanded with the “tree structure display method” folder as a root node, the display processing unit 24 displays this on the screen (step 140). An example of this display is shown in FIG.

図8から明らかなように、ユーザが目的としている「木構造の表示方法」フォルダは、ツリーの最上位の位置に表示され、その下方に親フォルダ及び子フォルダが表示される。「2004年度」フォルダは、見かけ上、「木構造の表示方法」フォルダのサブフォルダのように表示されているが、実際には親フォルダであり、このことは、「2004年度」フォルダへの引き出し線上に、左向きの白抜きの矢印40のアイコンを付加することで判別可能に表示している。   As is apparent from FIG. 8, the “tree structure display method” folder that the user intends is displayed at the top position of the tree, and the parent folder and the child folder are displayed below the folder. The “FY2004” folder appears to be a subfolder of the “Tree structure display method” folder, but it is actually the parent folder. This is the extension line to the “FY2004” folder. In addition, a left-pointing white arrow 40 icon is added so as to be distinguishable.

図4(b),(c)を用いて説明したように、ここで、「2004年度」フォルダを閉じると、図9に示したように非常にコンパクトな表示ツリーで表示することができる。従来においては、閉じることができなかった上位階層のフォルダを、本実施の形態では、上述したように閉じることができる。また、表示目的とする部分44を最上位に配置したので、他のフォルダを開いた場合でも当該部分44が画面に表示された状態を維持することができる。   As described with reference to FIGS. 4B and 4C, when the “2004” folder is closed, it can be displayed in a very compact display tree as shown in FIG. In the present embodiment, a folder in a higher hierarchy that could not be closed in the past can be closed as described above. Further, since the display target portion 44 is arranged at the top, even when another folder is opened, the state where the portion 44 is displayed on the screen can be maintained.

ただ、その反面、実際の上位階層のフォルダを閉じると、表示目的の部分44がツリー上のどの位置にあるか、つまり、表示目的の部分44と実際のルートノードとの位置関係がわかりにくくなるかもしれない。そこで、本実施の形態においては、図4(d)を用いて説明したように、実際のルートノード(この例では「デスクトップ」)までの経路上のノードだけを表示し、それ以外のノードは非表示状態でツリー表示するようにした。これにより、表示目的の部分44と実際のルートノードとの相対的な位置関係を容易に把握することができるとともに、不要なフォルダを非表示とすることでツリーの表示上の無用な拡張を抑止することができる。このツリー表示例を図10に示す。前述したように、実際のルートノードまでの経路上の引き出し線には、左向きの黒塗りの矢印42のアイコンを付加することで、この経路の先に実際のルートノードが存在することを判別可能に表示している。   On the other hand, if the folder of the actual upper hierarchy is closed, the position of the display target portion 44 on the tree, that is, the positional relationship between the display target portion 44 and the actual root node becomes difficult to understand. It may be. Therefore, in the present embodiment, as described with reference to FIG. 4D, only the nodes on the route to the actual root node (in this example, “desktop”) are displayed, and other nodes are displayed. The tree is displayed in the hidden state. As a result, the relative positional relationship between the display target portion 44 and the actual root node can be easily grasped, and unnecessary expansion on the display of the tree can be suppressed by hiding unnecessary folders. can do. An example of this tree display is shown in FIG. As described above, the icon of the left-pointed black arrow 42 is added to the leader line on the route to the actual route node, so that it can be determined that the actual route node exists at the end of this route. Is displayed.

いくつかのアイコンについては既に説明しているが、ここで、本実施の形態におけるアイコンの種別について説明する。図11に本実施の形態で用いるアイコンをまとめた。図11において、1,2番目のアイコンは、前述したとおり上位階層のノードへつながる引き出し線(枝)に付加されるアイコンであり、連結されたノードの親子関係を判別する親子判別情報を記号化したものである。このうち1番目の白抜きの矢印アイコンは、通常の展開方法で表示していることを示す。また、2番目の黒塗りの矢印アイコンは、実際のルートノードまでの経路上のフォルダのみを展開表示していることを示し、仮想的なルートノードから実際のルートノードまでの間の経路上において1番目のアイコンと切替表示されるアイコンである。3,4番目のアイコンは、図6と図8を対比してみれば明らかなように仮想的なルートノードから上位階層に位置するノードアイコンである。このうち3番目のアイコンは、当該ノードの下位階層のノードを展開表示しない閉状態を示すノードアイコンである。一方、4番目のアイコンは、当該ノードの下位階層のノードを展開表示した開状態を示すノードアイコンである。なお、3,4番目に示したノードアイコンは、通常のノードアイコンを逆さに表示することによって上位階層のノードアイコンである旨を示すものであり、図8の「マイドキュメント」アイコンの例を見れば明らかなように、ノードアイコンの形状は、図11に例示した形状に限定されるものではない。5,6番目に示したプラスアイコン及びマイナスアイコンは、基本的には、マイクロソフト社製のエクスプローラと同様にフォルダを開閉するためのアイコンである。   Some icons have already been described, but here, the types of icons in the present embodiment will be described. FIG. 11 summarizes the icons used in this embodiment. In FIG. 11, the first and second icons are icons added to the lead lines (branches) connected to the nodes in the upper hierarchy as described above, and the parent-child discrimination information for discriminating the parent-child relationship of the connected nodes is symbolized. It is a thing. Of these, the first white arrow icon indicates that the icon is displayed by a normal expansion method. The second black arrow icon indicates that only the folder on the path to the actual root node is expanded and displayed on the path from the virtual root node to the actual root node. It is an icon that is switched to the first icon. The third and fourth icons are node icons located in the upper hierarchy from the virtual root node, as is apparent from the comparison between FIG. 6 and FIG. Among these icons, the third icon is a node icon indicating a closed state in which a node in a lower hierarchy of the node is not expanded and displayed. On the other hand, the fourth icon is a node icon indicating an open state in which a node in a lower hierarchy of the node is expanded and displayed. Note that the third and fourth node icons indicate that the normal node icon is displayed upside down to indicate that it is an upper level node icon. See the example of the “My Document” icon in FIG. Obviously, the shape of the node icon is not limited to the shape illustrated in FIG. The 5th and 6th plus icons and minus icons are basically icons for opening and closing folders as in the case of Microsoft Explorer.

本実施の形態では、以上のアイコンを用いるが、図11に例示した形状や表現方法に限定されるものではない。例えば、1番目のアイコンは、付加された引き出し線の先は上位階層ノードであることを示すアイコンであって矢印の向きで親子関係が把握できる有向性のアイコンであるが、要するに、仮想的なルートノードと連結されたノードが親ノードなのか、それとも子ノードなのかの別を一目瞭然に把握できように表示形態を異ならせればよい。そこで、本実施の形態では、上位階層ノードとの引き出し線の方にアイコンを付加するようにした。但し、親ノード又は子ノードと接続する引き出し線の表示形態を異ならせればよいので、下位階層ノードとの引き出し線の方にアイコンを付加するようにしてもよいし、あるいは矢印の向きが異なるアイコンなど表示形態の異なる形状のアイコンを双方に付加するようにしてもよい。あるいは、アイコンを引き出し線上に設けなくても親ノード若しくは子ノードであることを示す文字列等の情報を引き出し線近傍に表示するようにしてもよい。   In the present embodiment, the above icons are used, but the present invention is not limited to the shape and expression method illustrated in FIG. For example, the first icon is a directional icon that indicates that the destination of the added leader line is an upper hierarchy node and can grasp the parent-child relationship in the direction of the arrow. What is necessary is just to change the display form so that it can be grasped at a glance whether the node connected to the root node is a parent node or a child node. Therefore, in this embodiment, an icon is added to the leader line with the upper hierarchy node. However, since the display form of the leader line connected to the parent node or the child node may be different, an icon may be added to the leader line with the lower hierarchy node, or icons with different arrow directions. An icon having a different display form may be added to both. Alternatively, information such as a character string indicating a parent node or a child node may be displayed in the vicinity of the lead line without providing an icon on the lead line.

以上のアイコンは、画面上において上位階層ノードや実際のルートノードの位置等吊りにおける現在の状態をユーザに知らせる情報提示の役目を担っているが、これらのアイコンは、またユーザによって操作可能な操作ボタンでもある。ここで、アイコン操作について説明する。   The above icons have the role of presenting information that informs the user of the current state of suspension such as the position of the upper hierarchy node and the actual root node on the screen, but these icons can also be operated by the user. It is also a button. Here, the icon operation will be described.

図12は、図8に示した「出願」フォルダ以降のツリー表示の一部を抜き出した図である。この図12(a)において、「出願」フォルダへの引き出し線に付加されたマイナスアイコン50をクリックすると、「出願」フォルダは、図12(b)に示したように閉状態になる。一方、図12(b)において、「出願」フォルダへの引き出し線に付加されたプラスアイコン52をクリックすると、「出願」フォルダは、図12(a)に示したように開状態になり、「出願」フォルダに連結された親フォルダ及び子フォルダは、展開表示される。   FIG. 12 is a diagram in which a part of the tree display after the “application” folder shown in FIG. 8 is extracted. In FIG. 12A, when the minus icon 50 added to the leader line to the “application” folder is clicked, the “application” folder is closed as shown in FIG. On the other hand, in FIG. 12B, when the plus icon 52 added to the leader line to the “application” folder is clicked, the “application” folder is opened as shown in FIG. The parent folder and the child folder linked to the “application” folder are expanded and displayed.

図13は、図8に示した「出願」フォルダ以降のツリー表示の一部を抜き出した図であり、図13(a)は、図12(a)と同じ図である。この図13(a)において、「出願」フォルダへの引き出し線に付加された白抜きの矢印アイコン40をクリックすると、「出願」フォルダは、図13(b)に示したように「出願」フォルダ以降の全ノードのうち実際のルートノードまでの経路上に位置するノード以外のノードを閉状態にする。このとき、実際のルートノードまでの経路上に位置するアイコンを黒塗りの矢印アイコン42に切り替える。このように、通常の展開方法を示す白抜きの矢印アイコン40を操作すると、右のフォルダの下に、実際のルートノードまでの経路上にフォルダがあればそれを表示し、それ以外のサブフォルダは非表示にする。本実施の形態では、表示の効率化のために、矢印アイコン40への1回のクリック操作のみで、そのクリック位置から実際のルートノードまでの間の経路上に位置するノードのみ残し、それ以外のノードを一括して非表示とするようにした。しかし、ユーザにクリック選択させながら表示と非表示とを切り替えるようにしてもよい。一方、図13(b)において、「出願」フォルダへの引き出し線に付加された矢印アイコン42をクリックすると、「出願」フォルダは、図13(a)に示したように開状態になり、「出願」フォルダに連結された親フォルダ及び子フォルダは、展開表示される。この展開表示がされるとき、黒塗りの矢印アイコン42を白抜きの矢印アイコン40に切り替える。このように、黒塗りの矢印アイコン42を操作すると、通常の展開表示に切り替え、経路上以外のその他のノードも表示される。なお、本実施の形態では、実際のルートノードまで全て切り替えて表示するので、経路上の最上位に位置する矢印アイコン42だけが操作可能である。   FIG. 13 is a diagram in which a part of the tree display after the “application” folder shown in FIG. 8 is extracted, and FIG. 13A is the same diagram as FIG. In FIG. 13A, when the white arrow icon 40 added to the leader line to the “application” folder is clicked, the “application” folder is changed to the “application” folder as shown in FIG. Of all the subsequent nodes, nodes other than the node located on the path to the actual root node are closed. At this time, the icon positioned on the route to the actual route node is switched to the black arrow icon 42. In this way, when the white arrow icon 40 indicating the normal expansion method is operated, if there is a folder on the path to the actual root node under the right folder, it is displayed, and other subfolders are displayed. You want to hide. In the present embodiment, in order to improve the display efficiency, only one click operation on the arrow icon 40 is performed, and only the nodes located on the route between the click position and the actual root node are left, and the others All nodes are hidden at once. However, display and non-display may be switched while allowing the user to click and select. On the other hand, in FIG. 13B, when the arrow icon 42 added to the lead line to the “application” folder is clicked, the “application” folder is opened as shown in FIG. The parent folder and the child folder linked to the “application” folder are expanded and displayed. When this expanded display is performed, the black arrow icon 42 is switched to a white arrow icon 40. As described above, when the black arrow icon 42 is operated, the display is switched to the normal expanded display, and other nodes other than those on the route are also displayed. In the present embodiment, all the actual route nodes are switched and displayed, so that only the arrow icon 42 positioned at the top of the route can be operated.

表示処理部24におけるアイコン切替部30は、ユーザのマウス操作によりアイコンがクリック選択されると、上記説明したようにノードアイコンの開状態と閉状態との表示切替え、矢印アイコン40と矢印アイコン42との切替え、マイナスアイコン50とプラスアイコン52との表示切替えを行う。また、表示処理部24は、これと同時にツリー構造形成部28によりツリー構造を再構築し、そして再構築したツリー構造を画面表示する。   When the icon is clicked and selected by the user's mouse operation, the icon switching unit 30 in the display processing unit 24 switches the display of the node icon between the open state and the closed state as described above, and the arrow icon 40 and the arrow icon 42. The display is switched between the minus icon 50 and the plus icon 52. At the same time, the display processing unit 24 reconstructs the tree structure by the tree structure forming unit 28 and displays the reconstructed tree structure on the screen.

実施の形態2.
上記実施の形態1では、仮想的なルートノードを画面上、最上位に表示する一方、実際のルートノードを一番下に表示されるように配置した。本実施の形態では、実施の形態1とは異なり、実際のルートノードをなじみのある上方に表示するツリー構造表示方法を提供するものである。本実施の形態のツリー表示の例を図14に示す。
Embodiment 2. FIG.
In the first embodiment, the virtual root node is displayed at the top of the screen, while the actual root node is displayed at the bottom. Unlike the first embodiment, the present embodiment provides a tree structure display method for displaying the actual root node in a familiar upward direction. An example of the tree display of the present embodiment is shown in FIG.

図14(a)に示した表示例では、表示目的の部分44に対して上位階層に位置するフォルダは、従来のように表示目的の部分44の上方に表示するようにし、矢印アイコンを使用しないようにした。但し、表示目的の部分44より上位階層については、実際のルートノードから仮想的なルートノードまでの経路上に位置するノードのみを表示し、経路上にないノードは表示しない。   In the display example shown in FIG. 14A, the folder located in the upper hierarchy with respect to the display target portion 44 is displayed above the display target portion 44 as in the prior art, and the arrow icon is not used. I did it. However, for the upper layer than the display purpose portion 44, only the nodes located on the path from the actual root node to the virtual root node are displayed, and the nodes not on the path are not displayed.

本実施の形態によると、表示対象とするフォルダが存在する階層が非常に深い場合でも、上位階層のノードを閉状態とすることにより、不要なフォルダが展開表示されないため画面の幅方向の空間の広がりを抑えることができるので、表示するツリーの簡略化が図れ、よって表示空間の省スペース化を実現することができる。   According to the present embodiment, even if the hierarchy where the folder to be displayed exists is very deep, unnecessary folders are not expanded and displayed by closing the nodes in the upper hierarchy, so that the space in the width direction of the screen can be displayed. Since the spread can be suppressed, the tree to be displayed can be simplified, and thus the display space can be saved.

また、図14(a)において、「特許」をクリック操作したときの表示例を図14(b)に示す。このクリック操作により「特許」フォルダを閉じると、「仕事」、「マイドキュメント」及び「デスクトップ」を非表示にすることができ、これにより、更に効果的にツリーの簡略化及び表示空間の省スペース化を実現することができる。   FIG. 14B shows a display example when the “patent” is clicked in FIG. By closing the “Patents” folder by this click operation, “Work”, “My Documents”, and “Desktop” can be hidden, thereby more effectively simplifying the tree and saving the display space. Can be realized.

本実施の形態では、実際のルートノードを上方に表示するツリー構造にて表示するようにしたが、上記各実施の形態において説明したツリー構造表示方法を組み合わせて実施できるようにすれば、ノードの並び順を変えるのと同様に、実際のルートノードを一番上あるいは一番下に表示することに留まらず、これらを切替表示したりすることができる。   In the present embodiment, the actual root node is displayed in a tree structure that is displayed above. However, if the tree structure display method described in each of the above embodiments can be combined and implemented, Similar to changing the arrangement order, the actual root node is not limited to being displayed at the top or bottom, but can be switched and displayed.

更に、ユーザによるツリー構造切替指示に応じて、仮想的なルートノードをルートノードとして表示する仮想ツリー構造表示と、階層関係にあるノード全体の最上位階層に位置する実際のルートノードをルートノードとして表示する通常のツリー構造表示とを切替可能に表示するようにしてもよい。   Furthermore, in response to a user's instruction to switch the tree structure, a virtual tree structure display that displays a virtual root node as a root node, and an actual root node that is located at the highest hierarchy of all nodes in a hierarchical relationship is used as a root node. The normal tree structure display to be displayed may be displayed in a switchable manner.

なお、上記説明では、アイコンの形状や向きなどによって異なる表示状態を示すようにしたが、実際のシステムでは、アイコンや引き出し線の色を変えたり、通常よりも小さいサイズのアイコンを使用したり、形状のみならず、色や大きさなど他の属性を変更することによって、表示対象ノードを強調させたりしてもよい。   In the above description, the display state varies depending on the shape and orientation of the icon, but in the actual system, the color of the icon and the leader line is changed, the icon smaller than the normal size is used, The display target node may be emphasized by changing not only the shape but also other attributes such as color and size.

本実施の形態では、以上説明したようにツリーの無向性という特徴を有効に活用して無向グラフとしてのツリー構造の定義とルートノードの置換を行い、従来にないツリー構造の表示方法を提供することができる。これにより、ツリーの表示目的部分を判別しやすいように表示したり、ツリー表示に必要な領域を小さくしたりすることができる。また、クリック操作等の簡単な操作でツリーの表示、ノードの表示/非表示を切り替えることができるので、ツリーに表示していない部分へのアクセス性を損なうこともない。   In the present embodiment, as described above, the tree structure definition as an undirected graph and the replacement of the root node are performed by effectively utilizing the feature of the undirected tree. Can be provided. Thereby, it is possible to display the display target portion of the tree so that it can be easily identified, and it is possible to reduce the area necessary for the tree display. Further, since the tree display and the node display / non-display can be switched by a simple operation such as a click operation, the accessibility to a portion not displayed in the tree is not impaired.

本発明に係るツリー構造表示装置の位置実施の形態を示したハードウェア構成図である。It is a hardware block diagram which showed position embodiment of the tree structure display apparatus which concerns on this invention. 本実施の形態におけるツリー構造表示装置の機能ブロック構成図である。It is a functional block block diagram of the tree structure display apparatus in this Embodiment. 本実施の形態におけるツリー構造表示方法の基本的な考え方を説明するために用いるツリー構造の例を示した図である。It is the figure which showed the example of the tree structure used in order to demonstrate the basic idea of the tree structure display method in this Embodiment. 本実施の形態におけるツリー構造表示方法の概要を説明するために用いるツリー構造の例を示した図である。It is the figure which showed the example of the tree structure used in order to demonstrate the outline | summary of the tree structure display method in this Embodiment. 本実施の形態のツリー構造表示処理を示したフローチャートである。It is the flowchart which showed the tree structure display process of this Embodiment. 本実施の形態のファイル管理システムにおけるディレクトリ構造を通常通りにツリー表示したときの例を示した図である。It is the figure which showed the example when displaying the directory structure in the file management system of this Embodiment as a tree as usual. 本実施の形態においてユーザ操作により表示されたポップアップメニューの表示例を示した図である。It is the figure which showed the example of a display of the pop-up menu displayed by user operation in this Embodiment. 実施の形態1において図6においてユーザにより指定されたノードを仮想的なルートノードとしてツリー表示したときの例を示した図である。FIG. 7 is a diagram showing an example when a node designated by a user in FIG. 6 in the first embodiment is displayed as a tree as a virtual root node. 図8において仮想的なルートノードの下方に表示されたノードを閉状態としたときの表示例を示した図である。It is the figure which showed the example of a display when the node displayed under the virtual root node in FIG. 8 is made into a closed state. 図8において仮想的なルートノードと実際のルートノードとの経路を表示状態としたときの表示例を示した図である。It is the figure which showed the example of a display when the path | route of a virtual root node and an actual root node is made into the display state in FIG. 本実施の形態において用いるアイコンを示した図である。It is the figure which showed the icon used in this Embodiment. 図8に示した「出願」フォルダ以降のツリー表示の一部を抜き出した表示例を示した図である。FIG. 9 is a diagram showing a display example in which a part of the tree display after the “application” folder shown in FIG. 8 is extracted. 図8に示した「出願」フォルダ以降のツリー表示の一部を抜き出した他の表示例を示した図である。FIG. 9 is a diagram showing another display example in which a part of the tree display after the “application” folder shown in FIG. 8 is extracted. 実施の形態2において図6においてユーザにより指定されたノードを仮想的なルートノードとしてツリー表示したときの例を示した図である。FIG. 7 is a diagram illustrating an example when a node designated by a user in FIG. 6 is displayed in a tree form as a virtual root node in the second embodiment. 従来のツリー表示の例を示した図である。It is the figure which showed the example of the conventional tree display.

符号の説明Explanation of symbols

1 コンピュータ、2 CPU、4 ROM、6 RAM、8 ハードディスクドライブ(HDD)、10 HDDコントローラ、12 マウス、14 キーボード、16 ディスプレイ、18 入出力コントローラ、20 内部バス、22 ルートノード設定処理部、24 表示処理部、26 ノード情報記憶部、28 ツリー構造形成部、30 アイコン切替部。   1 Computer, 2 CPU, 4 ROM, 6 RAM, 8 Hard disk drive (HDD), 10 HDD controller, 12 Mouse, 14 Keyboard, 16 Display, 18 Input / output controller, 20 Internal bus, 22 Root node setting processor, 24 Display Processing unit, 26 node information storage unit, 28 tree structure forming unit, 30 icon switching unit.

Claims (13)

階層関係にある要素の集合をツリー構造で画面表示する機能を有するコンピュータを、
階層関係にある要素の集合の中から1つを表示ツリーのルートノードとして設定するルートノード設定処理手段、
ルートノードとして設定された要素の親要素を当該ルートノードの子ノードとするツリー構造を形成する場合、該子ノードが親要素であることを表す記号を、形成したツリー構造に付加して表示するツリー構造表示処理手段、
として機能させるツリー構造表示プログラム。
A computer having a function of displaying a set of elements in a hierarchical relationship on a screen in a tree structure,
Root node setting processing means for setting one of a set of elements in a hierarchical relationship as a root node of a display tree;
When forming a tree structure in which the parent element of the element set as the root node is a child node of the root node, a symbol indicating that the child node is a parent element is added to the formed tree structure and displayed. Tree structure display processing means,
Tree structure display program to function as.
請求項1記載のツリー構造表示プログラムにおいて、
前記ルートノード設定処理手段は、ユーザが指定した要素に基づいてルートノードを設定するツリー構造表示プログラム。
In the tree structure display program according to claim 1,
The root node setting processing means is a tree structure display program for setting a root node based on an element designated by a user.
請求項1乃至2のいずれか1項に記載のツリー構造表示プログラムにおいて、
前記ツリー構造表示処理手段は、画面表示されるノードアイコンを、当該ノードの下位ノードを展開表示する開状態と、当該ノードの下位ノードを非表示とする閉状態とで異なる形態にて表示するアイコン表示制御部を有するツリー構造表示プログラム。
The tree structure display program according to any one of claims 1 to 2,
The tree structure display processing means displays a node icon displayed on the screen in a different form between an open state in which lower nodes of the node are expanded and displayed and a closed state in which lower nodes of the node are not displayed. A tree structure display program having a display control unit.
請求項3記載のツリー構造表示プログラムにおいて、
前記ツリー構造表示処理手段は、表示状態を切り替えるノードが指定されたユーザからの表示状態切替指示に応じて当該ノードの開状態と閉状態とを切替表示するツリー構造表示プログラム。
In the tree structure display program according to claim 3,
The tree structure display processing means is a tree structure display program for switching and displaying the open state and the closed state of the node in response to a display state switching instruction from a user who has designated the node whose display state is to be switched.
請求項4記載のツリー構造表示プログラムにおいて、
前記ツリー構造表示処理手段は、階層構造の最上位の要素を表すノードと表示ツリーのルートノードとの間の経路上に位置するいずれかのノードが表示状態切替指示に指定されたとき、その経路上に位置する全てのノードアイコンを表示するようにツリー構造を再形成するツリー構造形成部を有するツリー構造表示プログラム。
In the tree structure display program according to claim 4,
The tree structure display processing means, when any node located on the path between the node representing the highest element of the hierarchical structure and the root node of the display tree is designated in the display state switching instruction, A tree structure display program having a tree structure forming unit for re-forming a tree structure so as to display all node icons positioned above.
請求項3記載のツリー構造表示プログラムにおいて、
前記アイコン表示制御部は、表示ノードがその親ノードで示された要素の子要素を示すことを表す順方向連結情報と、表示ノードがその親ノードで示された要素の親要素を示すことを表す逆方向連結情報との、いずれか一方または両方を画面表示するツリー構造表示プログラム。
In the tree structure display program according to claim 3,
The icon display control unit indicates that forward link information indicating that the display node indicates a child element of the element indicated by the parent node, and that the display node indicates the parent element of the element indicated by the parent node. A tree structure display program that displays either or both of the reverse link information to be displayed on the screen.
請求項6記載のツリー構造表示プログラムにおいて、
前記アイコン表示制御部は、前記順方向連結情報および前記逆方向連結情報を当該表示ノードとその親ノードを表す各ノードアイコンを結ぶ線上あるいはその近傍に画面表示するツリー構造表示プログラム。
In the tree structure display program according to claim 6,
The icon display control unit is a tree structure display program that displays the forward link information and the reverse link information on a screen connecting the display node and each node icon representing its parent node or in the vicinity thereof.
請求項7記載のツリー構造表示プログラムにおいて、
前記アイコン表示制御部は、向きが視認可能な有向性アイコンを用い、その有向性アイコンの向きによって前記順方向連結情報と前記逆方向連結情報とのいずれであるかを視認可能とするツリー構造表示プログラム。
The tree structure display program according to claim 7,
The icon display control unit uses a directional icon whose direction is visually recognizable, and allows the user to visually recognize which of the forward direction connection information and the reverse direction connection information is based on the direction of the directional icon. Structure display program.
階層関係にある要素の集合をツリー構造で画面表示する機能を有するコンピュータで実施され、
階層構造上、最上位階層に位置する要素をルートノードとしたツリー構造を表示する通常ツリー表示ステップと、
前記通常ツリー表示ステップにより表示されたツリーの中からユーザにより指定されたルートノードを受け付けるステップと、
ユーザにより指定されたルートノードが示す要素の親要素を当該ルートノードの子ノードとするツリー構造を形成する場合、該子ノードが親要素であることを表す記号を、形成したツリー構造に付加して表示するステップと、
を含むことを特徴とするツリー構造表示方法。
Implemented on a computer having the function of displaying a set of elements in a hierarchical relationship on a screen in a tree structure,
In the hierarchical structure, a normal tree display step for displaying a tree structure with the element located in the highest hierarchy as a root node;
Receiving a root node designated by the user from the tree displayed by the normal tree display step;
If the parent element of the element shown is designated the root node by the user to form a tree structure as a child node of the root node, the symbol indicating that the child node is a parent element, added to the formed tree structure Step to display and
A tree structure display method comprising:
階層関係にある要素の集合をツリー構造で画面表示するツリー構造表示装置において、
階層関係にある要素の集合の中から1つを表示ツリーのルートノードとして設定するルートノード設定処理手段
ルートノードとして設定された要素の親要素を当該ルートノードの子ノードとするツリー構造を形成する場合、該子ノードが親要素であることを表す記号を、形成したツリー構造に付加して表示するツリー構造表示処理手段と、
有することを特徴とするツリー構造表示装置。
In a tree structure display device that displays a set of elements in a hierarchical relationship on a screen in a tree structure,
And the root node setting processing means for setting one of the set of elements in a hierarchical relationship as the root node of the tree view,
When forming a tree structure in which the parent element of the element set as the root node is a child node of the root node, a symbol indicating that the child node is a parent element is added to the formed tree structure and displayed. Tree structure display processing means ;
Tree structure display device characterized by having.
請求項10記載のツリー構造表示装置において、
前記ツリー構造表示処理手段は、画面表示されるノードアイコンを、当該ノードの下位ノードを展開表示する開状態と、当該ノードの下位ノードを非表示とする閉状態とで異なる形態にて表示するアイコン表示制御部を有することを特徴とするツリー構造表示装置。
The tree structure display device according to claim 10, wherein
The tree structure display processing means displays a node icon displayed on the screen in a different form between an open state in which lower nodes of the node are expanded and displayed and a closed state in which lower nodes of the node are not displayed. A tree structure display device comprising a display control unit.
請求項11記載のツリー構造表示装置において、
前記ツリー構造表示処理手段は、表示状態を切り替えるノードが指定されたユーザからの表示状態切替指示に応じて当該ノードの開状態と閉状態とを切替表示することを特徴とするツリー構造表示装置。
The tree structure display device according to claim 11, wherein
The tree structure display processing unit switches and displays an open state and a closed state of the node according to a display state switching instruction from a user who has designated a node whose display state is to be switched.
請求項12記載のツリー構造表示装置において、
前記ツリー構造表示処理手段は、階層構造の最上位の要素を表すノードと表示ツリーのルートノードとの間の経路上に位置するいずれかのノードが表示状態切替指示に指定されたとき、その経路上に位置する全てのノードアイコンを表示することを特徴とするツリー構造表示装置。
The tree structure display device according to claim 12, wherein
The tree structure display processing means, when any node located on the path between the node representing the highest element of the hierarchical structure and the root node of the display tree is designated in the display state switching instruction, A tree structure display device that displays all node icons located above.
JP2005208862A 2005-07-19 2005-07-19 Tree structure display program, tree structure display method, tree structure display device Expired - Fee Related JP4710459B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005208862A JP4710459B2 (en) 2005-07-19 2005-07-19 Tree structure display program, tree structure display method, tree structure display device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005208862A JP4710459B2 (en) 2005-07-19 2005-07-19 Tree structure display program, tree structure display method, tree structure display device

Publications (2)

Publication Number Publication Date
JP2007026210A JP2007026210A (en) 2007-02-01
JP4710459B2 true JP4710459B2 (en) 2011-06-29

Family

ID=37786857

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005208862A Expired - Fee Related JP4710459B2 (en) 2005-07-19 2005-07-19 Tree structure display program, tree structure display method, tree structure display device

Country Status (1)

Country Link
JP (1) JP4710459B2 (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5689361B2 (en) 2011-05-20 2015-03-25 インターナショナル・ビジネス・マシーンズ・コーポレーションInternational Business Machines Corporation Method, program, and system for converting a part of graph data into a data structure that is an image of a homomorphic map
WO2009072436A1 (en) * 2007-12-06 2009-06-11 Nec Corporation Hierarchy structure display device, hierarchy structure display method and hierarchy structure display control program
JP5165549B2 (en) * 2008-12-22 2013-03-21 キヤノンItソリューションズ株式会社 Information processing apparatus, information processing method, and program
JP2010244173A (en) * 2009-04-02 2010-10-28 J&K Car Electronics Corp Content processing apparatus, file retrieval method, and program
JP5745932B2 (en) 2011-05-20 2015-07-08 インターナショナル・ビジネス・マシーンズ・コーポレーションInternational Business Machines Corporation Method, program, and system for reflecting operation on object which is image of mapping in graph data
CN103732811B (en) 2011-08-11 2016-08-17 东丽株式会社 sea-island fibre
JP5238872B2 (en) * 2011-12-02 2013-07-17 株式会社東芝 Information processing apparatus, display control method, and program
JP2015036930A (en) 2013-08-15 2015-02-23 インターナショナル・ビジネス・マシーンズ・コーポレーションInternational Business Machines Corporation Display device, display method and program
JP5939588B2 (en) 2014-05-26 2016-06-22 インターナショナル・ビジネス・マシーンズ・コーポレーションInternational Business Machines Corporation Method for Searching Related Nodes, Computer, and Computer Program
JP6428442B2 (en) * 2015-03-31 2018-11-28 富士通株式会社 Display method, display program, and information processing apparatus
WO2021010328A1 (en) * 2019-07-12 2021-01-21 京セラドキュメントソリューションズ株式会社 Display device and display method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02272622A (en) * 1989-04-14 1990-11-07 Fuji Xerox Co Ltd Data display controller
JP2001125925A (en) * 1999-10-29 2001-05-11 Jisedai Joho Hoso System Kenkyusho:Kk Method for displaying structure and computer readable recording medium recording program for allowing computer to execute the method
JP2002328829A (en) * 2001-04-27 2002-11-15 Canon Software Inc Data structure, server, information processor, control method of server, control method, program of information processor and computer readable recording medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02272622A (en) * 1989-04-14 1990-11-07 Fuji Xerox Co Ltd Data display controller
JP2001125925A (en) * 1999-10-29 2001-05-11 Jisedai Joho Hoso System Kenkyusho:Kk Method for displaying structure and computer readable recording medium recording program for allowing computer to execute the method
JP2002328829A (en) * 2001-04-27 2002-11-15 Canon Software Inc Data structure, server, information processor, control method of server, control method, program of information processor and computer readable recording medium

Also Published As

Publication number Publication date
JP2007026210A (en) 2007-02-01

Similar Documents

Publication Publication Date Title
JP4710459B2 (en) Tree structure display program, tree structure display method, tree structure display device
JP4336522B2 (en) Virtual address bar user interface controls
JP3683775B2 (en) View complex tree structure between multiple windows
JP3956553B2 (en) Icon display processing device
US6025844A (en) Method and system for creating dynamic link views
JP6446038B2 (en) Blade sequence expandable along pannable canvas direction
JP4166472B2 (en) Method and apparatus for presenting information to a user of a computer system
US7242413B2 (en) Methods, systems and computer program products for controlling tree diagram graphical user interfaces and/or for partially collapsing tree diagrams
JP4533007B2 (en) Image management apparatus, image management method, and program
JP2005141768A (en) File management system by network structure
US20060070007A1 (en) Rich drag drop user interface
US20030218641A1 (en) Method and system for navigating a hierarchical structure in a data processing system
JP4892959B2 (en) Tree structure display program, tree structure display method, tree structure display device
JP2005276223A (en) Method, medium and system for recovering data using timeline-based computing environment
WO2007008524A2 (en) Rich drag drop user interface
JP4631567B2 (en) Tree structure display program and tree structure display device
JPWO2009072436A1 (en) Hierarchical display device, hierarchical structure display method, and hierarchical structure display control program
JP5167850B2 (en) GUI system, GUI generation method, program, and recording medium
JP4725501B2 (en) File information display device, file information display program
JP2004220578A (en) Method of representing tree database and its recording medium of same
JP2002014753A (en) Computer system having graphical user interface having in-line tree filtering
JP4840111B2 (en) File information display device, file information display program
JP3651750B2 (en) Document storage retrieval method, document storage retrieval apparatus, and recording medium
JP2009277191A (en) Content management device, content management method, program, and recording medium
KR100580239B1 (en) Command interpreter having the function of grouping files having same file name extension and program execution method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080423

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20101118

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20101130

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110126

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20110222

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110307

R150 Certificate of patent or registration of utility model

Ref document number: 4710459

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees