root/branches/mbutscher/work/WikidPadHelp/data/WikiStructureGraphs.wiki @ 265

Revision 265, 2.5 kB (checked in by APA, 2 years ago)
Line 
1[:page:PageHeader][:toc:]
2+ Wiki Structure Graphs
3
4You can create some graphs of the relations of the WikiWords to each other in the wiki. This needs the GraphViz application suite to be properly installed.
5
6In the ["Plugins" menu] you will see the four entries "Show relation graph", "Show rel. graph source", "Show child graph", "Show child graph source". If you choose one of them the current tab shows one of the graphs or its source (the dot script to create it).
7
8If you want to go back to [Edit mode] or to [Preview mode], use the ["Tabs" menu] and select "Switch Ed./Prev." [Ctrl-Shift-Space], "Enter Edit Mode" [Ctrl-Shift-A] or "Enter Preview Mode" [Ctrl-Shift-S].
9
10If you want to export these graphs use the [Insertions] \[:graph.relation:] or \[:graph.child:].
11
12
13++ Relation graph
14
15This graph uses relations defined by attributes in a WikiPage. The key of the attribute names the kind of relation, the value names the WikiWord (which must exist) to which it is related.
16
17An example could be on a page "Bird" the attributes
18<<
19[isA: Animal]
20[eats: Fish]
21>>
22
23There are two attributes to define which attribute keys should be taken into account for relation. You can either use "global.graph.relation.exclude" to define which keys should not be taken into account (the "alias" key is e.g. a good candidate) or "global.graph.relation.include" to list the keys that only should be taken into account.
24
25These attributes apply for the entire wiki, regardless on which page they are placed. If you use both keys in the same wiki, the "...include" is ignored.
26
27The values in these attributes should be delimited by a semicolon. Each value (which is in fact an attribute key) also applies to all subkeys (e.g. "foo" also applies to "foo.bar", but not to "foobar").
28
29
30++ Child graph
31
32This graph shows the parent->child relationship of the words in the wiki.
33
34
35++ Options
36
37In the OptionsDialog there is an OptionPage named "GraphVizStructure" which provides some possibilities to control the presentation of the above graphs. Each of the entries can be set empty to use the default settings.
38
39+++++ Node font name
40Name of the font to use for the node label
41
42+++++ Node font size
43Size of the font to use for the node label
44
45+++++ Node border color
46Color of the small line surrounding each node
47
48+++++ Node background color
49Color of the node background. If the page described by this node has a "color" attribute this color attribute overrides the option setting.
50
51+++++ Edge color
52Color of the edges connecting nodes.
53
54
55[:page:PageFooter]
Note: See TracBrowser for help on using the browser.