edgegraph.output.plantuml.render_to_plantuml_src

edgegraph.output.plantuml.render_to_plantuml_src#

edgegraph.output.plantuml.render_to_plantuml_src(uni, options)#

Render a universe to PlantUML source.

This function creates a PlantUML object diagram sourcecode to represent the given universe. Vertices are treated as objects, and a number of thematic options can be applied based on their types, attributes, and the supplied options.

See also

This function works smoothly with render_to_image().

Parameters:
  • uni (Universe) – The universe to render.

  • options (dict) – Rendering options and customizations.

Returns:

A (multi-line) string, representing PlantUML code.

Return type:

str