1 Diagrams as code 2 represents a modeling-based approach where a centralized model defines elements and relationships, and multiple diagrams are rendered as views from that model.
“you're really crafting up a lightweight model of elements and relationships and you're defining a bunch of views which will be rendered as diagrams that you want to see”