How to install Graphviz for Confluence on SUSE Linux platform

This article explains the details of installing the Graphviz for Confluence app on the SUSE Linux platform.

Prerequisite: Confluence server must have the Graph Visualization Software (Graphviz) package installed for the Graphviz Diagrams for Confluence macros to work.


  1. As mentioned in the prerequisite: Before installing the Graphviz Diagrams for Confluence app on the confluence instance, download and install the Graph Visualization Software (Graphviz) on the server where you are running Confluence.
  2. The Graphviz software requires these packages to be installed : graphviz.rpm, graphviz-graphs.rpm, and the graphviz-gd.rpm. These packages can be installed directly or manually.

    These packages are automatically installed under this location: /usr/local/Cellar/graphviz/2.40.1/lib/graphviz.

  3. Test Graphviz installation:
    1. After installing Graphviz, make sure the dot executable is run from the command line, using the same environment (especially the path) used to start the Confluence.
    2. Run the below command to make sure Graphviz is installed successfully.

      dot -version

      If the result shows as mentioned in the below sample output, it implies that Graphviz has been configured correctly:

      dot - graphviz version 2.40.1 (20161225.0304)
      libdir = "/usr/local/Cellar/graphviz/2.40.1/lib/graphviz"
  4. Install the app Graphviz diagrams for Confluence in the confluence instance.

  5. Test the app functionality by adding a simple flowchart as given below:

    1. Add a new confluence page.
    2. Add a flowchart macro by typing { and then select the flowchart macro.
    3. Inside the macro, add the code A→B as shown below:
    4. Save the page. The diagram is shown as below: