DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Newsletter
Log In / Join
Refcards Trend Reports
Events Video Library
Refcards
Trend Reports

Events

View Events Video Library

Related

  • How Open Source Builds the Soft Skills Technical Leaders Need
  • You Learned AI. So Why Are You Still Not Getting Hired?
  • Managing Changing Hardware/Peripherals in a Robust Point of Sale System
  • Strategic Domain-Driven Design: The Forgotten Foundation of Great Software

Trending

  • Building a Real Pipeline With senro: Monorepos, Caching, and Triggers
  • AI Agents Need an Identity Plane: Rethinking Enterprise Authorization for Autonomous Software
  • Beyond @Transactional: Solving the Dual-Write Problem in Distributed Microservices
  • Beyond the Wall of Charts: How Advanced Observability Displaced the Telemetry Dashboard

Draft This article hasn't been published, so readers can't see it.

In moderation This article is waiting for review, so readers can't see it yet.

Deleted This article has been deleted, so readers can't see it.

  1. DZone
  2. Data Engineering
  3. Data
  4. Diff'ing Software Architecture Diagrams

Diff'ing Software Architecture Diagrams

By 
Simon Brown user avatar
Simon Brown
·
Jun. 19, 15 · Interview
Post on X (opens in a new tab) Share on LinkedIn (opens in a new tab)
1.5K Views

Join the DZone community Save articles, join the discussion, and download Refcards and Trend Reports with a free account.

Join for free Already a member? Log in

robert annett wrote a post titled diagrams for system evolution where he describes a simple approach to showing how to visually describe changes to a software architecture. in essence, in order to show how a system is to change, he'll draw different versions of the same diagram and use colour-coding to highlight the elements/relationships that will be added, removed or modified.

i've typically used a similar approach for describing as-is and to-be architectures in the past too. it's a technique that works well. although you can version control diagrams, it's still tricky to diff them using a tool. one solution that addresses this problem is to not create diagrams, but instead create a textual description of your software architecture model that is then subsequently rendered with some tooling. you could do this with an architecture description language (such as darwin ) although i would much rather use my regular programming language instead.

creating a software architecture model as code

this is exactly what structurizr is designed to do. i've recreated robert's diagrams with structurizr as follows.

before “after"

before “after"

and since the diagrams were created by a model described as java code , that description can be diff'ed using your regular toolchain.

the diff between the two model versions

code provides opportunities

this perhaps isn't as obvious as robert's visual approach, and i would likely still highlight the actual differences on diagrams using notation as robert did too. creating a textual description of a software architecture model does provide some interesting opportunities though.

Software architecture Diagram

Opinions expressed by DZone contributors are their own.

Related

  • How Open Source Builds the Soft Skills Technical Leaders Need
  • You Learned AI. So Why Are You Still Not Getting Hired?
  • Managing Changing Hardware/Peripherals in a Robust Point of Sale System
  • Strategic Domain-Driven Design: The Forgotten Foundation of Great Software

Partner Resources

×

Comments

Likes

Loading

The next likes didn't load. Please try again.

The likes didn't load

Please try again in a moment.

See who liked this

Log in or join DZone for free to see who liked this article.

Log in Join for free
  • RSS
  • X
  • Facebook

ABOUT US

  • About DZone
  • Support and feedback
  • Community research

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Core Program
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 215
  • Nashville, TN 37211
  • [email protected]

Let's be friends:

  • RSS
  • X
  • Facebook