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

Saving a ZenUML as PNG or SVG does not work #1562

Open
Katze719 opened this issue Oct 29, 2024 · 0 comments
Open

Saving a ZenUML as PNG or SVG does not work #1562

Katze719 opened this issue Oct 29, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Katze719
Copy link

Katze719 commented Oct 29, 2024

Describe the bug
When i want to save my ZenUML diagram as a PNG or SVG file, it looks glitched, the online viewer shows it correctly

To Reproduce
Link to Live Editor:
Link

Steps to reproduce the behavior:

  1. Enter this code into the live editor:
zenuml
title Order Processing

Client->OrderService.processOrder(orderId int) {
    InventoryService.checkStock(productId int) {
        if(stockAvailable) {
            return true
        } else {
            return false

            // Frühzeitiger Return
            @return
            OrderService->Client: Order out of stock (orderId int)
        }
    }
    PaymentService.processPayment(orderId int, amount float) {
        if(paymentSuccess) {
            return "Payment confirmed"
        } else {
            return "Payment failed"

            // Frühzeitiger Return
            @return
            OrderService->Client: Order failed due to payment issue
        }
    }
    return "Order processed successfully"
}
  1. try to save as PNG or SVG and take a look at the picture

Expected behavior
PNG or SVG should look like this:

image

Screenshots
but it looks like this:

image

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser edge 129.0.2792.89
  • Version v11.3.0
@Katze719 Katze719 added the bug Something isn't working label Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant