gemseo /
utilsHide inherited members
xdsm_to_pdf module
Provide routines for XDSM and tikz.
-
class gemseo.utils.xdsm_to_pdf.XDSMToPDFConverter[source]
Bases: object
Convert an XDSM to a PDF file with tikz and latex.
-
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.
- Return type:
None
-
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”.
- Return type:
None