如何使用 PlantUML 为项目添加背景色

问题描述 投票:0回答:0

在 Visual Studio Code 中,我正在尝试为我的“项目”添加背景颜色。根据文档,它应该像这样工作:

@startuml LogAdministration_C1
!include  ../../../src/diagrams/plantuml/C4/C4_Context.puml
HIDE_STEREOTYPE()

AddElementTag("bgcolor", $bgColor="#335DA5") 

System(logA, "Log Administraion", $tags="bgcolor")
System(logCF, "label")

Rel(logA, logCF, "IO")

@enduml

遗憾的是它没有。有人有想法吗?

background-color plantuml
© www.soinside.com 2019 - 2024. All rights reserved.