Description
This article illustrates how you can nest a macro that generates a dot code within Graphviz macro (in this case, the Graph macro), to create a diagram.
Steps
- Create a new page.
Enter {graph and select the flowchart macro. Alternatively, from the toolbar at the top, click Insert more content > Other macros > Flowchart macro.
In this example, we nest the macro body within the Graph Macro.
- Nest the macro body within the flowchart macro as shown below:
4. Enable Render wiki markup macros in body.
5. Click Save to publish the page.
For Diagraphs and Space graphs, you will have to nest macros that generate diagraph commands.