This page last changed on Dec 17, 2009 by ggaskell.

The Flowchart Macro creates diagrams composed of shapes joined by lines using the GraphViz language. This language is extremely versatile and powerful, but you can start with a really simple example as shown below, and then gradually improve your knowledge and create more advanced diagrams easily.

The Flowchart Macro requires the Graphviz Plugin
To use the Flowchart Macro, you will need to install the Graphviz plugin onto your Confluence site. This plugin is not shipped with Confluence by default, and is not officially supported by Atlassian.

Usage

  1. Edit the page.
  2. Switch to the Wiki Markup editor.
  3. Insert two {flowchart} commands.
  4. Between those two commands, insert a textual representation of the diagram, using the GraphViz description language.

Examples

These are some very basic examples of what you can achieve easily. For more advanced layouts and formatting, please refer to the resources below.

Macro Call Macro Output
{flowchart}
Parameters -> Diagram
{flowchart}
{flowchart}
main -> parse -> execute
main -> init
main -> cleanup
execute -> make_string
execute -> printf
init -> make_string
main -> printf
execute -> compare
{flowchart}
{flowchart}
Open -> "Needs Verification" -> Verified -> Implemented
Open -> Implemented -> Resolved
Open -> Closed
Open -> Resolved [style=dotted, color=red, weight=2]
Implemented -> "To be reviewed" [label="Request review", fontsize=10]
"To be reviewed" -> Resolved [label="Reviewed", fontsize=10]
Resolved -> Closed
{flowchart}

GraphViz Resources

GraphViz is a powerful way of describing diagrams of any kind, using just text. There is no graphical editor, so this may not be the tool of choice for the occasional user. But if you would like to visualise your ideas regularly it is well worth reading more about the language. Have a look at the following resources on the GraphViz website, to learn more than what can be explained on this overview page.

RELATED TOPICS

Working with Macros

Take me back to Confluence User's Guide


Flowchart.png (image/png)
Flowchart.png (image/png)
Complex.png (image/png)
Complex.png (image/png)
jira-workflow.png (image/png)
jira-wf.png (image/png)
Document generated by Confluence on Jul 09, 2010 01:08