Mermaid: Comments don't work on class diagrams

Created on 18 Nov 2019  路  6Comments  路  Source: mermaid-js/mermaid

This does not work.
This does work.

Original issue with the implementation of comments: here.

Class Retained Approved Bug / Error

Most helpful comment

Im working on this one :)

All 6 comments

Interestingly - if you remove the %% before the comment, it does work (meaning, the diagram renders, and the text does not display)
@lukewlms

See here

@jgreywolf Interesting workaround! I'm not confident that will continue to work long-term though. For now we're checking comments into code at the top, but not pasting them in when we render. Would be convenient to be able to intersperse comments where appropriate as spec'd.

I think, assuming it's feasible, all graphs should share the comment syntax.

Im working on this one :)

I should say, I have started looking at this one. Still trying to wrap my head around the logic flow within Jison, and how things are actually being parsed. Porting functionality from flowcharts, but doesnt appear to be an easy mapping :)

Deleted - please disregard this message, that is no longer here...

Was this page helpful?
0 / 5 - 0 ratings