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
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports
Events Video Library
Refcards
Trend Reports

Events

View Events Video Library

Related

  • 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
  • Beyond Code: How to Use AI to Modernize Software Architecture

Trending

  • Architecting Proactive IT: NinjaOne Remote Monitoring and Management
  • Persistent Memory for AI Agents Using LangChain's Deep Agents
  • 7 Technology Waves I’ve Seen in 30 Years of Software — Will AI Be the Next Real Transformation?
  • Metal and Skins
  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
Likes (0)
Comment
Save
Tweet
Share
1.4K Views

Join the DZone community and get the full member experience.

Join For Free

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

  • 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
  • Beyond Code: How to Use AI to Modernize Software Architecture

Partner Resources

×

Comments

The likes didn't load as expected. Please refresh the page and try again.

  • 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