kroki
kroki copied to clipboard
BPMN to Ascii Art (Ascii art more generally)
Good morning Sirs,
A project maintainer said that Kroki may already have support for BPMN diagramme as ascii art and therefore does not need to be implemented in bpmn-js. Kindly do the needful and revert back to me as to whether this is possible. I cannot find this feature in kroki documentation. (https://github.com/bpmn-io/bpmn-js/issues/1856#issuecomment-1453824175)
Our team does not use a gui and tries to avoid needing support for image viewing is the need for this feature
Hello!
As far as I know, only PlantUML can export a diagram to text ASCII. If you are using BPMN.js to describe your business process, it's probably easier to export to an image and then use a library to convert this image to ASCII art.
For instance, you could use: https://github.com/TheZoraiz/ascii-image-converter (disclaimer: never used it)
Technically, we could add this feature in Kroki (if there's a high demand for it) to support /txt
on any diagram library but in my opinion it's better to follow the unix philosophy: "write programs that do one thing and do it well".