Skip to content

Commit e236295

Browse files
authored
Fix plantuml.com/logo3.png image link (plantuml-stdlib#362)
1 parent acf5992 commit e236295

5 files changed

+10
-10
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -523,14 +523,14 @@ Color of the displayed images can be changed with `,color={color}`.
523523
!include <office/users/users.puml>
524524
525525
526-
AddRelTag("plantuml", $textColor="$ARROW_FONT_COLOR", $lineColor="$ARROW_COLOR", $sprite="img:http://plantuml.com/logo3.png{scale=0.3}", $legendSprite="img:http://plantuml.com/logo3.png{scale=0.1}", $legendText="console triggered")
526+
AddRelTag("plantuml", $textColor="$ARROW_FONT_COLOR", $lineColor="$ARROW_COLOR", $sprite="img:https://plantuml.com/logo3.png{scale=0.3}", $legendSprite="img:https://plantuml.com/logo3.png{scale=0.1}", $legendText="console triggered")
527527
528528
Person(user, "user group displayed with a sprite", $sprite="users")
529529
530530
531531
Container(container, "Container with scaled and colored OpenIconic", $sprite="&folder,scale=5.0,color=gray")
532532
533-
System(system, "System with an image", $sprite="img:http://plantuml.com/logo3.png")
533+
System(system, "System with an image", $sprite="img:https://plantuml.com/logo3.png")
534534
535535
Rel(user, system, "Rel with image (via tags)", $tags="plantuml")
536536
Rel(user, container, "Rel with OpenIconinc", $sprite="&folder")

percy/TestLabelsWithLineBreak.puml

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Rel_(p1, c1, "A relation\nwith custom direction", "o-DOWN->>")
2020
Rel_(p1, c2, "A relation\nwith custom direction", "and technology\nwith LBs", "o-RIGHT-o")
2121

2222
Rel(c1, c2, "A label\nwith\nline breaks", "and technology\nwith LBs")
23-
Rel(c1, s1, "A linked label\nwith\nline breaks", "and technology\nwith LBs", $link = "http://www.plantuml.com")
23+
Rel(c1, s1, "A linked label\nwith\nline breaks", "and technology\nwith LBs", $link = "https://www.plantuml.com")
2424

2525
Node(n1, "A node label\nwith\nline breaks", "type with\nline break", "description\nwith line break")
2626
Node(n2, "A node label", "PlantUML packages have no automatic line breaks, type breaks added", "PlantUML packages have no automatic line breaks, description breaks added") {
@@ -39,4 +39,4 @@ Component(to, "To component")
3939
Rel_("pre1", from, to, "A custom dynamic relation\nwith custom direction", "o-DOWN->>")
4040
Rel_("pre2", from, to, "A custom dynamic relation\nwith custom direction", "and technology\nwith LBs", "+--+")
4141
Rel(from, to, "A dynamic relation\nwith line break")
42-
@enduml
42+
@enduml

percy/TestLegendSprite.puml

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,12 @@ AddContainerTag("mysql_db", $sprite="database_server", $techn="MySQL 5.5.x", $le
2727
AddContainerTag("mongo_db", $sprite="database_server", $techn="MongoDB 2.2.x", $legendText="MongoDb database container")
2828
AddContainerTag("files", $sprite="file_server", $legendText="file server container")
2929

30-
AddContainerTag("conApp", $sprite="img:http://plantuml.com/logo3.png{scale=0.3}", $legendSprite="img:http://plantuml.com/logo3.png{scale=0.1}", $legendText="console application")
30+
AddContainerTag("conApp", $sprite="img:https://plantuml.com/logo3.png{scale=0.3}", $legendSprite="img:https://plantuml.com/logo3.png{scale=0.1}", $legendText="console application")
3131

3232
UpdateElementStyle("external_system", $bgColor=$EXTERNAL_SYSTEM_BG_COLOR, $fontColor=$EXTERNAL_SYSTEM_FONT_COLOR, $borderColor=$EXTERNAL_SYSTEM_BORDER_COLOR, $sprite = "osa_server", , $legendText="external system")
3333

3434
AddRelTag("firewall", $textColor="$ARROW_FONT_COLOR", $lineColor="$ARROW_COLOR", $sprite="&envelope-closed", $techn="HTTPS", $legendText="firewall")
35-
AddRelTag("plantuml", $textColor="$ARROW_FONT_COLOR", $lineColor="$ARROW_COLOR", $sprite="img:http://plantuml.com/logo3.png{scale=0.1}", $legendText="console triggered")
35+
AddRelTag("plantuml", $textColor="$ARROW_FONT_COLOR", $lineColor="$ARROW_COLOR", $sprite="img:https://plantuml.com/logo3.png{scale=0.1}", $legendText="console triggered")
3636

3737
Person_Ext(anonymous_user, "Bob", $tags="anonymous_ext")
3838
Person(aggregated_user, "Sam, Ivone", $tags="customer")

percy/TestTagSupportsSprite.puml

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,12 @@ AddContainerTag("mongo_db", $sprite="mongodb", $legendText="MongoDB container")
3131
AddContainerTag("mysql_db", $sprite="mysql", $legendText="MySQL container")
3232
AddContainerTag("files", $sprite="file_server", $legendText="file server container")
3333

34-
AddContainerTag("conApp", $sprite="img:http://plantuml.com/logo3.png{scale=0.3}", $legendSprite="img:http://plantuml.com/logo3.png{scale=0.1}", $legendText="console application")
34+
AddContainerTag("conApp", $sprite="img:https://plantuml.com/logo3.png{scale=0.3}", $legendSprite="img:https://plantuml.com/logo3.png{scale=0.1}", $legendText="console application")
3535

3636
UpdateElementStyle("external_system", $bgColor=$EXTERNAL_SYSTEM_BG_COLOR, $fontColor=$EXTERNAL_SYSTEM_FONT_COLOR, $borderColor=$EXTERNAL_SYSTEM_BORDER_COLOR, $sprite = "osa_server", , $legendText="external system")
3737

3838
AddRelTag("firewall", $textColor="$ARROW_FONT_COLOR", $lineColor="$ARROW_COLOR", $sprite="firewall,scale=0.3,color=red", $legendText="firewall")
39-
AddRelTag("plantuml", $textColor="$ARROW_FONT_COLOR", $lineColor="$ARROW_COLOR", $sprite="img:http://plantuml.com/logo3.png{scale=0.1}", $legendText="console triggered")
39+
AddRelTag("plantuml", $textColor="$ARROW_FONT_COLOR", $lineColor="$ARROW_COLOR", $sprite="img:https://plantuml.com/logo3.png{scale=0.1}", $legendText="console triggered")
4040

4141
LAYOUT_LEFT_RIGHT()
4242
' LAYOUT_LANDSCAPE()

percy/TestTagSupportsSpriteTechn.puml

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,12 @@ AddContainerTag("mongo_db", $techn = "MongoDB 2.2.x", $sprite="mongodb", $legend
3131
AddContainerTag("mysql_db", $techn="MySQL 5.5.x", $sprite="mysql", $legendText="MySQL container")
3232
AddContainerTag("files", $sprite="file_server", $legendText="file server container")
3333

34-
AddContainerTag("conApp", $sprite="img:http://plantuml.com/logo3.png{scale=0.3}", $legendSprite="img:http://plantuml.com/logo3.png{scale=0.1}", $legendText="console application")
34+
AddContainerTag("conApp", $sprite="img:https://plantuml.com/logo3.png{scale=0.3}", $legendSprite="img:https://plantuml.com/logo3.png{scale=0.1}", $legendText="console application")
3535

3636
UpdateElementStyle("external_system", $bgColor=$EXTERNAL_SYSTEM_BG_COLOR, $fontColor=$EXTERNAL_SYSTEM_FONT_COLOR, $borderColor=$EXTERNAL_SYSTEM_BORDER_COLOR, $sprite = "osa_server", , $legendText="external system")
3737

3838
AddRelTag("firewall", $textColor="$ARROW_FONT_COLOR", $lineColor="$ARROW_COLOR", $techn="HTTPS", $sprite="firewall,scale=0.3,color=red", $legendText="firewall")
39-
AddRelTag("plantuml", $textColor="$ARROW_FONT_COLOR", $lineColor="$ARROW_COLOR", $techn="HTTPS", $sprite="img:http://plantuml.com/logo3.png{scale=0.1}", $legendText="console triggered")
39+
AddRelTag("plantuml", $textColor="$ARROW_FONT_COLOR", $lineColor="$ARROW_COLOR", $techn="HTTPS", $sprite="img:https://plantuml.com/logo3.png{scale=0.1}", $legendText="console triggered")
4040

4141
LAYOUT_LEFT_RIGHT()
4242
' LAYOUT_LANDSCAPE()

0 commit comments

Comments
 (0)