gemseo / utils

xdsm_to_pdf module

Provide routines for XDSM and tikz.

Classes:

XDSMToPDFConverter()

Convert an XDSM to a PDF file with tikz and latex.

Functions:

xdsm_data_to_pdf(xdsm_data, directory_path)

Convert a dictionary representation of a XDSM to a pdf.

class gemseo.utils.xdsm_to_pdf.XDSMToPDFConverter[source]

Bases: object

Convert an XDSM to a PDF file with tikz and latex.

Methods:

convert(xdsm_data, directory_path, ...)

Convert a dictionary representation of a XDSM into a pdf.

convert(xdsm_data, directory_path, filename_without_ext, scenario)[source]

Convert a dictionary representation of a XDSM into a pdf.

Parameters
  • xdsm_data – XDSM dictionary representation.

  • directory_path (str) – output directory.

  • filename_without_ext (str) – output file name, default is ‘xdsm’.

  • scenario (str) – scenario name, default is ‘root’.

  • quiet (bool) – set to True to suppress output from pdflatex.

gemseo.utils.xdsm_to_pdf.xdsm_data_to_pdf(xdsm_data, directory_path, filename_without_ext='xdsm', scenario='root')[source]

Convert a dictionary representation of a XDSM to a pdf.

Parameters
  • xdsm_data – XDSM dictionary representation.

  • directory_path (str) – output directory.

  • filename_without_ext (str) –

    output file name, default is ‘xdsm’.

    By default it is set to xdsm.

  • scenario (str) –

    scenario name, default is ‘root’.

    By default it is set to root.