Rather than diagrams as code what does code as diagrams offer?
Code as Diagrams — What’s the Point?
Living Documentation — Part 3
You often hear the phrase “diagrams as code” referring to using a text editor to write some code that can be parsed to create a diagram rather than using a graphical editor and UI to create a diagram. If however, you parse real source code to create a diagram then you are reverse engineering it. So what value does “code as diagrams” give us as engineers?