question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

classDiagram breaks on any edit

See original GitHub issue

I am using Mermaid via VSCode-Markdown-Preview-Enhanced, and I noticed today that my classDiagrams are broken. I figured it was their problem, but testing on the Mermaid Live Editor I have similar problems.

In the editor paste any simple class diagram (e.g. the ReadMe example) and it will probably render fine, but preform any edit and the graph becomes unrecoverable broken.

The most common error I’m getting is TypeError: Cannot read property 'x' of undefined, but in the Live Editor I’m also getting s.node(...) is undefined.

I’m pushing my coworkers to use Markdown for internal documentation, and the classDiagram has been really handy. I hope someone is maintaining it now (it was abandoned last time I checked).

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:8 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
knsvcommented, Jun 25, 2019

The fix for this was included in release 8.1.0. I am closing this for now. Reopen if there still is a problem.

0reactions
rajasekaran2003commented, Jun 24, 2019

Thanks !!

On Mon, Jun 24, 2019 at 10:13 AM Knut Sveidqvist notifications@github.com wrote:

The issue is fixed and I am planning a release the coming days, rc-9

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/knsv/mermaid/issues/858?email_source=notifications&email_token=AAKJPFNRGJYQOWW4IU4YZCDP4D6DHA5CNFSM4HYBG2EKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYNTGNQ#issuecomment-505099062, or mute the thread https://github.com/notifications/unsubscribe-auth/AAKJPFOJPBX6HCT7KMUITV3P4D6DHANCNFSM4HYBG2EA .

With regards,

Raja

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to improve this class diagram of a system with its ...
I know what a class diagram is and the concepts behind one. The requirement is that the bike can brake, turn or speed...
Read more >
Customize class diagrams - Visual Studio - Microsoft Learn
You can change the way that class diagrams display information. You can customize the whole diagram or the individual types on the design ......
Read more >
A UML Documentation for an Elevator System
After all, every class diagram is just a graphical presentation of the static design view of a system. No single class diagram can...
Read more >
UML Class Diagram Tutorial | Lucidchart
The Ultimate Guide to Class Diagrams in UML - Includes an overview of class diagrams in UML, benefits for using them, their basic...
Read more >
Free Class Diagram Tool - Visual Paradigm Online
FREE Online UML tool for Class Diagram and other UML Diagrams. ... The free UML editor comes with no ad, no limited period...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found