Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Namespaces structure #6018

Open
hjamaleddine opened this issue Nov 2, 2024 · 0 comments
Open

Namespaces structure #6018

hjamaleddine opened this issue Nov 2, 2024 · 0 comments
Labels
Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect

Comments

@hjamaleddine
Copy link

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

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

@hjamaleddine hjamaleddine added Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect labels Nov 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect
Projects
None yet
Development

No branches or pull requests

1 participant