Skip to main content

CI

Codecov

yMMSL plotting tool

A tool to visualise yMMSL files using graphviz and ymmsl-python.

Examples

Two examples are shown here, a simple one macro_micro, and a more complex one complex.

Default

Default options

Explicit ports, simple arrows, legend (-p -s -l)

More options

Usage (ymmsl graph --help)

Usage: ymmsl graph [OPTIONS] YMMSL_FILES...

  Plot a graphical representation of the passed yMMSL files.

  To help develop or understand about a coupled simulation it may be useful to
  view a graphical representation.

  If multiple yMMSL files are given, then they will be combined left to right,
  i.e. if there are conflicting declarations, the one from the file last given
  is used.

  Result:

    A graph is displayed or saved to disk, containing all the defined
    components and the connections between them.

  Examples:

    ymmsl graph simulation.ymmsl

Options:
  -o, --out FILE                  Output file (default ./output.format)
  -f, --fmt [canon|cmap|cmapx|cmapx_np|dia|dot|fig|gd|gd2|gif|hpgl|imap|imap_np|ismap|jpe|jpeg|jpg|mif|mp|pcl|pdf|pic|plain|plain-ext|png|ps|ps2|svg|svgz|vml|vmlz|vrml|vtx|wbmp|xdot|xlib]
                                  Set output format (default svg).
  -w, --viewer TEXT               Open with specified viewer (try xdg-open)
  -v, --verbose                   Show more info (prints the generated dot
                                  syntax)
  -p, --ports                     Explicitly draw component ports.
  -l, --legend                    Show a legend (only with --ports).
  -s, --simple-edges              Only indicate conduit direction, not port
                                  types.
  --portlabels                    Never simplify matching port labels along an
                                  edge.
  -h, --hide-edge-labels          Hide edge labels (as long as the input and
                                  output port match).
  --help                          Show this message and exit.

Issues and Discussions

As usual for any GitHub-based project, raise an issue if you find any bug or want to suggest an improvement, or open a discussion if you want to discuss.

Generated documentation

There is a docs/ folder containing sphinx documentation, but this has not yet been filled completely. Build it with

sphinx-build docs html

Metadata

Release files for ymmsl-dot 0.1.2

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

Source distribution (sdist)

Source distribution for ymmsl-dot 0.1.2
File Size Uploaded
ymmsl-dot-0.1.2.tar.gz 15.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ymmsl-dot 0.1.2
File Interpreter ABI Platform
ymmsl_dot-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 27.5 kB

Release files / ymmsl-dot-0.1.2.tar.gz

Download URL ymmsl-dot-0.1.2.tar.gz
Size 15.7 kB
Tags Source
SHA-256 checksum
How to use checksums
c87b089f611aa96bc8e17d959e38c4aab6ff1e528b6a628ff1a545b8f6344d4a
BLAKE2b-256 checksum
How to use checksums
f7beeb0f1a382ed8487a95f3e65ad5442535f44dc2a7ba359902cf91e160fcf3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.2

Release files / ymmsl_dot-0.1.2-py3-none-any.whl

Download URL ymmsl_dot-0.1.2-py3-none-any.whl
Size 11.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
543e64ccec17cb558f7bc543c24b68937b508aa110e9203c23be520bc9b91d7f
BLAKE2b-256 checksum
How to use checksums
7350947483ed0905eae5bb57368c5fb04aab178daf466421f461cf1f3cd73a92
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.2

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

0.1.1

2 release files

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