Since Penpot allows repositioning, it may help with the problem of “I don’t like where Mermaid put the boxes”.
On the other hand, perhaps something like GitHub - reladraw/reladraw · GitHub (why?) would make for a better starting point for those wanting to tweak. In particular, those diagrams might require less arrow re-routingwhen moving boxes around.
Once the infrastructure input box, previw, update, “export”) is there thanks to @elenatorro, offering other diagram layout engines suddenly seems much more approachable!