Add `package` to class diagram
See original GitHub issueIs your feature request related to a problem? Please describe.
Hello! Иon-native English speaker warning
I’m relative frequently drawing class diagrams. For now I’m using MagicDraw but I would like to try text-to-scheme solution.
I like your syntax for class diagrams and I would be very happy to use it for my work but I frequently using packages
in my schemes. Like class A
goes to package X
and associated with class B
that laying in package Y
.
Describe the solution you’d like
I would like to have a package
extension for current syntax like:
package Sales {
class Product {
+int id
}
Product o-- Employees.Manager
package Employees {
class Manager {
+int id
}
}
Describe alternatives you’ve considered Do not see any
Additional context None
Issue Analytics
- State:
- Created 4 years ago
- Reactions:61
- Comments:28 (8 by maintainers)
Top Results From Across the Web
Package Diagram Tutorial - Lucidchart
A complete guide on everything you need to know about package diagrams in UML. Learn the symbols, best practices, and use a template...
Read more >Example Class Diagram with Packages - YouTube
This video is part of the Udacity course "Software Architecture & Design". Watch the full course at https://www.udacity.com/course/ud821.
Read more >Class in a Package (Airline)
This class diagram example describes the structural relationship of an airline information system. The Passenger and milesAccount Classes appear in both ...
Read more >Creating Java packages in domain modeling class diagrams
Procedure · In the Palette, click Package and click an empty space inside the class diagram. · In the New Java Package wizard,...
Read more >Add a Package | Enterprise Architect User Guide
You can also add a new Package element by dragging the Package icon from the Toolbox into a diagram; in this case the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hey,
I would like to express how much I enjoy using mermaid over other tools for diagramming. Its great to be able to version code and documentation next to each other in the same folder.
My current project really needs this feature, so I have set up a bounty for it here: https://app.bountysource.com/issues/83273957-add-package-to-class-diagram
If you decide to work on it, please call it “namespace” instead of “package”. Also I would appriciate it very much to be nestable like so:
I hope this convinces someone to built the feature, keep on rocking Mermaid! 😃
Sorry, no - I had put the work on hold until the new version of rendering engine was completed. Now that this is in place I will get back to this item