Skip to content

Commit

Permalink
docs: mention pydot resolution settings (#514)
Browse files Browse the repository at this point in the history
* docs: mention pydot resolution settings


---------

Co-authored-by: Albert Latham <[email protected]>
  • Loading branch information
comalice and Albert Latham authored Jan 14, 2025
1 parent 4449a9c commit 9954890
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions docs/diagram.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,18 @@ As this one:
![OrderControl](images/order_control_machine_initial.png)


If you find the resolution of the image lacking, you can

```py
>>> dot.set_dpi(300)

>>> dot.write_png("docs/images/order_control_machine_initial_300dpi.png")

```

![OrderControl](images/order_control_machine_initial_300dpi.png)


The current {ref}`state` is also highlighted:

``` py
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 9954890

Please sign in to comment.