Skip to main content

preCICE Config-Visualizer

The config-visualizer is a tool meant to help visualize and debug precice configuration xml files. This tool produces a dot file as output, which visualizes the various participants, communicators and meshes defined in the configuration file and the movement of data between them.

Installation options

Install directly from PyPi using pipx or via pip:

pipx install precice-config-visualizer

To also install the GUI, run:

pipx install 'precice-config-visualizer[gui]'

Usage

precice-config-visualizer --help
precice-config-visualizer [OPTIONS] [-o OUTFILE] [<CONFIG-FILE>]

The command line version of the tool transforms the XML configuration file into a dot graph and either outputs it to the terminal or writes it to a file. If the extension of the output file is .png, .pdf, .svg, or .jpg, then the tool will render the output using graghviz. The dot output is especially useful if the output needs to be altered for various reasons. To edit the dot version of the graph, displaying it using a dot viewer such as xdot can be helpful.

The tool reads from stdin if no configuration file is given as an argument and the output is printed to stdout if no output filename if specified using the -o option.

To generate graph.dot from precice-config.xml use:

precice-config-visualizer precice-config.xml > graph.dot
precice-config-visualizer -o graph.dot precice-config.xml

To generate an image from precice-config.xml use:

precice-config-visualizer -o graph.png precice-config.xml
precice-config-visualizer -o graph.pdf precice-config.xml
precice-config-visualizer -o graph.svg precice-config.xml

To modify the dot graph from precice-config.xml yourself use:

precice-config-visualizer precice-config.xml > graph.dot
# Edit graph.dot here
dot -Tpdf -o graph.pdf graph.dot

Further options can be used to control the output appearance. Some information can be turned off or merged. For a full list of options, run:

precice-config-visualizer --help

Licensing

The license was changed from GPLv3 to MIT in approval of all contributors at the point of change:

Contributor Approved when
Benjamin Rodenberg <benjamin.rodenberg@cit.tum.de> 23.06.2025 16:30 CET
Benjamin Uekermann <benjamin.uekermann@gmail.com 23.06.2025 16:59 CET
Frédéric Simonis <simonisfrederic@gmail.com 23.06.2025 17:56 CET
Gerasimos Chourdakis <makishourdakis@gmail.com 23.06.2025 16:53 CET
Keefe Huang <huangq1234553@gmail.com 23.06.2025 17:51 CET

Metadata

Release files for precice-config-visualizer 2.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for precice-config-visualizer 2.0.0
File Size Uploaded Provenance Actions
precice_config_visualizer-2.0.0.tar.gz 8.5 kB Without provenance Details for precice_config_visualizer-2.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for precice-config-visualizer 2.0.0
File Interpreter ABI Platform Actions
precice_config_visualizer-2.0.0-py3-none-any.whl Python 3 none any Details for precice_config_visualizer-2.0.0-py3-none-any.whl

Total release size: 17.6 kB

Release files / precice_config_visualizer-2.0.0.tar.gz

Download URL precice_config_visualizer-2.0.0.tar.gz
Size 8.5 kB
Tags Source
SHA-256 checksum
How to use checksums
a13e1b4e4e33588e0f37dc17fc24199242f2f1d6fde5d2a100a34bb24fb63e19
BLAKE2b-256 checksum
How to use checksums
dd406d7f09337963a6a741ab0bcebb1a9600267afc420891143b1ec2105742da
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.3

Release files / precice_config_visualizer-2.0.0-py3-none-any.whl

Download URL precice_config_visualizer-2.0.0-py3-none-any.whl
Size 9.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ae90a83b28d8110021c986696997a29cfc906df9ed65de1cc30a8274f44f267a
BLAKE2b-256 checksum
How to use checksums
ba50b3a00de35514482cc4f876cdfcb987c1c1e716b2a0295119eac5b9d3dc44
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.3

Security for precice-config-visualizer 2.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page