I actually like Mermaid’s text-based approach a lot and wouldn’t want to replace it with a visual editor.
Where I do see room for improvement is the rendering quality. A lot of diagrams end up looking a bit rough, especially with arrow routing and layout, which can feel somewhat arbitrary.
Better layout/rendering would probably add more value (for me at least) than improving the editing experience.