User:Dapete/vCat: Difference between revisions
Appearance
From Meta, a Wikimedia project coordination wiki
Line 44:
Line 44:
| '''limit'''
| '''limit'''
| number
| number
| Maximum number of nodes in the tree.
| Maximum number of nodes(追記) /leaves (追記ここまで) in the tree(追記) .<br/>Default is 250, which is also the maximum unless you use raw Graphviz (<code>format=gv</code>) as the output format (追記ここまで).
| The maximum number is achieved by automatically limiting the depth when this number of nodes has been exceeded.<br/>The limit is enforced because rendering images with many nodes takes a long time and produces huge files. <code>format=gv</code> does not actually render an image, so the limit is not necessary. Users can then take this file and render an image from it themselves.
|
|-
|-
| '''format'''
| '''format'''
Revision as of 09:28, 15 June 2014
English
See also:
- Catgraph migration for information on changes between the old Catgraph tool and vCat.
- Fonts for information on which fonts are used to support various writing systems.
Name | Values | Description | Remarks |
---|---|---|---|
wiki | e.g. "dewiki" | Wiki abbreviation (as used in DBs). | |
category | category title | Title of the category. | Can be specified more than once to have multiple categories as roots for the graph. Cannot be used with title or ns .
|
title | page name | Title of the page. | If ns is not specified, the namespace is automatically determined from the title.Can be specified more than once to have multiple pages as roots for the graph. Can not be used with category .
|
ns | number | Number of namespace. | Forces the namespace for the title specified to this namespace.Cannot be used with category .
|
rel | "category", "subcategory" | Shows a graph of a category's or article's categories, or of a category's subcategories. | The latter can only be used if the roots of the graph are categories. |
depth | number | Maximum depth of the tree. | |
limit | number | Maximum number of nodes/leaves in the tree. Default is 250, which is also the maximum unless you use raw Graphviz ( format=gv ) as the output format.
|
The maximum number is achieved by automatically limiting the depth when this number of nodes has been exceeded. The limit is enforced because rendering images with many nodes takes a long time and produces huge files. format=gv does not actually render an image, so the limit is not necessary. Users can then take this file and render an image from it themselves.
|
format | "dot", "gv" (both Graphviz), "gif", "pdf", "png", "svg" | Output format (default PNG). | If links is used, creates HTML pages with an image map (<map> element) for PNG and GIF images. See below.
|
showhidden | "0", "1" | Default "0". Flag to show hidden categories (marked with __HIDDENCAT__ ).
|
|
algorithm | "dot", "fdp" | Use the specified Graphviz utility to create the graph (default dot ).
| |
links | no value, "wiki", "graph" | If set, include links in graph. "wiki" makes links to the wiki articles. "graph" makes links to a Catgraph starting there with the same parameters as the current one. |
Creates HTML pages with an image map (<map> element) for PNG and GIF images. The images are embedded in the page as data: URIs.
|