-
Notifications
You must be signed in to change notification settings - Fork 1.1k
SHOW_PERSON_OUTLINE renders external Person as internal #265
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
which PlantUML version are you using? @startuml
!includeurl https://raw.githubusercontent.com/plantuml-stdlib/C4-PlantUML/master/C4_Context.puml
SHOW_PERSON_OUTLINE()
Person_Ext(8, "Person A")
Person_Ext(version, %version())
Person_Ext(C4Version, C4Version())
SHOW_LEGEND(true)
@enduml BR Helmut |
Hi @kirchsth
I am using the PlantUML integration for IntelliJ in version 5.19 and asciidoctorj diagram in version 2.2.1. |
Can you try it with the PlantUML deployed C4-stdlib?
|
I found the problem: "PlantUML integration for IntelliJ" uses an too old plantuml.jar version. If they update to the last plantuml.jar version it should work again. Details: If an older plantuml version is used (I checked it with plantuml.1.2022.2) skinparam person<<person>> {
FontColor green
} overwrites the actor specific skinparam too skinparam actor<<person>> {
FontColor yellow
} which should not be the case (and it is fixed in the meantime) it can be tested with following @startuml
skinparam actor {
StereotypeFontSize 12
shadowing false
style awesome
}
skinparam actor<<person>> {
StereotypeFontColor yellow
FontColor yellow
BackgroundColor yellow
}
skinparam person<<person>> {
StereotypeFontColor green
FontColor green
BackgroundColor yellow
}
skinparam actor<<external_person>> {
StereotypeFontColor gold
FontColor gold
BackgroundColor gold
}
skinparam person<<external_person>> {
StereotypeFontColor red
FontColor red
BackgroundColor gold
}
actor "==uiuzwreerqwrrrqrrqdi" <<person>> as version3
actor "==uiuzdi" <<external_person>> as versi4
@enduml If an old version is used the |
It might be worth noting that the IntelliJ plugin for PlantUML has an option to use a local plantuml.jar (instead of the bundled one). |
The following diagram:
is rendered as expected:

With the SHOW_PERSON_OUTLINE option:
External Person is rendered as internal, while the legend still contains

external_person
:The issue exists for Context, Container and Component diagrams. The issue was likely introduced with release 2.4.0., at least I did not notice it before.
The text was updated successfully, but these errors were encountered: