Skip to content
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

Wrong bounds calculation for alt block when section split is used #30

Open
tomazas opened this issue Jul 13, 2022 · 0 comments
Open

Wrong bounds calculation for alt block when section split is used #30

tomazas opened this issue Jul 13, 2022 · 0 comments

Comments

@tomazas
Copy link

tomazas commented Jul 13, 2022

Hi,

SVG/PNG is generated incorrectly for alt blocks if section split line "===" is used in sequence diagram.
Example:

autonumber
alt Secondary attach
Device <- "Server": HTTPS 200 OK: Show page
Device -> "Server": HTTPS POST /success: Accept
Device <- Device: JS verify pending status
"Server" -> "SM": HTTPS POST: confirm1
"Server" <- "SM": HTTPS 200 OK: deploy page
"Server" -> "SM": HTTPS POST: confirm2
"Server" <- "SM": HTTPS 200 OK: [matchingID] = confirm2()
====
"Server" -> "SS": provision(params...)
"Server" <- "SS": success = provision()
alt On success
Device <- "Server": HTTPS 200 OK: JS callback) // Show success page
====
Device -> "SS": "initAuth"
else On error
Device <- "Server": HTTPS 200 OK: Show error / failure page
end
Device <- Device: done // completed flow ends
end
@enduml

plantuml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant