Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents
maxLevel3
minLevel2
typeflat
separatorpipe


Warning
titleRemoval notice

Please note that the URL user and URL user password macro parameters were removed (see Deprecation notice: URL user and URL user password parameters). We recommend using profiles to access external data.


Description

Excerpt

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.

A flowchart is a special case of a directed graph (see Digraph macro), but with special defaults taken to be more appealing in the context of a Confluence page. Specifically, it uses the following graphviz options:

No Format
edge [arrowsize=0.8]; node [shape=rect, style=filled, fillcolor=lightyellow, fontname="Verdana", fontsize=9];


Graphviz resources

Include Page
Graphviz resources - Cloud
Graphviz resources - Cloud



Parameters

Include Page
Common parameters - Cloud
Common parameters - Cloud

Examples

Macro Call

Macro Output

{flowchart} 
Parameters -> Diagram 
{flowchart}


Center

Image Modified


{flowchart} 
main -> parse -> execute 
main -> init 
main -> cleanup 
execute -> make_string 
execute -> printf 
init -> make_string 
main -> printf 
execute -> compare 
{flowchart}

Image Modified

{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}

Image Modified