You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i use namespaces to draw packages and it is imposible to add subpackages, i mean sub namesapce.
second, i want to create a namespace with label like the class and also it is impossible
third, it is also imposible to add an annotation to a namespace
Steps to reproduce
try to define a namespace inside an other and use a try to annotate a namesapce like a class
Screenshots
No response
Code Sample
classDiagram
namespace BaseShapes <<enumeration>>{
class Triangle
class Rectangle {
double width
double height
}
}
classDiagram
namespace [namespace's label] {
class Triangle
namespace SubNamespace {
<<annotation>>
class Rectangle {
double width
double height
}
}
}
Setup
Mermaid version: 11.4.0
Browser and Version: [Chrome, Edge, Firefox]
Suggested Solutions
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered:
There is a workaround for the nesting of namespaces.
But it doesn't work in 11.4
classDiagram
namespace presentation{
class auth
class main
}
namespace auth{
class AuthScreen
class AuthViewModel
}
namespace main{
class MainScreen
class MainViewModel
}
Can confirm, I'm having the same issue here.
Using the PyCharm Mermaid plugin, 0.0.22+IJ.232 using Mermaid v10.9.1, I am able to make use of nested Namespaces.
It doesn't display any errors and the live editor isn't able to render it nor the Wiki in Azure DevOps.
Description
i use namespaces to draw packages and it is imposible to add subpackages, i mean sub namesapce.
second, i want to create a namespace with label like the class and also it is impossible
third, it is also imposible to add an annotation to a namespace
Steps to reproduce
try to define a namespace inside an other and use a try to annotate a namesapce like a class
Screenshots
No response
Code Sample
Setup
Suggested Solutions
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: