Skip to content

Commit

Permalink
Add backward compatibility for UpdateSkinparamsAndLegendEntry.
Browse files Browse the repository at this point in the history
  • Loading branch information
Potherca committed Apr 11, 2021
1 parent 621a191 commit 34353dd
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions C4.puml
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,11 @@ $defineSkinparams($elementName, $bgColor, $fontColor, $borderColor, $shadowing)
%set_variable_value("$" + $elementName + "LegendEntry", $tagEntry)
!endprocedure

/' @deprecated in favor of UpdateElementStyle '/
!unquoted procedure UpdateSkinparamsAndLegendEntry($elementName, $bgColor="", $fontColor="", $borderColor="", $shadowing="")
UpdateElementStyle($elementName, $bgColor, $fontColor, $borderColor, $shadowing)
!endprocedure

' update the style of default relation, it has to set both properties (combined statement not working)
!unquoted procedure UpdateRelStyle($textColor, $lineColor)
!$elementSkin = "skinparam Arrow {" + %newline()
Expand Down

0 comments on commit 34353dd

Please sign in to comment.