parent nodes: FullSearch | Intro1StartingAWiki | Intro5Indexing | SpellChecking | TextBlocks | Tree navigation | WorkSpace | WorkSpaceGeneral | WpAttributes | WpOptionsGeneralSort

The Tree View

Contents:
The Tree View
General
The Page tree
The Views tree
Settings
Menu
Options

Back

General

The treeview or "main tree" is the window on the lefthand side of the application window, with the tree like structure that is so familiar from file mgt. programs like Explorer. Contrary to those applications however, Wikidpad's tree is not a hierarchical one, but a relational one that shows the relationships between the various pages in the wiki. The tree consists of two major parts; the page section or "page tree" and the views section or "views tree"; the latter is accessible through the last node "views" of the main tree. The views tree is also accessible through a second window, that is normally hidden. Select the option: menu / Wiki / Options / Tree / "Position view tree" and change it from hidden to the position that suits best (top, bottom, left or right from the main tree).

The page tree is where every user defined page is reflected in relation to the pages it is linked to. The views tree forms an alternative - actually several - index into the pages and gives access to the functional pages.

Top

The Page tree

The page tree shows all the user defined pages in relation to their "relatives". These relatives are either: The terms "parent" and "child" are not really applicable in the context of Wikidpad, since they apply to hierarchical structures and the pages in Wikidpad do by definition not form a hierarchical "network" but a "meshed" network. In Wikidpad a page "a" might refer to a page "b", that in turn might - directly or indirectly - refer back to page "a", making them both each others (grand)parents ánd each others (grand)children. But for the lack of better terms, we will for the time being stick to "parent" and "child". The page tree is implemented through a user interface object called a "tree control". A fundamental property of a tree control, is that it is by design meant to display hierarchical structures, so it isn't really suitable for Wikidpads needs. But a control that dóes fit it's needs isn't really available, so we will have to do with the tree control. A principle shortcoming of the control is, that where it can show all the "children" of a page, it can only show one (1) of it's "parents" at a time. So whatever parent is at one point displayed for a "child" does in Wikidpad not so much depend on hierarchy and structure, but on the way the user navigated towards that child. The "path" he took. An example is "Contact 1" in the screenshot above, that has two parents: "ContactIndex" and "Project 1" and therefore appears in the tree twice; once for each of it's parents.

The "page tree" control displays "nodes"; each node represents one page and is identified by that page's link name; the key that links one page to one or more others. The page tree can be used to navigate through the pages of a wiki and through it's context menu it gives access to maintenance functions for the pages, like "rename", "delete" and "bookmark" [1].
Top
[1] In version 1.9 beta 19 a new option "Collapse whole tree" was added to the context menu.

The Views tree

The views tree combines a whole range of alternative indexes into the wiki pages; indexes based on:
  1. Page attributes
  2. Wiki attributes
  3. User tags
  4. Todo tags
  5. System tags
Furthermore it gives access to functional data through the functional pages; both on wiki level and on Wikidpad level. Below is a screenshot of a views tree in it's virgin form; that of a newly created wiki. Each of the nodes in the tree forms a separate index into the pages and gives access to thóse pages, that satisfy a certain condition. The "icon" node for example in the screenshot above lists all the pages that the user has assigned a particular icon to, using a so called "icon attribute". In this particular - virginal - case, it's only the "WikiSettings" page that has been assigned an icon and that is the "wp_settings" icon.

For every attribute that is assigned to a page by the user, an entry is created in the views tree; no matter if it concerns a user tag, a todo tag, a system attribute or anything else. Some indexes are maintained by Wikidpad, like the "undefined-" and "parentless pages" nodes that are invaluable in maintaining the wiki.They form an index into pages that would otherwise be inaccessable.

The functional pages constitute the "odd man out" here. They do not form indexes, but a way for the user to specify certain Wikidpad global or wiki specific settings. The "Wiki cc. blacklist" for instance is a list of camelcased words, that should nót be converted by Wikidpad into a page link, when it encounters it in the text of one of the wiki's pages.

Top

Settings

Menu

Show tree control: Ctrl-T
Show or hide the main tree window. Very usefull when the tree option "Tree auto-hide" has been set to true.

Top

Options

Force ScratchPad visibility in tree
Shows the special page ScratchPad always as child of the tree root, even if it is not really a child.

Remember expanded tree nodes
Control if expanded tree nodes should be remembered by WikidPad. This means if you collapse a tree node which contains expanded child nodes yet and expand the node later, the child nodes are expanded again. The following modes are supported: It may happen that the mechanism stores expanded nodes which don't exist any longer, e.g. if the link from parent page to a child page is deleted and the child page was represented by an expanded node this is not always recognized by WikidPad, so some "garbage" may be stored.

By setting the option to "Not at all" then closing the options dialog, then setting the option back to what you had before, all node state information is cleared. The info of the main tree (not the "Views" tree) is also cleared when setting a new root.

Top
Sort order
Sets the alphabetical sort algorithm for the nodes in the Main tree and for the PageListDialog.
The possible choices are:
Top
Tree auto-follow
The tree tries to always select the wiki word currently shown in the editor or HTML-view.

Tree update after save
After each (automatic or manual) save, the tree icons and shown children are updated. This may need some time and may create some flicker going from top to bottom through the tree.

Hide Undefined WikiWords in Tree
If a page contains wiki word links to non-existing pages, these are not shown as children in the tree.

No cycles in tree
If two or more pages reference each other (e.g. NodeA -> NodeB -> NodeA) these cycles are not shown. Precisely: if a child of a word is already an ancestor (parent, grandparent, ...) of this word, it is not shown.

Tree auto-hide
After selecting an item in tree, the tree is hidden automatically. It can be brought back, by pressing Ctrl-T

Background color
Specify background color of tree.

Position main tree
Controls where to place the main tree (to the left, right, top or bottom)

Position view tree
You can also have a second tree which has the "Views" node as root. You can place it relative to the main tree (above, below, left or right) or choose "hidden" if you don't want it.

Top
previous: Back
parents:  FullSearch, Intro1StartingAWiki, Intro5Indexing, SpellChecking, TextBlocks, Tree navigation, WorkSpace, WorkSpaceGeneral, WpAttributes, WpOptionsGeneralSort
attributes: [tree_position: 3]
[help.status: done]