From 129b3f9004c39848d68cfc7e6742f0d2be76f168 Mon Sep 17 00:00:00 2001 From: Knut Sveidqvist Date: Fri, 14 Aug 2020 07:34:42 +0200 Subject: [PATCH] Cherry pick of config changes --- cypress/platform/class.html | 15 ++++++++++++++- src/config.js | 10 +++++++++- src/mermaidAPI.js | 14 +++++++++++++- src/styles.js | 1 + 4 files changed, 37 insertions(+), 3 deletions(-) diff --git a/cypress/platform/class.html b/cypress/platform/class.html index 6fc4290e6..d2d0d6068 100644 --- a/cypress/platform/class.html +++ b/cypress/platform/class.html @@ -21,6 +21,7 @@

info below

+ %%{init: {'theme': 'base', 'fontFamily': 'arial', 'themeVariables': { 'primaryColor': '#ff0000'}}}%% classDiagram-v2 class BankAccount{ +String owner @@ -42,6 +43,15 @@ <<interface>> classB classB : method2() int
+ +
+ classDiagram-v2 + + classA -- classB : Inheritance + classA -- classC : link + classC -- classD : link + classB -- classD +