Confluence Docs 3.0 : Flowchart Macro This page last changed on Jan 19, 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. Please read more about supported and unsupported plugins. You can find more information about the Graphviz plugin on the plugin documentation page.
## Usage Edit the page. Switch to the Wiki Markup editor. Insert two {flowchart} commands. 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. Gallery Of Example Diagrams Online Documentation Downloadable Introduction to GraphViz (PDF format) ##### RELATED TOPICS Working with Macros Take me back to Confluence User Guide Attachments: 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 Nov 05, 2009 23:35