mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-26 18:59:42 +02:00
Add support for abstract methods
Added logic to allow rendering of a method name with italics or underline based on modifier at beginning of name to set css style
This commit is contained in:
@@ -155,9 +155,9 @@ To specify the visibility of a class member (i.e. any attribute or method), thes
|
||||
- `#` Protected
|
||||
- `~` Package
|
||||
|
||||
>_note_ you can also add additional _classifers_ to a method definition using the following notations (similar to visibliity above):
|
||||
> - `|` Abstract e.g.: `|someAbstractMethod()`
|
||||
> - `$` Static e.g.: `$someStaticMethod()`
|
||||
>_note_ you can also include additional _classifers_ to a method definition by adding the following notations to the end of the method, i.e.: after the `()`:
|
||||
> - `*` Abstract e.g.: `someAbstractMethod()*`
|
||||
> - `$` Static e.g.: `someStaticMethod()$`
|
||||
|
||||
|
||||
## Defining Relationship
|
||||
|
Reference in New Issue
Block a user