Syntax Error: Object name with space characters

0 votes
asked Dec 18, 2020 in Bug by anonymous
retagged Dec 20, 2020

`class "Name with space"` works.

`object "Name with space" as Obj` works.

`object "Name with space"` doesn't work.

Is there any reason not to support the last case?

1 Answer

0 votes
answered Jun 29, 2022 by anonymous
I'm running in the same error. Is there a solution?
commented Jun 29, 2022 by The-Lu (67,080 points)

Yes, by define an alias, as:

@startuml
object "Name with space" as Obj
@enduml

Regards.

...