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

Remove empty members box in Mermaid class diagram #77

Merged
merged 1 commit into from
Mar 3, 2025

Conversation

ParanoidUser
Copy link
Contributor

@ParanoidUser ParanoidUser commented Mar 3, 2025

Ahoy, @koppor! 👋

I know it's been so long that you probably lost hope of it ever happening. Last year, Mermaid v11.4 introduced a new diagram renderer that allows to hide empty boxes in class diagrams. Fast-forward to just last week, GitHub finally upgraded their markdown viewer to incorporate these changes. Now, we can hide those eye-catching boxes we discussed in PR #43 a year ago.

New Class Diagram

---
  config:
    class:
      hideEmptyMembersBox: true
---
classDiagram
  direction TB
  class ADR {
    <<abstract>>
  }
  ADR <|-- MADR
  ADR <|-- NygardADR
  ADR <|-- Y-Statement
  ADR <|-- OtherADRTemplate
Loading

@koppor koppor merged commit cae9399 into adr:main Mar 3, 2025
4 checks passed
@koppor
Copy link
Member

koppor commented Mar 3, 2025

@ParanoidUser Thank you so much for the follow-up! I totally forgot about it and I am very happy that it is in now!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants