| 1 | [:page:PageHeader][:toc:]
|
|---|
| 2 | + Wiki Structure Graphs
|
|---|
| 3 |
|
|---|
| 4 | You 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 |
|
|---|
| 6 | In 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 |
|
|---|
| 8 | If 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 |
|
|---|
| 10 | If you want to export these graphs use the [Insertions] \[:graph.relation:] or \[:graph.child:].
|
|---|
| 11 |
|
|---|
| 12 |
|
|---|
| 13 | ++ Relation graph
|
|---|
| 14 |
|
|---|
| 15 | This 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 |
|
|---|
| 17 | An example could be on a page "Bird" the attributes
|
|---|
| 18 | <<
|
|---|
| 19 | [isA: Animal]
|
|---|
| 20 | [eats: Fish]
|
|---|
| 21 | >>
|
|---|
| 22 |
|
|---|
| 23 | There 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 |
|
|---|
| 25 | These 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 |
|
|---|
| 27 | The 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 |
|
|---|
| 32 | This graph shows the parent->child relationship of the words in the wiki.
|
|---|
| 33 |
|
|---|
| 34 |
|
|---|
| 35 | ++ Options
|
|---|
| 36 |
|
|---|
| 37 | In 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
|
|---|
| 40 | Name of the font to use for the node label
|
|---|
| 41 |
|
|---|
| 42 | +++++ Node font size
|
|---|
| 43 | Size of the font to use for the node label
|
|---|
| 44 |
|
|---|
| 45 | +++++ Node border color
|
|---|
| 46 | Color of the small line surrounding each node
|
|---|
| 47 |
|
|---|
| 48 | +++++ Node background color
|
|---|
| 49 | Color 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
|
|---|
| 52 | Color of the edges connecting nodes.
|
|---|
| 53 |
|
|---|
| 54 |
|
|---|
| 55 | [:page:PageFooter] |
|---|