Arrow position and size in timing diagram

0 votes
asked Nov 14, 2022 in Bug by Serge Wenger Work (15,620 points)
edited Nov 16, 2022 by Serge Wenger Work

With the following code, we can see :

1) The arrow position is not correct (too left for the line start and too right for the line end). 

2) The arrow size is not the same in concise and robust

It is the same for png and svg

1 Answer

0 votes
answered Nov 16, 2022 by plantuml (295,000 points)
selected Nov 18, 2022 by Serge Wenger Work
 
Best answer

Point 2 should be fixed now.

About point 1, I'm not sure to understand the issue (which arrow?)

Could you post a minimum example that shows the issue?
Thanks!

commented Nov 16, 2022 by The-Lu (67,040 points)

For the point 1, here is a zoomed example: wink

@startuml
scale 3

robust "Robust" as RobustOn
concise "Concise" as ConciseState

RobustOn is Off
ConciseState is "Off"

@0 as :On_Start
@1 as :On
@3 as :On_Start2

@:On_Start
RobustOn is On

@:On
RobustOn is Off

ConciseState is "G..."
@:On_Start2
RobustOn is On

RobustOn@:On_Start <-> @:On : 1000 ms
RobustOn@:On <-> @:On_Start2: <color:red>See arrow's end
ConciseState@:On_Start <-> @:On : 1000 ms
ConciseState@:On <-> @:On_Start2: The comment

caption 
find on version 1.2022.13.beta7
actual version %version()
end caption
@enduml

commented Nov 16, 2022 by Serge Wenger Work (15,620 points)

Hello,

 The-Lu you are right

I try to explain my problem in the following image https://ibb.co/ryMKC3J 

 

commented Nov 16, 2022 by The-Lu (67,040 points)

Hello all,

With your image that is clear:

Regards.

commented Nov 18, 2022 by Serge Wenger Work (15,620 points)

Thanks to PlantUML Team. Point 1 is OK. yes

...