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` doesn't allow colons in class names

See original GitHub issue

I’m trying to use mermaid for creating an class diagram in a semantic web context. There, colons are needed for prefixes:

classDiagram
    class dcat:Dataset {
        <<mandatory>>
    }

_Also an issue for @persidskiy , see https://github.com/mermaid-js/mermaid/issues/1266#issuecomment-643793801_

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:5
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

5reactions
jgreywolfcommented, Oct 11, 2020

I will focus on this issue and see if I can make it work

3reactions
jgreywolfcommented, Feb 2, 2021

@mmngreco This issue should be resolved after #1877 PR has been merged…

Read more comments on GitHub >

github_iconTop Results From Across the Web

UML Class Diagram Tutorial - Visual Paradigm
A Comprehensive UML Class Diagram tutorial written for everyone who want to learn about Class Diagram. Read this UML guide and learn UML...
Read more >
Encapsulation - CIS 35A: Introduction to Java Programming
The methods of a class define the tasks that a class can perform. ... For each field, the name is given, followed by...
Read more >
Are these classes considered as boundary, or entity?
@John MIchael: The name of a class is a plain name string without any colon. You are probably confusing the notation for anonymous...
Read more >
UML Class Diagrams | Thinking About Visual Basic ... - InformIT
Figure 3.2 shows a class diagram with the class name Vehicle in the first compartment. The standard naming convention for class names is...
Read more >
A Visual Introduction to Using UML Sequence Diagrams for ...
The object on the right has two names separated by a colon (:). The name to the right of the colon, Logger, is...
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