janus.converter.diagram#

Attributes#

log

Classes#

DiagramGenerator

A Converter that translates code into a set of PLANTUML diagrams.

Module Contents#

janus.converter.diagram.log#
class janus.converter.diagram.DiagramGenerator(diagram_type='Activity', add_documentation=False, extract_variables=False, output_type='diagram', **kwargs)#

Bases: janus.converter.document.Documenter

A Converter that translates code into a set of PLANTUML diagrams.

Initialize the DiagramGenerator class

Parameters:
  • diagram_type (str) – type of PLANTUML diagram to generate

  • add_documentation (bool) – Whether to add a documentation step prior to diagram generation.

  • extract_variables (bool) –

  • output_type (str) –