This page last changed on Apr 29, 2008 by smaddox.

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.

Installation

This macro requires that the GraphViz plugin is installed on your Confluence site.

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
Enabling The Flowchart Macro

Take me back to Confluence User 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 Jun 24, 2008 18:05