Skip to content

Class diagram: Multiple stereotype annotations NOT rendered #6680

@stechio

Description

@stechio

Description

Despite what was elaborated in the original feature proposal (#963), if a class is annotated with multiple stereotypes, only the first one is rendered.

Oddly, the comment to the corresponding pull request (#973) omitted to cite the multiple stereotype case, despite being a key point of the proposal 🤔 — I cannot understand such discrepancy... maybe during the development process the idea of multiple stereotypes was silently dropped, or just overlooked...? @klemmchr, could you please clarify?

Steps to reproduce

For example, define a class diagram like this (code sample from the original feature proposal):

classDiagram
class MyInterface {
<<interface>>
<<injected>>
}

Screenshots

Image

(this screenshot is from "Live Editor - Develop" using the provided code sample — its link is herein attached)

Code Sample

see at Live Editor - Develop

Setup

  • Mermaid version: v11.7.0+e7970c6
  • Browser and Version: Firefox 139.0.4

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions