Generate PlantUML Server URL
plantuml_URL(
plantuml = "@startuml\nBob -> Alice : hello\n@enduml",
server_url = getPlantumlOption("server_url"),
server_port = getPlantumlOption("server_port"),
type = "svg",
open_in_browser = FALSE
)
The plantuml code.
If NULL
, only the base URL consisting of server and (if specified) port will be returned.
The base url of the server. Should end with a single /
If NULL
, encoding, including the ttpe, will be returned.
port on which the plantuml server is
the type of the returned figure. At the moment supported:
png
, svg
txt
, or map
. See https://plantuml.com/server for further details.
If NULL
, encoding, excluding the tytpe, will be returned.
The return value is invalid if server_url
is given!
if TRUE, the result will be opened in the browser.
complete url to retrieve the graph.