When there's a line back to an item on the right edge, horizontal rules are too long

0 votes
asked Sep 18, 2021 in Bug by anonymous
recategorized Sep 18, 2021

In a sequence diagram when you have an item on the right edge that has an arrow to itself on the left side, it seems that plantuml still reserves space for it on the right side, and this makes horizontal lines stretch too far to the right. Here's an example:

one -> two : Step one
two <- two : Step two
one <- two : Step three
== Too wide ==

This has this output:


Are there any workarounds? I don't want my diagrams any wider than necessary, which is why I have the Step two arrow on the left.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:

[Antispam2 Feature: please please wait 1 or 2 minutes (this message will disappear) before pressing the button otherwise it will fail](--------)
To avoid this verification in future, please log in or register.