Stereotype

public struct Stereotype : Codable

you can define your own spot for a entity when you define the stereotype, adding a single character and a color. For further info see https://plantuml.com/class-diagram#4b62dd14f1d33739

  • displayed as << name >> in diagram

    Declaration

    Swift

    public var name: String?
  • spotted character with background color

    Declaration

    Swift

    public var spot: Spot
  • default spot for classes

    Declaration

    Swift

    public private(set) static var `class`: Stereotype { get }
  • default spot for structs

    Declaration

    Swift

    public private(set) static var `struct`: Stereotype { get }
  • default spot for extensions

    Declaration

    Swift

    public private(set) static var `extension`: Stereotype { get }
  • default spot for enums

    Declaration

    Swift

    public private(set) static var `enum`: Stereotype { get }
  • default spot for protocols

    Declaration

    Swift

    public private(set) static var `protocol`: Stereotype { get }