Bug #65249
closedpeering_graph.generated.dot renders weird
0%
Description
The Sample State model graph (peering_graph.generated.dot) in doc/dev/peering.rst is not rendering properly. This was brought to my attention at the end of March 2024 by Laura Flores.
https://docs.ceph.com/en/latest/dev/peering/#generate-a-state-model
Updated by Zac Dover 10 days ago
- Status changed from In Progress to Resolved
I used these instructions to build an SVG file of the peering graph:
$ git clone https://github.com/ceph/ceph.git
$ cd ceph
$ cat src/osd/PeeringState.h src/osd/PeeringState.cc | doc/scripts/gen_state_diagram.py > doc/dev/peering_graph.generated.dot
$ sed -i 's/7,7/1080,1080/' doc/dev/peering_graph.generated.dot
$ dot -Tsvg doc/dev/peering_graph.generated.dot > doc/dev/peering_graph.generated.svg
Then I replaced the ".. graphviz" directive with an ".. image" directive that took the generated file as an argument.
I'll pay the cost of keeping this image manually updated.