Skip to content

Generic types in UML class diagram #51

@aubertc

Description

@aubertc

There is an issue discussed at mermaid-js/mermaid-cli#112 (comment) that affects e.g. this diagram:

class IComparable~Shape~{
<<Interface>>
+CompareTo(arg : Shape) int*
}

except that for some reason, the generic type is not just displayed (not even improperly formatted, just not displayed):

https://princomp.github.io/lectures/oop/interface#a-more-complicated-example

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions