Open lgberro opened 10 months ago
Wouldn't it be better to have class accessors together with it's methods? That would make diagram easier to read.
class Accessors { _foo: string _bar: string get bar() { return this._bar } set bar(value) { this._bar = value } foo() { this._foo = 'foo' } }
@startuml class Accessors { +_foo: string +_bar: string +bar: string +bar: string +foo(): void } @enduml
@startuml class Accessors { +_foo: string +_bar: string +{method} get bar: string +{method} set bar: string +foo(): void } @enduml
Wouldn't it be better to have class accessors together with it's methods? That would make diagram easier to read.
current output
suggestion