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

Configure Class Diagram to Use Other Curves #5056

Closed
LingkKang opened this issue Nov 21, 2023 · 2 comments
Closed

Configure Class Diagram to Use Other Curves #5056

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

Comments

@LingkKang
Copy link

Description

I found that flowchart can use %%{ init: { 'flowchart': { 'curve': 'stepBefore' } } }%% to easily configure the curve style, with various styles supproted. However, I did not found the way to do this in Class Diagram.

Specificly, I wonder is it possible to have right angles instead of curves, as what normal UML class diagrams usually have.

Steps to reproduce

This is easy to reporduce, for example:

classDiagram
  class A
  class B
  class C
  A -- B
  C -- B
classDiagram
  class A
  class B
  class C
  A -- B
  C -- B
Loading

Screenshots

No response

Code Sample

No response

Setup

Using mermaid at mermaid.live. Currently, it is v10.6.1.

Suggested Solutions

No response

Additional Context

No response

@LingkKang LingkKang added Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect labels Nov 21, 2023
@LingkKang
Copy link
Author

#2067 Found this issue

@jgreywolf
Copy link
Contributor

Closing this as duplicate

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

2 participants