Dots in class names?

0 votes
asked Jan 29, 2013 in Closed question / help by anonymous
edited Jan 29, 2013
I have a weird programming language which allows dots in class names. However, PlantUML thinks I have a package using the part of the class name before the dot as package name. Is there a workaround how I can get the dot into the class names without creating the package?

I am using the JavaScript-Environment where class diagrams are defined by e.g.         

<img uml="
                class dings
">

1 Answer

+2 votes
answered Jan 29, 2013 by plantuml (294,660 points)
 
Best answer

You can use this http://plantuml.sourceforge.net/classes.html#AutomaticNamespace

@startuml
set namespaceSeparator none
class X1.X2.foo {
  some info
}
@enduml

I think that this is what you are looking for.

Regards,

...