PlantUMLBrowserPresenter
public struct PlantUMLBrowserPresenter : PlantUMLPresenting
compress diagram into an URL and launch in browser (PlantText server).
-
format in which to present the script in the browser (default: editable script and corresponding diagram)
Declaration
Swift
public private(set) var format: BrowserPresentationFormat { get } -
default initializer
Declaration
Swift
public init(format: BrowserPresentationFormat = .default)Parameters
formatin which to present the script in the browser
-
present script / diagram to user
Declaration
Swift
public func present(script: PlantUMLScript, completionHandler: @escaping () -> Void)Parameters
scriptin PlantUML notation
completionHandlerwill be called when presentation was triggered
PlantUMLBrowserPresenter Structure Reference