0.5.4
C++ to UML diagram generator based on Clang
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
clanguml::config::mermaid Struct Reference

MermaidJS diagram config section. More...

Detailed Description

MermaidJS diagram config section.

This configuration option can be used to add any MermaidJS directives before or after the generated diagram, such as diagram name, or custom notes.

Definition at line 158 of file config.h.

#include <config.h>

Public Member Functions

void append (const mermaid &r)
 

Public Attributes

std::vector< std::string > before
 
std::vector< std::string > after
 
std::string cmd
 

Member Function Documentation

◆ append()

void clanguml::config::mermaid::append ( const mermaid r)

Definition at line 228 of file config.cc.

229{
230 before.insert(before.end(), r.before.begin(), r.before.end());
231 after.insert(after.end(), r.after.begin(), r.after.end());
232 if (cmd.empty())
233 cmd = r.cmd;
234}

Member Data Documentation

◆ after

std::vector<std::string> clanguml::config::mermaid::after

List of directives to add before diagram

Definition at line 162 of file config.h.

◆ before

std::vector<std::string> clanguml::config::mermaid::before

List of directives to add before diagram

Definition at line 160 of file config.h.

◆ cmd

std::string clanguml::config::mermaid::cmd

Command template to render diagram using MermaidJS

Definition at line 164 of file config.h.


The documentation for this struct was generated from the following files: