Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Plantuml renderer: Group and system of same name yields puml code resulting in error #258

Closed
mawid6 opened this issue Mar 1, 2024 · 0 comments
Labels

Comments

@mawid6
Copy link

mawid6 commented Mar 1, 2024

Description

Hi! Having a group with the same name as a system in the group, and then rendering with StructurizrPlantUMLExporter yields puml code that does not render an image but an error. It works with e g the C4PlantUMLExporter plantuml renderer.

Steps to reproduce

  1. Navigate to web ui to test
  2. Paste code
  3. Try normal render, ok, try plantuml render and click to render - error message is rendered.
    Other (C4PlantUMLExporter) plantuml renderer works fine, also.

Screenshot

image

Code sample

workspace "same-name-group-system-plantuml-renderer-error" {
    !identifiers hierarchical 
    model {
        group "Kompis" {
            kompis = softwareSystem "Kompis"
        }
        github = softwareSystem "Github"
        azure = softwareSystem "Azure"

        space = softwareSystem "IPEX space" {
            -> github "Is built using:"
            -> azure "Uses"
            -> kompis "Uses"
        }
    }

    views {
        systemContext space {
            autolayout lr
            include *
        }
    }
}

Configuration

Web version

Severity

Minor

Priority

I have no budget and there's no rush, please fix this for free

More information

Workaround: Dont use same name for group and system in your hierarchy.

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

No branches or pull requests

1 participant