From 0b8561711b41acd37ac75eb0b31bf98c47ec04a2 Mon Sep 17 00:00:00 2001 From: Matthieu MOREL Date: Sun, 6 Dec 2020 22:23:13 +0100 Subject: [PATCH 01/12] align click on href or function syntax with other diagrams --- cypress/platform/class.html | 12 ++--- cypress/platform/click_security_loose.html | 8 ++-- cypress/platform/interaction.html | 8 ++-- src/diagrams/class/classDb.js | 43 +++++++++++++----- src/diagrams/class/classDiagram.spec.js | 30 ++++++++----- src/diagrams/class/parser/classDiagram.jison | 47 +++++++++++++++++--- 6 files changed, 107 insertions(+), 41 deletions(-) diff --git a/cypress/platform/class.html b/cypress/platform/class.html index f3c0a43b1..663edb610 100644 --- a/cypress/platform/class.html +++ b/cypress/platform/class.html @@ -35,7 +35,7 @@ +withdrawl(amount) int } cssClass "BankAccount" customCss - +
%%{init: {'theme': 'base', 'fontFamily': 'courier', 'themeVariables': { 'primaryColor': '#fff000'}}}%% @@ -47,7 +47,7 @@ +withdrawl(amount) int } cssClass "BankAccount" customCss - +
%%{init: {'theme': 'base', 'fontFamily': 'courier', 'themeVariables': { 'primaryColor': '#fff000'}}}%% @@ -69,8 +69,8 @@ int id test() } - callback Class01 "callback" "A Tooltip" - + click Class01 call callback() "A Tooltip" +
flowchart TB @@ -79,7 +79,7 @@ classDef apa fill:#f9f,stroke:#333,stroke-width:4px; class a_a apa; click a_a "http://www.aftonbladet.se" "apa" - +
@@ -110,7 +110,7 @@ class Shape callback Shape "callbackFunction" "This is a tooltip for a callback" - +