Skip to content

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

@mawid6

Description

@mawid6

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions