0.6.0
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 208 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 265 of file config.cc.

266{
267 before.insert(before.end(), r.before.begin(), r.before.end());
268 after.insert(after.end(), r.after.begin(), r.after.end());
269 if (cmd.empty())
270 cmd = r.cmd;
271}

Member Data Documentation

◆ after

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

List of directives to add before diagram

Definition at line 212 of file config.h.

◆ before

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

List of directives to add before diagram

Definition at line 210 of file config.h.

◆ cmd

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

Command template to render diagram using MermaidJS

Definition at line 214 of file config.h.


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