Skip to end of banner
Go to start of banner

Flowchart Macro

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

 

Description

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.

Acknowlegment

Some of the contents of this page taken from Confluence 3.5 Flowchart Macro documentation.


Graphviz Resources

Graphviz is a powerful way of describing diagrams of any kind, using just text. Graphviz provides automatic layout of diagrams based on the text. Have a look at the following Graphviz resources.

 

 

Examples

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

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}

  • No labels