Macro spacegraph
Purpose
Create a graphical overview of wiki pages in a Confluence space.Parameter
All parameters are optional.
Name | Description |
---|---|
space | Key of space to create image for. Current space will be used if empty. |
page | Title of page that will be treated as root.
|
depth | Number of levels descendents will be shown. |
nodeColor | Color of nodes either as
(available since 5.4.2) |
nodeFontsize | Fontsize to be used in graph. |
direction | TB - Top to bottomLR - Left to right (default) |
metadata | Displays metadata created with Metadata Plugin
(available since 5.3.1) |
format | PNG (default) SVG (beta) |
exportName | The graph will be stored as attachment if exportName is given. |
debug |
|
Limitations
- PNG images do not contain links to the pages that are displayed in the graph
Security Considerations
The spacegraph macro shows only pages which are visible for the current user.
However, if exportName
is given, the image will be created as an attachment. This image contains all pages, which were visible to the user who viewed the page when the attachment was created.
Sample Images
Sample Code
{spacegraph:space=ds|page=Home|depth=2|nodeFontsize=8|direction=LR|format=png|exportName=demonstration_space.png|debug=true} {spacegraph:page=ds:Tutorial|depth=1}