Skip to content

plantuml - allow node redeclaration at root level to add detail #460

@adamfk

Description

@adamfk

Consider this invalid PlantUML text:

@startuml SomeName
[*] --> CONFIG
state CONFIG

state MENU {
    state CONFIG
}
@enduml

CONFIG is first declared at the root and then again later inside of MENU. That makes no sense. We will throw a descriptive exception.

However, this is OK:

@startuml SomeName
state MENU {
    state CONFIG
}

state CONFIG
{
    state CONFIG_INNER
}
[*] --> CONFIG

@enduml

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions