They're generated from source code using a combination of static analysis + llm analysis. They're not editable per se, but you can update them when you edit your code.
I think you found a very good prompt/technique to extract mostly the high level stuff without making the diagrams too complicated. And then elk.js seems to do the layout.
Deepwiki.com also has some usable autogenerated architecture diagrams worth a look.