PlantUMLScript

public struct PlantUMLScript

Swift type representing a PlantUML script (@startuml … @enduml)

  • textual representation of the script (@startuml … @enduml)

    Declaration

    Swift

    public private(set) var text: String { get }
  • encodes diagram text description according to PlantUML. See https://plantuml.com/en/text-encoding for more information.

    1. Encoded in UTF-8
    2. Compressed using Deflate algorithm
    3. Reencoded in ASCII using a transformation close to base64

    Declaration

    Swift

    public func encodeText() -> String

    Return Value

    encoded diagram text description