Skip to content

Use "drawio.png" editable PNGs as recommended diagram format #66597

@mkschreder

Description

@mkschreder

Is your enhancement proposal related to a problem? Please describe.
When it comes to diagrams in sphinx documentation, it is often convenient to be able to edit them without having to convert between file types. It would be a good enhancement I think to standardize the format around the editable PNG with drawio information attached in the file.

Describe the solution you'd like
That a new convention is introduced to use drawio editable png as the main diagram format that will replace svgs and any other formats currently used in Zephyr documentation to represent more complex diagrams.

Describe alternatives you've considered
A lot of alternatives exist but editable pngs are the most convenient of all. these images look like pngs to any existing tools but also contain raw diagram data that can be edited with drawio and then saved. They work in merge requests and they are easier to work with than for example svgs. Editable pngs are extremely versatile.

Additional context
I think the main reason they are not used more is because people are not aware that the format exists.

One huge drawback about not having this standardized is that we get massive amounts of PNGs and other formats that are impossible to maintain because they don't come with source document of the diagrams. Like for example the diagrams in the bluetooth folder which all seem to be conventional pngs: https://github.com/zephyrproject-rtos/zephyr/tree/main/doc/connectivity/bluetooth/img (Correct me if I'm wrong, but I was neither able to find a source document for many of these images, nor edit them in drawio).

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions