PlantUML

The PlantUML client module.

confirm.tools.plantuml.create_plantuml_diagram(input_file, output_format='png', server='https://plantuml.confirm.ch')

This function can be used to create PlantUML diagram via our PlantUML server, so that PlantUML must not be installed locally.

Parameters
  • input_file (file object) – The input file

  • output_format (str) – The image format [png, svg, txt]

  • server (str) – The PlantUML server URL

Returns

The output file

Return type

file object