Hide text of lollipop /shorten lollipop connection

0 votes
asked Sep 15 in Question / help by MarcV (360 points)
Hi,

Is possible to hide te text placed bij the lollipop?

I just want to show that there is a connection, not a text.

Is it also possible to shorten te line beween the class and the lollipop?
commented Sep 15 by albert (2,340 points)
Please show what you got sofar (small example).

2 Answers

0 votes
answered Sep 16 by anonymous

Here is the what I have sofar.

I want to remove the text of the lollipop, or change the textsize.

@startuml
skinparam linetype ortho
left to right direction
skinparam classArrowFontSize 7
skinparam classAttributeFontSize  8
skinparam ranksep 20
scale 1.4
class FLWCOMP7 #AQUA {
[[GOLOGICFLWCOMP7 LOGICNIM]]
05/39/2
[[FLWCOMP7 Jump]] [[DETAILFLWCOMP7 EB]] [[GODETAILFLWCOMP7 GO]]
}
hide FLWCOMP7 circle
hide FLWCOMP7 methods
class P502LS #AQUA {
[[GOLOGICP502LS LOGICNIM]]
05/39/16
[[P502LS Jump]] [[DETAILP502LS EB]] [[GODETAILP502LS GO]]
}
hide P502LS circle
hide P502LS methods
class PC502 #GhostWhite {
REGCLNIM
05/39/53
[[PC502 Jump]] [[DETAILPC502 EB]] [[GODETAILPC502 GO]]
}
hide PC502 circle
hide PC502 methods
class PT502 #SILVER {
ANINNIM
05/39/13
[[PT502 Jump]] [[DETAILPT502 EB]] [[GODETAILPT502 GO]]
}
hide PT502 circle
hide PT502 methods
class PT502A #LIGHTGREEN {
REGAM

[[PT502A Jump]] [[DETAILPT502A EB]] [[GODETAILPT502A GO]]
}
hide PT502A circle
hide PT502A methods
class PV502A #YELLOW {
ANOUTNIM
05/39/15
[[PV502A Jump]] [[DETAILPV502A EB]] [[GODETAILPV502A GO]]
}
hide PV502A circle
hide PV502A methods
class PV502B #YELLOW {
ANOUTNIM
05/39/13
[[PV502B Jump]] [[DETAILPV502B EB]] [[GODETAILPV502B GO]]
}
hide PV502B circle
hide PV502B methods
class PX502A #GhostWhite {
REGCLNIM
05/39/36
[[PX502A Jump]] [[DETAILPX502A EB]] [[GODETAILPX502A GO]]
}
hide PX502A circle
hide PX502A methods
class PX502B #GhostWhite {
REGCLNIM
05/39/38
[[PX502B Jump]] [[DETAILPX502B EB]] [[GODETAILPX502B GO]]
}
hide PX502B circle
hide PX502B methods
class PY502A #GhostWhite {
REGCLNIM
05/39/35
[[PY502A Jump]] [[DETAILPY502A EB]] [[GODETAILPY502A GO]]
}
hide PY502A circle
hide PY502A methods
class PY502B #GhostWhite {
REGCLNIM
05/39/37
[[PY502B Jump]] [[DETAILPY502B EB]] [[GODETAILPY502B GO]]
}
hide PY502B circle
hide PY502B methods
EY7048 ()--  "NAME" PT502A
P502LS ()--  "MODE" PY502A
P502LS ()--  "MODE" PY502B
PC502 "SP" .left.>  "PI1" PT502A
PC502 "CO1" ----->  "X1" PY502A
PC502 "CO2" ----->  "X1" PY502B
PT502 "LASTPV" .left.>  "LI1" FLWCOMP7
PT502 "BADPVFL" .left.>  "LI2" FLWCOMP7
PT502 "PV" .....>  "CI1" PC502
PX502A "CO1" ----->  "OP" PV502A
PX502B "CO1" ----->  "OP" PV502B
PY502A "CO1" ----->  "X1" PX502A
PY502A "MANMODFL" .left.>  "LI1" P502LS
PY502B "CO1" ----->  "X1" PX502B
PY502B "MANMODFL" .left.>  "LI2" P502LS
TI725 ()..  "LI3" FLWCOMP7
TI725 ()..  "LI4" FLWCOMP7
@enduml

0 votes
answered Sep 17 by albert (2,340 points)

So it is about removing the "TI725" text. I was thinking that there might be a hide option for the text or a color option for the text, but I could not find any. I did find skinparam arrowLollipopColor #red (see http://forum.plantuml.net/6424/please-provide-skinparam-for-the-lollipop-background-color). When looking in the language list of PlantUML version 1.2018.11beta11 the arrowLollipopColor was only one with lollipop.

Maybe it would good to have an hide option or the possibility to change the text color (to transparent).

...