Is there a dialplan or menu chart markup language?

For those of us who have eschewed the GUI based route and have gone straight to “pure Asterisk” via AEL or extensions.conf, does anyone know of a charting language for menus?

It doesn’t have to be Asterisk specific even, but just as you can turn text into SML diagrams, or make organisational charts or venn diagrams in Google Sheets, is there a recommended way of describing a menu structure in text?

Right now, I’m just doing the basics by trying out LucidChart and draw.io, but these require manual changes.

Yes, I realise of course that there’s nothing that will convert my dialplan DIRECTLY to a chart, but … am I making any sense at all here?!