UmlClassMethod

23 Sep 20251 minute to read

Defines the behavior of the uml class method

Properties

isSeparator boolean

Defines the separator of the attributes

Defaults to false

name string

Defines the name of the attributes

Defaults to ’’

parameters MethodArgumentsModel[]

Defines the type of the arguments

Defaults to ’’

scope UmlScope

Defines the type of the attributes

Defaults to ‘Public’

separatorStyle ShapeStyleModel

Specify the style attributes such as strokeWidth, strokeColor, and fill for the separator.

Defaults to new ShapeStyle()

style ShapeStyleModel|TextStyleModel

Sets the shape style of the node

Defaults to new ShapeStyle()

type string

Defines the type of the attributes

Defaults to ’’